Template:IMDb name/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Seven coins
(+ja)
meta>Komusou
({{Template doc page}} (replaces {{Template doc page transcluded}} + {{Template doc page viewed directly}}))
Line 1: Line 1:
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
{{Template doc page}}
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
<!--  
    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]], '''used exclusively for ''PEOPLE'''''.
This is a template to generate links to [[Internet Movie Database]], '''used exclusively for ''PEOPLE'''''.


Line 6: Line 9:


=== Options ===
=== Options ===
The required parameter is just the ID number (for backward compatibility, the parameter can be named <code>id</code>) and the template then uses the article title as the [[anchor text]]:
The required parameter is just the ID number (for backward compatibility, the parameter can be named <code>id</code>) and the template then uses the article title as the [[anchor text]]:
<pre>
<pre>
Line 20: Line 24:


== 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, Jack Nicholson; you'll reach <code>http://www.imdb.com/find?s=all&q=Jack+Nicholson</code>)
# Go to http://www.imdb.com and search for the person you want (say, Jack Nicholson; you'll reach <code>http://www.imdb.com/find?s=all&q=Jack+Nicholson</code>)
Line 38: Line 43:


<includeonly>
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. -->
 
[[Category:External link templates|Imdb name]]
[[Category:External link templates|Imdb name]]
[[Category:Television templates|Imdb name]]
[[Category:Television templates|Imdb name]]
[[Category:Film templates|Imdb name]]
[[Category:Film templates|Imdb name]]


<!-- ADD INTERWIKIS BELOW THIS LINE -->
<!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. -->
 
[[bg:Шаблон:Imdb name]]
[[bg:Шаблон:Imdb name]]
[[cs:Šablona:Imdb osoba]]
[[cs:Šablona:Imdb osoba]]
Line 64: Line 72:
[[vi:Tiêu bản:Imdb name]]
[[vi:Tiêu bản:Imdb name]]
[[zh:Template:Imdb name]]
[[zh:Template:Imdb name]]
</includeonly>
</includeonly>

Revision as of 12:25, 23 September 2007

Template:Template doc page This is a template to generate links to Internet Movie Database, used exclusively for PEOPLE.

To link a movie, use {{imdb title}} instead.

Options

The required parameter is just the ID number (for backward compatibility, the parameter can be named id) 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 (for backward compatibility, it can be named name):

* {{imdb name|ID|Name}}

This can be used when the Wikipedia page name contains disambiguation brackets; for example at the page José Molina (writer) use {{imdb name|0596711|José Molina}} 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

  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, Jack Nicholson; you'll reach http://www.imdb.com/find?s=all&q=Jack+Nicholson)
  3. Click on the correct Jack Nicholson in the list:
    1. Jack Nicholson(Actor, One Flew Over the Cuckoo's Nest (1975))
  4. You then reach the page with URL looking like http://www.imdb.com/name/nm0000197/ (or other 7-digit number)
  5. Copy only that number (here, "0000197"), 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|0000197}} resulting in:
      Note that the link text is the same as the title of the page the template is used on; outside the page "Jack Nicholson", use the second option:
    2. Replace "ID" with the number and "Name" with "Jack Nicholson"
      * {{imdb name|0000197|Jack Nicholson}} results in:

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