Template:IMDb name/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Anthony Appleyard
m moved Template:IMDB name/doc to Template:IMDb name/doc: Requested at Wikipedia:Requested moves as uncontroversial (http://en.wikipedia.org/w/index.php?title=Wikipedia:Requested_moves&oldid=386440094#movereq-Template:IMDB_name)&wpMovetalk=1
meta>Nicolas Love
IMDB -> IMDb
Line 6: Line 6:
This is a template to generate links to [[Internet Movie Database]], '''used exclusively for ''NAMES'''''.
This is a template to generate links to [[Internet Movie Database]], '''used exclusively for ''NAMES'''''.


:To link a movie, use {{Tl|IMDB title}} instead.
:To link a movie, use {{Tl|IMDb title}} instead.
:To link a person (actor, actress, etc.), use {{tl|IMDB name}} instead.
: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 tv episode, use {{Tl|IMDb episode}} instead.
:To link a character, use {{Tl|IMDB character}} instead.
:To link a character, use {{Tl|IMDb character}} instead.
:To link a biography, use {{Tl|IMDB biography}} instead.
:To link a biography, use {{Tl|IMDb biography}} instead.


=== Usage ===
===Usage===
The '''required''' parameter is the ID number. The template then uses the article title as the [[anchor text]]:
The '''required''' parameter is the ID number. The template then uses the article title as the [[anchor text]]:
<pre>
<pre>
* {{IMDB name|ID}}
* {{IMDb name|ID}}
</pre>
</pre>
To have the link text be other than the article name, use second parameter:
To have the link text be other than the article name, use second parameter:
<pre>
<pre>
* {{IMDB name|ID|Name}}
* {{IMDb name|ID|Name}}
</pre>
</pre>


This can be used when the Wikipedia page name contains disambiguation brackets; for example at the page [[John Smith (actor)]] use <nowiki>{{</nowiki>IMDB&nbsp;name|0808774|John Smith}} to have "{{IMDB name|0808774|John Smith}}" rather than "{{IMDB name|0808774|John Smith (actor)}}". 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).
This can be used when the Wikipedia page name contains disambiguation brackets; for example at the page [[John Smith (actor)]] use <nowiki>{{IMDb name|0808774|John Smith}}</nowiki> to have "{{IMDb name|0808774|John Smith}}" rather than "{{IMDb name|0808774|John Smith (actor)}}". 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 "<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
# Go to http://www.imdb.com and search for the person you want (say, Helen Slayton-Hughes; you'll reach <code>http://www.imdb.com/find?s=all&q=Helen+Slayton-Hughes</code>)
# Go to http://www.imdb.com and search for the person you want (say, Helen Slayton-Hughes; you'll reach <code>http://www.imdb.com/find?s=all&q=Helen+Slayton-Hughes</code>)
Line 32: Line 32:
## <code>[http://www.imdb.com/name/nm0805658/ Helen Slayton-Hughes](Actress, [http://www.imdb.com/title/tt0433383/ Good Night and Good Luck.] (2005))</code>  
## <code>[http://www.imdb.com/name/nm0805658/ Helen Slayton-Hughes](Actress, [http://www.imdb.com/title/tt0433383/ Good Night and Good Luck.] (2005))</code>  
# You then reach the page with [[URL]] looking like <tt>http://www.imdb.com/name/nm0805658/</tt> (or other 7-digit number)
# You then reach the page with [[URL]] looking like <tt>http://www.imdb.com/name/nm0805658/</tt> (or other 7-digit number)
# Copy '''only''' that number (here, "<code>0805658</code>"), omitting the "<code>nm</code>" but keep all the leading zeros (though IMDB currently seems to be able to add them as needed)
# Copy '''only''' that number (here, "<code>0805658</code>"), omitting the "<code>nm</code>" but keep all the leading zeros (though IMDb currently seems to be able to add them as needed)
# Replace "<tt>ID</tt>" in the template code with the number
# Replace "<tt>ID</tt>" in the template code with the number
## For the first option above, you'll then have
## For the first option above, you'll then have
##: <tt><nowiki>* {{IMDB name|0805658}}</nowiki></tt> resulting in:
##: <tt><nowiki>* {{IMDb name|0805658}}</nowiki></tt> resulting in:
##* {{IMDB name|0805658}}
##* {{IMDb name|0805658}}
##: 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:
##: 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 "<tt>ID</tt>" with the number ''and'' "<tt>Name</tt>" with "<tt>Helen Slayton-Hughes</tt>"
## Replace "<tt>ID</tt>" with the number ''and'' "<tt>Name</tt>" with "<tt>Helen Slayton-Hughes</tt>"
##: <tt><nowiki>* {{IMDB name|0805658|Helen Slayton-Hughes}}</nowiki></tt> results in:
##: <tt><nowiki>* {{IMDb name|0805658|Helen Slayton-Hughes}}</nowiki></tt> results in:
##:* {{IMDB name|0805658|Helen Slayton-Hughes}}  
##:* {{IMDb name|0805658|Helen Slayton-Hughes}}  


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 ===
===See also===
* {{Tl|tv.com}}
*{{Tl|tv.com}}
* {{Tl|thetvdb}}
*{{Tl|thetvdb}}


<includeonly>
<includeonly>
Line 53: Line 53:


{{DEFAULTSORT:Imdb Name}}
{{DEFAULTSORT:Imdb Name}}
[[Category:Film external link templates]]
[[Category:Film external link templates]]
[[Category:People and person external link templates]]
[[Category:People and person external link templates]]

Revision as of 03:56, 24 September 2010

This is a template to generate links to Internet Movie Database, used exclusively for NAMES.

To link a movie, use {{IMDb title}} instead.
To link a person (actor, actress, etc.), use {{IMDb name}} instead.
To link a tv episode, use {{IMDb episode}} instead.
To link a character, use {{IMDb character}} instead.
To link a biography, use {{IMDb biography}} instead.

Usage

The required parameter is the ID number. 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 "John Smith at IMDb" rather than "John Smith (actor) at IMDb". 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

  1. Copy and paste one of the options above into the article
  2. 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)
  3. Click on the correct Helen Slayton-Hughes in the list:
    1. Helen Slayton-Hughes(Actress, Good Night and Good Luck. (2005))
  4. You then reach the page with URL looking like http://www.imdb.com/name/nm0805658/ (or other 7-digit number)
  5. 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)
  6. Replace "ID" in the template code with the number
    1. 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:
    2. Replace "ID" with the number and "Name" with "Helen Slayton-Hughes"
      * {{IMDb name|0805658|Helen Slayton-Hughes}} results in:

If you still have any doubts or questions about the use of the template, you can ask at User talk:Kieff.

See also