Template:Episode table/doc

Usage
The purpose of the Episode table template is to easily add header row to episode tables for television series, with up to 13 different columns, and optionally set the widths of these columns, and includes the Episode list template in the "episode" parameter. Cells are included by declaring the specific variable in one of two ways:  includes the "Title" cell with no set width, and   includes the "Title" cell with a width of 30%.

Examples

 * Standard columns :


 * All columns :


 * With Episode list :

Parted seasons
For seasons which have been split into parts, use Episode table/part, as per the examples below. The part row has a HTML ID attribute applied to it, equal to the text displayed; i.e. the ID attributes of the following examples will be "Part 1" and "Athelstan's Journal".

There are multiple available parameters for the parted template: The use of a subtitle is used through Subtitle Name, and can be used by itself or combined with any of the previous parameters. (Italics in the subtitle are to be inserted manually.) For example: ( p and nopart have been deprecated; use part and subtitle instead.)
 * 1 gives Act 1
 * 1 gives Chapter 1
 * 1 gives Part 1
 * 1 gives Volume 1
 * 1 gives Week 1
 * 1Crossover gives Chapter 1: Crossover
 * Crossover gives Crossover

Parameters
Each cell parameter has an alias to match the parameters used in Episode list. In the Cell Inclusion & Widths rows, the original parameter is listed, followed by its episode-list alias. This means that this: will produce exactly the same as this:


 * : These variables can be included but not set to a value, e.g. '

TemplateData
{	"params": { "background": { "label": "Background", "type": "line" },		"total_width": { "label": "Total width", "type": "number" },		"show_caption": { "label": "Show caption", "type": "boolean", "autovalue": "y" },		"caption": { "label": "Caption", "type": "string" },		"country": { "label": "(Country)", "description": "Specifying the country for viewers", "type": "string" },		"viewers_type": { "label": "(Viewers type)", "description": "Replaces \"millions\"", "type": "line" },		"overall": { "aliases": [ "EpisodeNumber" ],			"label": "overall", "type": "number", "description": "Displaying and width of \"No. overall\"." },		"season": { "aliases": [ "EpisodeNumber2" ],			"label": "season", "type": "number", "description": "Displaying and width of \"No. in season\"." },		"overall2": { "aliases": [ "*"			],			"label": "overall2", "type": "number", "description": "Displaying and width of additional 2nd column for overall numbers, without headline by default." },		"series": { "aliases": [ "EpisodeNumber2Series" ],			"label": "series", "type": "number", "description": "Displaying and width of \"No. in series\"." },		"title": { "aliases": [ "Title" ],			"label": "title", "type": "number", "description": "Displaying and width of \"Title\"." },		"aux1": { "aliases": [ "Aux1" ],			"label": "aux1", "type": "number", "description": "Displaying and width of the 1st additional column." },		"director": { "aliases": [ "DirectedBy" ],			"label": "director", "type": "number", "description": "Displaying and width of \"Directed by\"." },		"writer": { "aliases": [ "WrittenBy" ],			"label": "writer", "type": "number", "description": "Displaying and width of \"Written by\"." },		"aux2": { "aliases": [ "Aux2" ],			"label": "aux2", "type": "number", "description": "Displaying and width of the 2nd additional column." },		"aux3": { "aliases": [ "Aux3" ],			"label": "aux3", "type": "number", "description": "Displaying and width of the 3rd additional column." },		"airdate": { "aliases": [ "OriginalAirDate" ],			"label": "airdate", "type": "number", "description": "Displaying and width of \"Original air date\"." },		"released": { "label": "(Release date)", "description": "Replaces \"Original air date\" with \"Original release date\". Must be used with \"airdate\".", "type": "boolean", "autovalue": "y" },		"altdate": { "aliases": [ "AltDate" ],			"label": "altdate", "type": "number", "description": "Displaying and width of AltDate." },		"guests": { "aliases": [ "Guests" ],			"type": "number", "description": "Guest(s)", "example": "Displaying and width of \"Guest(s)\"." },		"musicalguests": { "aliases": [ "MusicalGuests" ],			"label": "musicalguests", "type": "number", "description": "Musical/entertainment guest(s)", "example": "Displaying and width of \"Musical/entertainment guest(s)\"." },		"prodcode": { "aliases": [ "ProdCode" ],			"label": "prodcode", "type": "number", "description": "Displaying and width of \"Prod. code\"." },		"viewers": { "aliases": [ "Viewers" ],			"label": "viewers", "type": "number", "description": "Displaying and width of \"Viewers\"." },		"aux4": { "aliases": [ "Aux4" ],			"label": "aux4", "type": "number", "description": "Displaying and width of the 4th additional column." },		"episodes": { "label": "Episodes", "type": "content", "description": "Listing of " },		"anchor": { "type": "line", "label": "Anchor" },		"dontclose": { "label": "Don't close", "type": "boolean", "autovalue": "y" },		"forceoverall": { "type": "boolean", "autovalue": "1", "label": "(Force overall)", "description": "Replaces \"No.\" with \"No. overall\" when \"series\" or \"season\" is not set, also activates \"overall_type\" in such cases." },		"overall_type": { "label": "(Overall type)", "description": "Replaces \"overall\" in \"No. overall\". Use \"overallT\" to replace header completely.", "type": "line" },		"season_type": { "label": "(Season type)", "description": "Replaces \"season\" in \"No. in season\". Use \"seasonT\" to replace header completely.", "type": "line" },		"series_type": { "description": "Replaces \"series\" in \"No. in series\". Use \"seriesT\" to replace header completely.", "type": "line", "label": "(Series type)" },		"overallT": { "aliases": [ "EpisodeNumberT" ],			"type": "string", "label": "[text] overall" },		"overall2T": { "aliases": [ "*T" ],			"type": "string", "label": "[text] overall2" },		"seasonT": { "aliases": [ "EpisodeNumber2T" ],			"type": "string", "label": "[text] season" },		"seriesT": { "aliases": [ "EpisodeNumber2SeriesT" ],			"type": "string", "label": "[text] series" },		"titleT": { "aliases": [ "TitleT" ],			"type": "string", "label": "[text] title" },		"aux1T": { "aliases": [ "Aux1T" ],			"type": "string", "label": "[text] aux1" },		"directorT": { "aliases": [ "DirectedByT" ],			"type": "string", "label": "[text] director" },		"writerT": { "aliases": [ "WrittenByT" ],			"type": "string", "label": "[text] writer" },		"aux2T": { "aliases": [ "Aux2T" ],			"type": "string", "label": "[text] aux2" },		"aux3T": { "aliases": [ "Aux3T" ],			"type": "string", "label": "[text] aux3" },		"airdateT": { "aliases": [ "OriginalAirDateT" ],			"type": "string", "label": "[text] airdate" },		"altdateT": { "aliases": [ "AltDateT" ],			"type": "string", "label": "[text] altdate" },		"guestsT": { "aliases": [ "GuestsT" ],			"type": "string", "label": "[text] guests" },		"musicalguestsT": { "aliases": [ "MusicalGuestsT" ],			"type": "string", "label": "[text] musicalguests" },		"prodcodeT": { "aliases": [ "ProdCodeT" ],			"type": "string", "label": "[text] prodcode" },		"viewersT": { "aliases": [ "ViewersT" ],			"type": "string", "label": "[text] viewers" },		"aux4T": { "aliases": [ "Aux4T" ],			"type": "string", "label": "[text] aux4" },		"overallR": { "aliases": [ "EpisodeNumberR" ],			"type": "string", "label": "[ref] overall" },		"overall2R": { "aliases": [ "*R" ],			"type": "string", "label": "[ref] overall2" },		"seasonR": { "aliases": [ "EpisodeNumber2R" ],			"type": "string", "label": "[ref] season" },		"seriesR": { "aliases": [ "EpisodeNumber2SeriesR" ],			"type": "string", "label": "[ref] series" },		"titleR": { "aliases": [ "TitleR" ],			"type": "string", "label": "[ref] title" },		"aux1R": { "aliases": [ "Aux1R" ],			"type": "string", "label": "[ref] aux1" },		"directorR": { "aliases": [ "DirectedByR" ],			"type": "string", "label": "[ref] director" },		"writerR": { "aliases": [ "WrittenByR" ],			"type": "string", "label": "[ref] writer" },		"aux2R": { "aliases": [ "Aux2R" ],			"type": "string", "label": "[ref] aux2" },		"aux3R": { "aliases": [ "Aux3R" ],			"type": "string", "label": "[ref] aux3" },		"airdateR": { "aliases": [ "OriginalAirDateR" ],			"type": "string", "label": "[ref] airdate" },		"altdateR": { "aliases": [ "AltDateR" ],			"type": "string", "label": "[ref] altdate" },		"guestsR": { "aliases": [ "GuestsR" ],			"type": "string", "label": "[ref] guests" },		"musicalguestsR": { "aliases": [ "MusicalGuestsR" ],			"type": "string", "label": "[ref] musicalguests" },		"prodcodeR": { "aliases": [ "ProdCodeR" ],			"type": "string", "label": "[ref] prodcode" },		"viewersR": { "aliases": [ "ViewersR" ],			"type": "string", "label": "[ref] viewers" },		"aux4R": { "aliases": [ "Aux4R" ],			"type": "string", "label": "[ref] aux4" }	},	"paramOrder": [ "background", "total_width", "show_caption", "caption", "overall", "forceoverall", "overall_type", "overall2", "season", "season_type", "series", "series_type", "title", "aux1", "director", "writer", "aux2", "aux3", "airdate", "released", "altdate", "guests", "musicalguests", "prodcode", "viewers", "country", "viewers_type", "aux4", "overallT", "overall2T", "seasonT", "seriesT", "titleT", "aux1T", "directorT", "writerT", "aux2T", "aux3T", "airdateT", "altdateT", "guestsT", "musicalguestsT", "prodcodeT", "viewersT", "aux4T", "overallR", "overall2R", "seasonR", "seriesR", "titleR", "aux1R", "directorR", "writerR", "aux2R", "aux3R", "airdateR", "altdateR", "guestsR", "musicalguestsR", "prodcodeR", "viewersR", "aux4R", "anchor", "dontclose", "episodes" ],	"format": "" }

Tracking category

 * 