这是“Template:Imdb”的文档子页面。
它含有用法信息、分类及其他不属于原模板页面的内容。
Use this template to create links to actors, characters, shows, or companies on The Internet Movie Database.
Usage
{{ imdb | type | articleID | linktext }}
- where
- type can be one of "name", "title", "character" or "company".
- articleID is the article id number
- linktext is the displayed text for the link
- Note that the 'type' and 'articleID' parameters are required. IMDb "name" articles all begin with "nm", "title" articles begin with "tt", company articles begin with "co", and character articles begin with "ch". For example:
{{imdb|name|0048982|Tom Baker}}
- results in
{{imdb|name|0048982}}
- results in
- a link to the IMDb article on Tom Baker. Note that the 'linktext' is optional. If the 'linktext' is not filled in the template will use the page name automatically.
{{imdb|company|0043107|British Broadcasting Corporation (BBC)}}
- gives you
- a link to the IMDb article on British Broadcasting Corporation (BBC).
{{imdb|title|0056751}}
- produces the output
- or, by using adding 'linktext'
{{imdb|title|0056751|Doctor Who (1963)}}
- produces the output