Template:IMDb title/doc

This is a template to generate links to Internet Movie Database. This template should be used exclusively for TITLES, that is, of movies, TV series, games, etc.


 * To link a person (actor, actress, etc.), use IMDb name instead.
 * To link a specific TV episode or Web series episode, use IMDb episode instead.
 * To link an episode list, use IMDb episodes instead.
 * To link a company, use IMDb company instead.
 * To link a character, use IMDb character instead.

Usage

 * 1) Search on imdb.com for the title you want. On the Wikipedia page of the film concerned this can often be done conveniently with the link produced by previewing  . This may not work if the page title is more than just the film title.
 * 2) Click on the correct link to go to the movie's page (or whatever you're looking for). Be sure you're getting on the correct title page.
 * 3) The page URL should look like http://www.imdb.com/title/tt#######, where "#######" indicates a number.
 * 4) Copy ONLY that number (be sure to remove the "tt" )
 * 5) Add to the external links section the text:
 * where "#######" is the number you've copied, and "Title" is the title of the movie or show.
 * where "#######" is the number you've copied, and "Title" is the title of the movie or show.


 * 1) (Optional) If you want to add an additional description to distinguish this film/show from another that may be on the same page with the same name, use the following text:
 * where "#######" is the number you've copied, "Title" is the title of the movie or show, and "Description" is the description of the show, in parentheses.
 * where "#######" is the number you've copied, "Title" is the title of the movie or show, and "Description" is the description of the show, in parentheses.

There is also the  parameter which can be set to   to link to the Awards section of the site.

Example

 * 1) On the page Alpha Dog, preview and search using the link Alpha Dog produced. You'll get to this page: http://www.imdb.com/title/tt0426883/
 * 2) Copy "0426883" and then add this number as parameter:

The result on the page Alpha Dog is:

Typically this is a list item in the external links section (even if there is only one link), so you should add "*" in front.

2nd example

 * 1) Searching for the 1993 remake of the TV series "Route 66", you'll get to this page: http://www.imdb.com/title/tt0106117/
 * 2) Copy "0106117" and then write:

The result is

Template data
{       "description": "This is a template to generate links to Internet Movie Database.", "params": { "id": { "label": "Title number", "description": "Number of the IMdB title, taken from the numbers at the end of its IMdB url. The wikidata IMDb identifier (P345) can be used if id is not set.", "type": "number", "required": true, "aliases" : [ "1" ] },               "title": { "label": "Title", "description": "Name of the production, which may include the year made in parenthesis. Defaults to without parts in brackets.", "type": "string", "required": false, "aliases" : [ "2" ] },               "description": { "label": "Description", "description": "Description of the production.", "type": "string", "required": false, "aliases" : [ "3" ] },               "section": { "label": "Section", "description": "Can 'award' or 'awards' which makes a link to the awards page. Other values are ignored.", "type": "string", "required": false }       } }

Wikidata
The Wikidata project provides a central collection of information and parameters for articles for the various Wikimedia projects. This includes the IMDB title codes for films. For example the film Space Milkshake has a corresponding Wikidata item (Q7572422), which in turn includes an IMDb identifier. If IMDb title is invoked in an article without the "id" parameter, and if Wikidata has a IMDb identifier specified for that article's corresponding item, the IMDb link with its title code will be included automatically.

For new film articles, the IMDb identifier property (and the film title item itself) may need to be added at Wikidata first, so that the default IMDb link can be available for use on Wikipedia and other Wikimedia projects.

This Wikidata capability was implemented on the English Wikipedia as of April 2013.

Note that the title code (first parameter) can still be specified as before and this will override the Wikidata default e.g. where this template is used to link to a film whose title does not correspond to the subject of the article (for example, in the case of a single article about a film and its sequels).

The second parameter for the film title override is still available to handle differences between article titles and film titles (e.g. due to disambiguation wording in the title). The first parameter may be left blank to default from Wikidata - for example.

Linksearch
For a given link target (or first part of that) the pages from where there are links are found by a link such as this:

http://en.wikipedia.org/w/index.php?title=Special:Linksearch&target=http%3A%2F%2Fwww.imdb.com%2Ftitle%2Ftt0426