Template:Imdb name
This is a template to generate links to 互聯
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 "José Molina喺互聯
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, Jack Nicholson; you'll reach
http://www.imdb.com/find?s=all&q=Jack+Nicholson
) - Click on the correct Jack Nicholson in the list:
Jack Nicholson(Actor, One Flew Over the Cuckoo's Nest (1975))
- You then reach the page with URL looking like http://www.imdb.com/name/nm0000197/ (or other 7-digit number)
- 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) - Replace "ID" in the template code with the number
- 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:
- Replace "ID" with the number and "Name" with "Jack Nicholson"
- * {{imdb name|0000197|Jack Nicholson}} results in:
- Jack Nicholson喺互聯
網 電 影 資料 庫 嘅資料 (英文 )
- Jack Nicholson喺互聯
- * {{imdb name|0000197|Jack Nicholson}} 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 or User talk:Chidom.
請加 |