Template:IMDb name/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Rentaferret
add code to copy and paste
meta>Rentaferret
extensive instruction rewrite; have requested a review by User:Kieff
Line 6: Line 6:


== Instructions ==
== Instructions ==
# Go to [http://www.imdb.com imdb.com] and search for the person you want
# Copy and paste one of the options below into the article
# Click on the correct link to go to the person's page. Be sure you're getting the right person
# Go to http://www.imdb.com and search for the person you want
# The page [[URL]] should look like <nowiki>http://www.imdb.com/name/nm#######</nowiki>, where "#######" indicates a number.
# Click on the correct link to go to the person's page; be sure you're getting the right person
# Copy ONLY that number (be sure to remove the "nm" and to keep all the zeros)
# The page [[URL]] should look like <tt><nowiki>http://www.imdb.com/name/nm#######/</nowiki></tt>, where "<tt>#######</tt>" indicates a number
# Add to the external links section the text:
# Copy '''only''' that number—be sure to remove the "<tt>nm</tt>" and to keep all the zeros
:<nowiki>{{imdb name|id=#######|name=Name}}</nowiki>
# Double-click "<tt>ID</tt>" in the string you pasted earlie and replace it with that number
:where "#######" is the number you've copied, and "Name" is the person's name
# As needed, double-click "<tt>Name</tt>" and replace it with the person's name as you want it to appear in the link


==Example==
=== Options ===
#Searching for "Jack Nicholson", you'll reach this page: http://www.imdb.com/name/nm0000197/
This option needs just the ID number, it uses the article title as the link text:
#Copy "0000197" and then write:
<pre>
:<nowiki>{{imdb name|id=0000197|name=Jack Nicholson}}</nowiki>
* {{imdb name|ID}}
The result is {{imdb name|id=0000197|name=Jack Nicholson}}
</pre>
Use the following option when you need to have the link text be other than the article name:


Note that, since this will almost certainly go on the external link section, you should add a * before the template text to include it as a list item.
: For example, {{imdb name|0596711| José Molina}} rather than {{imdb name|0596711| José Molina (writer)}}


If you still have any doubts or questions about the use of the template, go to my talk page [[User:Kieff|<nowiki></nowiki>]] &mdash; [[User:Kieff|Kieff]] | [[User talk:Kieff|Talk]] 03:45, Sep 13, 2004 (UTC)
Note that you would always use this option when adding a link to an article other than the person whom you're linking


: 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
<pre>
<pre>
* {{Imdb name|ID|Name}} <!-- ID is just the number, don't include the "nm" -->
* {{imdb name|ID|Name}}
</pre>
</pre>
I've added this version that's easy to copy and paste. You can copy the entire line including the editor's comment between the <tt><nowiki><!--</nowiki></tt> and <tt><nowiki> --></nowiki></tt>—it won't show when the page is saved. That's not required, of course, you can just copy through the closing (<tt><nowiki>}}</nowiki></tt> brackets):
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.
Once you've copied and pasted the code; just double-click the "ID" and "Name" to replace them with the actual information.
=== Examples ===
# Copy and paste one of the options above into the article
# Go to http://www.imdb.com and search for "Jack Nicholson"; you'll reach this page: <tt>http://www.imdb.com/find?s=all&q=Jack+Nicholson</t>
# Click on the correct Jack Nicholson in the list:
##<tt>[http://www.imdb.com/name/nm0000197/ Jack Nicholson](Actor, [http://www.imdb.com/title/tt0073486/ One Flew Over the Cuckoo's Nest] (1975))</tt>  
# You then reach this page: <tt>http://www.imdb.com/name/nm0000197/</tt>
# Copy "<tt>0000197</tt>", omitting the "<tt>nm</tt>"
# Double-click on "<tt>ID</tt>" in the string and paste the number
## For the first option above, just double-click "<tt>ID</tt>" and paste the number you found:
##: <tt><nowiki>* {{imdb name|0000197}}</nowiki></tt> results in:
##:* {{imdb name|0000197}}
##:: Note that the link text is the same as the title of the article; since the link text should be the actor's name, use the second option
## For the second option double-click "<tt>ID</tt>" and paste the number, then double-click "<tt>Name</tt>" and replace it with "<tt>Jack Nicholson</tt>"
##: <tt><nowiki>* {{imdb name|0000197|Jack Nicholson}}</nowiki></tt> results in:
##:* {{imdb name|0000197|Jack Nicholson}}


Hope this is helpful. Thanks. <font color="721227">&mdash;</font>[[User:Chidom|<font color="DC5300">'''Chidom'''</font>]]&nbsp;[[User talk:Chidom|<font color="721227"><sup>'''talk'''</sup></font>]]&nbsp; 21:35, 30 December 2006 (UTC)
If you still have any doubts or questions about the use of the template, go to the talk page for [[User:Kieff|Kieff]] | [[User talk:Kieff|Talk]] or [[User:Chidom|Chidom]] | [[User talk:Chidom|Talk]]


<includeonly>
<includeonly>

Revision as of 19:32, 6 January 2007

Template:Template doc page viewed directly This is a template to generate links to Internet Movie Database. This template should be used exclusively for PEOPLE.

If you need to link a movie, use Template:imdb title instead.

Instructions

  1. Copy and paste one of the options below into the article
  2. Go to http://www.imdb.com and search for the person you want
  3. Click on the correct link to go to the person's page; be sure you're getting the right person
  4. The page URL should look like http://www.imdb.com/name/nm#######/, where "#######" indicates a number
  5. Copy only that number—be sure to remove the "nm" and to keep all the zeros
  6. Double-click "ID" in the string you pasted earlie and replace it with that number
  7. As needed, double-click "Name" and replace it with the person's name as you want it to appear in the link

Options

This option needs just the ID number, it uses the article title as the link text:

* {{imdb name|ID}}

Use the following option when you need to have the link text be other than the article name:

For example, Template:Imdb name rather than Template:Imdb name

Note that you would always use this option when adding a link to an article other than the person whom you're linking

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
* {{imdb name|ID|Name}}

Note that the options include the "*" for a bulleted list since this is most likely to be used in an "External links" section.

Examples

  1. Copy and paste one of the options above into the article
  2. Go to http://www.imdb.com and search for "Jack Nicholson"; you'll reach this page: http://www.imdb.com/find?s=all&q=Jack+Nicholson</t>
  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 this page: http://www.imdb.com/name/nm0000197/
  5. Copy "0000197", omitting the "nm"
  6. Double-click on "ID" in the string and paste the number
    1. For the first option above, just double-click "ID" and paste the number you found:
      * {{imdb name|0000197}} results in:
      Note that the link text is the same as the title of the article; since the link text should be the actor's name, use the second option
    2. For the second option double-click "ID" and paste the number, then double-click "Name" and replace it with "Jack Nicholson"
      * {{imdb name|0000197|Jack Nicholson}} results in:

If you still have any doubts or questions about the use of the template, go to the talk page for Kieff | Talk or Chidom | Talk