Template:IMDb name/doc: Difference between revisions
meta>ThomasPusch No edit summary |
meta>Thumperward clean this up |
||
Line 4: | Line 4: | ||
YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT | YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT | ||
--> | --> | ||
This is a template to generate links to [[Internet Movie Database]] | This is a template to generate links to actors on the [[Internet Movie Database]]. | ||
=== Usage === | |||
=== | |||
The required parameter is just the ID number and the template then uses the article title as the [[anchor text]]: | The required parameter is just the ID number and the template then uses the article title as the [[anchor text]]: | ||
Line 26: | Line 21: | ||
Note that the options include the "<tt>*</tt>" for a bulleted list since this is most likely to be used in an "External links" section. | Note that the options include the "<tt>*</tt>" for a bulleted list since this is most likely to be used in an "External links" section. | ||
== Detailed instructions == | === Detailed instructions === | ||
# Copy and paste one of the options above into the article | # Copy and paste one of the options above into the article | ||
Line 45: | Line 40: | ||
If you still have any doubts or questions about the use of the template, you can ask at [[User talk:Kieff]]. | If you still have any doubts or questions about the use of the template, you can ask at [[User talk:Kieff]]. | ||
== See also == | === Other IMDB templates === | ||
* {{tl|imdb title}} to link a movie. | |||
* {{tl|imdb episode}} to link a tv episode. | |||
* {{tl|imdb company}} to link a company. | |||
* {{tl|imdb character}} to link a character. | |||
=== See also === | |||
* {{tl|tv.com}} | * {{tl|tv.com}} | ||
* {{tl|thetvdb}} | * {{tl|thetvdb}} |
Revision as of 10:37, 11 July 2009
This is a documentation subpage for Template:IMDb name. It may contain usage information, categories and other content that is not part of the original template page. |
This is a template to generate links to actors on the Internet Movie Database.
Usage
The required parameter is just the ID number and the template then uses the article title as the anchor text:
* {{imdb name|ID}}
To have the link text be other than the article name, use second parameter:
* {{imdb name|ID|Name}}
This can be used when the Wikipedia page name contains disambiguation brackets; for example at the page John Smith (actor) use {{imdb name|0808774|John Smith}} to have "Template:Imdb name" rather than "Template:Imdb name". This is also necessary should you need to add an IMDb link to an article about somebody or something other than the linked person (for example, if you include the IMDb link for Bette Davis in the Joan Crawford article, you must specify Bette Davis's name as the text for the link using this option).
Note that the options include the "*" for a bulleted list since this is most likely to be used in an "External links" section.
Detailed instructions
- Copy and paste one of the options above into the article
- Go to http://www.imdb.com and search for the person you want (say, Helen Slayton-Hughes; you'll reach
http://www.imdb.com/find?s=all&q=Helen+Slayton-Hughes
) - Click on the correct Helen Slayton-Hughes in the list:
Helen Slayton-Hughes(Actress, Good Night and Good Luck. (2005))
- You then reach the page with URL looking like http://www.imdb.com/name/nm0805658/ (or other 7-digit number)
- Copy only that number (here, "
0805658
"), omitting the "nm
" but keep all the leading zeros (though IMDB currently seems to be able to add them as needed) - Replace "ID" in the template code with the number
- For the first option above, you'll then have
- * {{imdb name|0805658}} resulting in:
- Note that the link text is the same as the title of the page the template is used on; outside the page "Helen Slayton-Hughes", use the second option:
- Replace "ID" with the number and "Name" with "Helen Slayton-Hughes"
- * {{imdb name|0805658|Helen Slayton-Hughes}} results in:
- For the first option above, you'll then have
If you still have any doubts or questions about the use of the template, you can ask at User talk:Kieff.
Other IMDB templates
- {{imdb title}} to link a movie.
- {{imdb episode}} to link a tv episode.
- {{imdb company}} to link a company.
- {{imdb character}} to link a character.
See also