FANDOM


Use this template to create links to actors, shows, or companies in the IMDb.

Usage

{{ IMDb-link | type=<pagetype> | page=<articleID> | name=<linktext> }}
where
type can be one of "name", "title", "company", "character", or "keyword"
page is the article id (for type=name, type=title, type=company, or type=character) or keyword (for type=keyword)
name is the displayed text for the link
Note that the 'type' and 'name' parameters are optional, and default to "name" and "{{PAGENAME}}", respectively. IMDb "name" articles all begin with "nm", "title" articles begin with "tt", company articles begin with "co", and character articles begin with "ch". Keywords can be just about anything. For example:
{{IMDb-link|page=nm0000638}}
results in
IMDb-link at IMDb_logo.gif
a link to the IMDb article on William Shatner. Note that the link text is filled in automatically by the template using the page name. You would normally use this syntax on the page about, in this case, William Shatner.
{{IMDb-link|type=company|page=co0023400|name=Paramount Pictures}}
gives you
Paramount Pictures at IMDb_logo.gif
a link to the IMDb article on Paramount Pictures. Note that the default type of the IMDb article, "name", has been overridden using the 'type' parameter, and the default text for the link, the page name, has been overridden using the 'name' parameter. As another example,
{{IMDb-link|type=title|page=tt0079945}}
produces the output
IMDb-link at IMDb_logo.gif
or, by using the 'name' parameter
{{IMDb-link|type=title|page=tt0079945|name=Star Trek: The Motion Picture}}
produces the output
Star Trek: The Motion Picture at IMDb_logo.gif
Note that the title text is automatically italicized if the 'type' parameter is set to "title".

This template was borrowed from Template:IMDb-link at Memory Alpha: Star Trek Wiki.

Community content is available under CC-BY-SA unless otherwise noted.