The following documentation is transcluded from Template:IMDb/doc:

Usage

This template is used to link to the Internet Movie Database website entries. A variable is required giving the end path to the page in question, and a second variable can be used to alter the linking text.

If no initial variables are given, the link will go to the main webpage, such as:

{{IMDb}}

Which would produce:

Internet Movie Database

To link to a page, for example the one for William Shatner, you would have a template call as such:

{{IMDb|name/nm0000638}}

This would produce:

[1]

If displayed text is desired for the link, such as "James T. Kirk", the following format should be used:

{{IMDb|name/nm0000638|James T. Kirk}}

This would produce:

James T. Kirk

If you wish the link to be formatted as an external link, for example on William Shatner's page, the following format should be used:

{{IMDb|name/nm0000638||external}}

This would produce:

William Shatner at the Internet Movie Database

If you wish the external link to display different text, the following format should be used:

{{IMDb|name/nm0000638|James T. Kirk|external}}

This would produce:

James T. Kirk at the Internet Movie Database

A "type" variable can be used to automatically format the displayed link text to the correct format for episodes and films by choosing either "episode" or "title".

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