Template:Imdb character/doc
This is a documentation subpage for Template:Imdb character. It contains usage information, categories and other content that is not part of the original template page. |
This is a template to generate links to Internet Movie Database, used exclusively for CHARACTERS.
- To link a movie, use {{imdb title}} instead.
- To link a person (actor, actress, etc.), use {{imdb name}} 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 character|ID}}
To have the link text be other than the article name, use second parameter (for backward compatibility, it can be named name
):
* {{imdb character|ID|Character}}
Note that the options include the "*" for a bulleted list since this is most likely to be used in an "Other websites" section.
Detailed instructions
- Copy and paste one of the options above into the article
- Go to https://www.imdb.com and search for the character you want (say, Austin Powers; you'll reach
https://www.imdb.com/find?s=all&q=Austin+Powers
) - Click on the correct Austin Powers in the list:
- You then reach the page with URL looking like https://www.imdb.com/character/ch0002425/ (or other 7-digit number)
- Copy only that number (here, "
0002425
"), omitting the "ch
" 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 character|0002425}} resulting in:
- Note that the link text is the same as the title of the page the template is used on; outside the page "Austin Powers", use the second option:
- Replace "ID" with the number and "Character" with "Austin Powers"
- * {{imdb character|0002425|Austin Powers}} results in:
- For the first option above, you'll then have