Difference between revisions of "Template:Imdb title/doc"

From Chevy Wiki
Jump to navigation Jump to search
(uploaded "Image:55Chevysuburban.jpg": Importing image file)
m (1 revision)
 
Line 1: Line 1:
{{Documentation subpage}}
{{documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
<!--  
    PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE
    YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT
-->
This is a template to generate links to [[Internet Movie Database]]. This template '''should be used exclusively for ''TITLES''''', that is, of movies, TV series, games, etc.


This is the {{tl|intricate template}} message box.
:To link a person (actor, actress, etc.), use {{tl|imdb name}} instead.
:To link a tv episode, use {{tl|imdb episode}} instead.
:To link a company, use {{tl|imdb company}} instead.
:To link a character, use {{tl|imdb character}} instead.


{{tl|intricate}} redirects here and can be used as alternative name for this template.
== Instructions ==


Actually, ''this'' template's syntax is relatively simple.
# Search on [http://www.imdb.com imdb.com] for the title you want. On the Wikipedia page of the film concerned this can often be done conveniently with the link produced by previewing <nowiki>{{imdb title}}</nowiki>. This may not work if the page title is more than just the film title.
# Click on the correct link to go to the movie's page (or whatever you're looking for). Be sure you're getting on the correct title page.
# The page [[URL]] should look like <nowiki>http://www.imdb.com/title/tt#######</nowiki>, where "#######" indicates a number.
# Copy ONLY that number (be sure to remove the "tt"<ref>The leading zeros are not needed but recommended, for Linksearch uniformity is useful.</ref>)
# Add to the external links section the text:
:<nowiki>{{imdb title|#######|Title}}</nowiki>
:where "#######" is the number you've copied, and "Title" is the title of the movie or show.
# (Optional) If you want to add an additional description to distinguish this film/show from another that may be on the same page with the same name, use the following text:
:<nowiki>{{imdb title|#######|Title|Description}}</nowiki>
:where "#######" is the number you've copied, "Title" is the title of the movie or show, and "Description" is the description of the show, in parentheses.


This template can be put at the top of the documentation for any templates that are intricate, i.e., complex, using less obvious techniques, [[wikt:esoteric|esoteric]] syntax, combining different techniques, used as parameter for other templates, built to function for a variety of calling instances, etc.
==Example==


This template adds templates to [[:Category:Intricate templates]].
#On the page [[Alpha Dog]], preview <nowiki>{{imdb title}}</nowiki> and search using the link [http://www.imdb.com/find?q=Alpha+Dog/;tt=on ''Alpha Dog''] produced. You'll get to this page: http://www.imdb.com/title/tt0426883/
#Copy "0426883" and then add this number as parameter:
::<nowiki>{{imdb title|0426883}}</nowiki>
The result on the page Alpha Dog is:
::{{imdb title|0426883|Alpha Dog}}.


=== Usage ===
Typically this is a list item in the external links section (even if there is only one link), so you should add "*" in front.


When this template is placed on a template's /doc page it can be nice to put it within <code>&lt;includeonly></code> tags so it only gets visible on the template page. The full code for a /doc page top then can look like this:
==2nd example==


<pre>
#Searching for the 1993 remake of the TV series "Route 66", you'll get to this page: http://www.imdb.com/title/tt0106117/
{{Documentation subpage}}
#Copy "0106117" and then write:
<includeonly>{{intricate template}}</includeonly>
:<nowiki>{{imdb title|0106117|Route 66|(1993)}}</nowiki>
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
The result is {{imdb title|0106117|Route 66|(1993)}}
</pre>


=== See also ===
==Linksearch==
For a given link target (or first part of that) the pages from where there are links are found by a link like:


* {{tl|high-use}} – This template can be put in the documentation for any high-use template.
http://en.wikipedia.org/w/index.php?title=Special:Linksearch&target=http%3A%2F%2Fwww.imdb.com%2Ftitle%2Ftt0426
 
==Note==
<references/>


<includeonly>
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
[[Category:Template namespace templates|{{PAGENAME}}]]
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. -->
<!-- ADD INTERWIKIS BELOW THIS LINE -->
 
[[bg:Шаблон:Esoteric]]
[[Category:Film external link templates|{{PAGENAME}}]]
[[cs:Šablona:Esoteric]]
[[Category:Television external link templates|{{PAGENAME}}]]
[[da:Skabelon:Komplicert skabelon]]
 
[[es:Plantilla:Esotérica]]
<!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. -->
[[eo:Ŝablono:Esotera]]
 
[[fr:Modèle:Ésotérique]]
[[ar:قالب:Imdb title]]
[[ia:Patrono:Esoteric]]
[[bg:Шаблон:Imdb title]]
[[ja:Template:複雑なテンプレート]]
[[br:Patrom:IMDb Titl]]
[[ka:თარგი:Esoteric]]
[[da:Skabelon:Imdb titel]]
[[ko::복잡]]
[[de:Vorlage:IMDb Titel]]
[[mk:Шаблон:Сложен шаблон]]
[[el:Πρότυπο:Imdb]]
[[no:Mal:Komplisert mal]]
[[es:Plantilla:Imdb título]]
[[pt:Predefinição:Predefinições complexas]]
[[fi:Malline:IMDb]]
[[ro:Format:Ezoteric]]
[[fr:Modèle:Imdb title]]
[[ru:Шаблон:Эзотерика]]
[[he:תבנית:Imdb title]]
[[sl:Predloga:Esoteric]]
[[hr:Template:Imdb title]]
[[sv:Mall:Komplicerad kod]]
[[id:Templat:imdb judul]]
[[uk:Шаблон:Esoteric]]
[[it:Template:Imdb]]
[[ur:سانچہ:مخفی]]
[[ja:Template:Imdb title]]
[[wuu:Template:Esoteric]]
[[ko:Template:IMDb 영화]]
[[zh:Template:Esoteric]]
[[nl:Sjabloon:IMDb titel]]
[[zh-classical:Template:Esoteric]]
[[no:Mal:Imdb tittel]]
[[zh-yue:Template:祕技]]
[[pl:Szablon:Imdb title]]
[[ro:Format:Titlu IMDb]]
[[ru:Шаблон:Imdb title]]
[[simple:Template:Imdb title]]
[[sk:Template:Imdb title]]
[[th:Template:Imdb title]]
[[vi:Tiêu bản:Imdb title]]
[[wuu:Template:Imdb title]]
[[zh:Template:Imdb title]]
 
</includeonly>
</includeonly>

Latest revision as of 15:12, 3 February 2009

This is a template to generate links to Internet Movie Database. This template should be used exclusively for TITLES, that is, of movies, TV series, games, etc.

To link a person (actor, actress, etc.), use {{imdb name}} instead.
To link a tv episode, use {{imdb episode}} instead.
To link a company, use {{imdb company}} instead.
To link a character, use {{imdb character}} instead.

Instructions

  1. Search on imdb.com for the title you want. On the Wikipedia page of the film concerned this can often be done conveniently with the link produced by previewing {{imdb title}}. This may not work if the page title is more than just the film title.
  2. Click on the correct link to go to the movie's page (or whatever you're looking for). Be sure you're getting on the correct title page.
  3. The page URL should look like http://www.imdb.com/title/tt#######, where "#######" indicates a number.
  4. Copy ONLY that number (be sure to remove the "tt"[1])
  5. Add to the external links section the text:
{{imdb title|#######|Title}}
where "#######" is the number you've copied, and "Title" is the title of the movie or show.
  1. (Optional) If you want to add an additional description to distinguish this film/show from another that may be on the same page with the same name, use the following text:
{{imdb title|#######|Title|Description}}
where "#######" is the number you've copied, "Title" is the title of the movie or show, and "Description" is the description of the show, in parentheses.

Example

  1. On the page Alpha Dog, preview {{imdb title}} and search using the link Alpha Dog produced. You'll get to this page: http://www.imdb.com/title/tt0426883/
  2. Copy "0426883" and then add this number as parameter:
{{imdb title|0426883}}

The result on the page Alpha Dog is:

Alpha Dog at the Internet Movie Database.

Typically this is a list item in the external links section (even if there is only one link), so you should add "*" in front.

2nd example

  1. Searching for the 1993 remake of the TV series "Route 66", you'll get to this page: http://www.imdb.com/title/tt0106117/
  2. Copy "0106117" and then write:
{{imdb title|0106117|Route 66|(1993)}}

The result is Route 66 (1993) at the Internet Movie Database

Linksearch

For a given link target (or first part of that) the pages from where there are links are found by a link like:

http://en.wikipedia.org/w/index.php?title=Special:Linksearch&target=http%3A%2F%2Fwww.imdb.com%2Ftitle%2Ftt0426

Note

  1. The leading zeros are not needed but recommended, for Linksearch uniformity is useful.