Template:IMDb episode/doc

Template:IMDb episode displays an external link to a television episode page at the Internet Movie Database (IMDb). It is. This template is intended for use in the external links section of an article.

Usage
Unnamed parameters:

Named parameters:

Using Wikidata property :

Parameters
The required parameter is just the ID number (for backward compatibility, id can be used) and the template then uses the article title as the anchor text:

To have the link text be other than the article name, use second parameter (for backward compatibility, episode can be used):

Note that the examples include the  for a bulleted list since this should be used in an "External links" section.

TemplateData
{	"description": "An external link template that links to an IMDb television episode page.", "params": { "1": {			"label": "ID", "type": "number", "required": false, "suggested": false, "aliases": [ "id" ], "description": "The ID number of the IMDb episode." },		"2": {			"label": "Title", "type": "line", "required": false, "suggested": false, "aliases": [ "episode" ], "description": "The episode's title if different than the Wikipedia article." },		"3": {			"label": "Description", "type": "line", "required": false, "suggested": false, "aliases": [ "description" ], "description": "An optional description." }	} }

Detailed instructions

 * 1) Copy and paste one of the options above into the article.
 * 2) Go to https://www.imdb.com, select TV episode in the search drop down menu and search for the episode you want (say, One for the Road; you'll reach  ).
 * 3) Click on the correct "One for the Road" in the list:
 * 4) You then reach the page with URL looking like   (or other 7-digit number)
 * 5) Copy  that number (here, 0539826 ), omitting the   part, but keep any leading zeros (though IMDb currently seems to be able to add them as needed)
 * 6) Replace ID in the template code with the number
 * 7) For the first option above, you'll then have
 * resulting in:
 * Note that the link text is the same as the title of the page the template is used on; outside the page "One for the Road", use the second option:
 * 1) Replace ID with the number  Episode with
 * results in:
 * 1) Replace ID with the number  Episode with
 * results in:

ID in template
Usage in the article Perchance to Dream (The Twilight Zone):

Output:

ID in Wikidata
Usage in the article Perchance to Dream (The Twilight Zone):

Output:
 * OOjs UI icon edit-ltr-progressive.svg

No ID in template or Wikidata
Usage:

Output:

Tracking categories

 * 
 * 
 * 
 * 