Template:IMDb episodes/doc

Template:IMDb episodes generates links to an IMDb TV series or web series episode list. Because this is most useful in articles for individual seasons of series and list-of-episodes articles for entire series, the template is designed to be easy to use on pages like: In these cases, the template needs only the IMDb ID number of the series (see below); the title and (when applicable) season number need not be specified. However, the template will be confused by titles like: In such a case, you will need to override the template's autodetection of the season number (in this case, by using ) and possibly the series title, as well.
 * The X-Files season 1
 * List of The Munsters episodes
 * Big Brother 3 (American season)

Finding the IMDb ID

 * 1) Search on imdb.com for the title you want. On the Wikipedia page for the TV series, this can often be done conveniently with the link produced by previewing the template call . This may not work if the page title is more than just the TV show title. (See the examples below for more details.)
 * 2) Click on the correct link (at imdb.com) to go to the page for the TV series (or whatever you're looking for). Be sure you're using the correct title page.
 * 3) The page URL should look like , where " " indicates a number.
 * 4) Copy  that number (omit the " " part), and use it in the template call, as shown below.

TemplateData
{	"description": "An external link template that links to an IMDb television series episode list page.", "params": { "1": {			"label": "ID", "type": "number", "required": true, "suggested": false, "aliases": [ "id" ], "description": "The ID number of the IMDb title, taken from the numbers at the end of its IMDb URL." },       "2": {			"label": "Title", "type": "line", "required": false, "suggested": false, "aliases": [ "episode" ], "description": "The title of the TV series. Defaults to the Wikipedia article name, without any disambiguation such as (season 1) or without the \"List of episodes\" text." },		"3": {			"label": "Description", "type": "line", "required": false, "suggested": false, "aliases": [ "description" ], "description": "An optional description." },		"season": { "label": "Season", "type": "number", "required": false, "suggested": false, "description": "The season number. If not specified, defaults to the season number in the article title disambiguation text." },		"year": { "label": "Year", "type": "number", "required": false, "suggested": false, "description": "The number of the year for pages like separate seasons by years." }	} }

Example
If you wanted to add this template to an article like Cavalcade of America (note: it's already there, in the "External links" section):
 * 1) Edit the article/section and add the template call  at the appropriate place, previewing the result (don't publish your changes yet—only preview them).
 * 2) The resulting link may look like Cavalcade of America (where the URL ends in a number) or Cavalcade of America (where the URL contains the title). In the first case, the template already "knows" the IMDb ID number for the film (because the page has a Wikidata item containing that information), so you can just copy the URL and extract the number at the end (0044248). In the second case, you'll have to follow the link to the search results at the IMDb and find the appropriate page there. In either case, you'll find this URL: https://www.imdb.com/title/tt0044248/
 * 3) Copy the number at the end of the URL (0044248), then replace the  template call with a call to, including the number as a parameter:
 * 4) Preview your changes again, making sure the link actually works and looks the way you want. If it does, save/publish your changes. The result on the page Cavalcade of America is:

Second example
To add this template to the Route 66 (1993 TV series) article:
 * 1) Search the IMDb for the appropriate TV series. You will find this page: https://www.imdb.com/title/tt0106117/
 * 2) Copy the number, "0106117", then use the following template call in the article:
 * 3) The result is:

Tracking categories

 * 