Jump to content

Module:Episode table/doc: Difference between revisions

From Humanipedia
hp>Namoroka
m 1 revision imported
Line 1: Line 1:
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
{{High-use}}
{{High-use}}
{{Lua|Module:Episode table}}
{{Module rating|protected}}
{{Bot use warning|bots=[[User:cewbot/log/20201008/configuration]]}}
{{Lua|Module:Arguments|Module:Color contrast|Module:Color contrast/colors|Module:Plain text}}
{{Uses TemplateStyles|Module:Episode table/styles.css}}


== Usage ==
== Usage ==
The purpose of the '''{{tl|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 {{tl|Episode list}} template in the "episode" parameter. Cells are included by declaring the specific variable in one of two ways: <code>title=</code> includes the "Title" cell with no set width, and <code>title=30</code> includes the "Title" cell with a width of 30%.
Creates one of three usages related to {{tl|Episode table}} with the parameters defined in the documentation of the template:


===Syntax===
A standard [[Template:Episode table|episode table]] with
{{collapse top|title=Parameters}}
* {{Mlx|{{BASEPAGENAME}}|main}}
<syntaxhighlight lang="wikitext">{{Episode table
|caption      = TEXT
|background  = COLOR


|total_width  = WIDTH
A [[Template:Episode table/part|row]] for a parted season with
|overall      = WIDTH
* {{Mlx|{{BASEPAGENAME}}|part}}
|overall2    = WIDTH
|series      = WIDTH
|season       = WIDTH
|title        = WIDTH
|aux1        = WIDTH
|director    = WIDTH
|writer      = WIDTH
|aux2        = WIDTH
|aux3        = WIDTH
|airdate      = WIDTH
|altdate      = WIDTH
|prodcode    = WIDTH
|viewers      = WIDTH
|aux4        = WIDTH
|country      = COUNTRY
|viewers_type = TEXT


|overallT    = TEXT
A white background for references used in the header row of episode tables with
|seriesT      = TEXT
* {{Mlx|{{BASEPAGENAME}}|ref}}
|seasonT      = TEXT
|titleT      = TEXT
|aux1T        = TEXT
|directorT    = TEXT
|writerT      = TEXT
|aux2T        = TEXT
|aux3T        = TEXT
|airdateT    = TEXT
|altdateT    = TEXT
|prodcodeT    = TEXT
|viewersT    = TEXT
|aux4T        = TEXT


|overallR    = REFERENCE
== Tracking categories ==
|seriesR      = REFERENCE
{{#lst:Template:Episode table/doc|Tracking}}
|seasonR      = REFERENCE
|titleR      = REFERENCE
|aux1R        = REFERENCE
|directorR    = REFERENCE
|writerR      = REFERENCE
|aux2R        = REFERENCE
|aux3R        = REFERENCE
|airdateR    = REFERENCE
|altdateR    = REFERENCE
|prodcodeR    = REFERENCE
|viewersR    = REFERENCE
|aux4R        = REFERENCE


|episodes    = EPISODE LISTS/PART ROWS
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
|dontclose    = BOOLEAN
}}</syntaxhighlight>
{{collapse bottom}}
 
===Examples===
;Standard columns<nowiki>:</nowiki>
 
<syntaxhighlight lang="wikitext">{{Episode table|caption=This is a caption|background=#B40000 |overall=5 |season=5 |title=17 |director=11 |writer=37 |airdate=10 |prodcode=6 |viewers=9 |country=U.S.}}</syntaxhighlight>
 
{{Episode table|caption=This is a caption|background=#B40000|overall=5|season=5|title=17|director=11|writer=37|airdate=10|prodcode=6|viewers=9|country=U.S.}}
 
;All columns<nowiki>:</nowiki>
 
<syntaxhighlight lang="wikitext">{{Episode table |overall= |season= |title= |aux1= |director= |writer= |aux2= |aux3= |airdate= |altdate= |prodcode= |viewers= |aux4= |country= |aux1T=Aux1 |aux2T=Aux2 |aux3T=Aux3 |aux4T=Aux4 |altdateT=AltDate}}</syntaxhighlight>
 
{{Episode table |overall= |season= |title= |aux1= |director= |writer= |aux2= |aux3= |airdate= |altdate= |prodcode= |viewers= |aux4= |country= |aux1T=Aux1 |aux2T=Aux2 |aux3T=Aux3 |aux4T=Aux4 |altdateT=AltDate}}
 
;With {{tl|Episode list}}<nowiki>:</nowiki>
 
{{collapse top|Code}}
<syntaxhighlight lang="wikitext">{{Episode table |background = #005F6C |overall = 6 |series = 6 |title = 20 |director = 14 |writer = 15 |airdate = 16 |prodcode = 8 |viewers = 9 |aux4 = 6 |country = UK |overallT = Story |seriesT = Episode |aux4T = AI |aux4R = {{Dummy reference}} |dontclose = y}}
{{Episode list
|EpisodeNumber = 203
|EpisodeNumber2 = 1
|Title = [[The Eleventh Hour (Doctor Who)|The Eleventh Hour]]
|DirectedBy = Adam Smith
|WrittenBy = [[Steven Moffat]]
|OriginalAirDate = {{Start date|2010|4|3|df=y}}
|ProdCode = 1.1
|Viewers = 10.09
|Aux4 = 86
|LineColor = 005F6C
}}
{{Episode list
|EpisodeNumber = 204
|EpisodeNumber2 = 2
|Title = [[The Beast Below]]
|DirectedBy = [[Andrew Gunn (director)|Andrew Gunn]]
|WrittenBy = Steven Moffat
|OriginalAirDate = {{Start date|2010|4|10|df=y}}
|ProdCode = 1.2
|Viewers = 8.42
|Aux4 = 86
|LineColor = 005F6C
}}
{{End|html=y|Episode table}}</syntaxhighlight>
{{collapse bottom}}
 
{{Episode table |background = #005F6C |overall = 6 |series = 6 |title = 20 |director = 14 |writer = 15 |airdate = 16 |prodcode = 8 |viewers = 9 |aux4 = 6 |country = UK |overallT = Story |seriesT = Episode |aux4T = AI |aux4R = {{Dummy reference}} |dontclose = y}}
{{Episode list
|EpisodeNumber = 203
|EpisodeNumber2 = 1
|Title = [[The Eleventh Hour (Doctor Who)|The Eleventh Hour]]
|DirectedBy = Adam Smith
|WrittenBy = [[Steven Moffat]]
|OriginalAirDate = {{Start date|2010|4|3|df=y}}
|ProdCode = 1.1
|Viewers = 10.09
|Aux4 = 86
|LineColor = 005F6C
}}
{{Episode list
|EpisodeNumber = 204
|EpisodeNumber2 = 2
|Title = [[The Beast Below]]
|DirectedBy = [[Andrew Gunn (director)|Andrew Gunn]]
|WrittenBy = Steven Moffat
|OriginalAirDate = {{Start date|2010|4|10|df=y}}
|ProdCode = 1.2
|Viewers = 8.42
|Aux4 = 86
|LineColor = 005F6C
}}
{{End|html=y|Episode table}}
 
===Parted seasons===
<section begin=parted />For seasons which have been split into parts, use {{tl|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:
* {{para|act|1}} gives '''Act 1'''
* {{para|chapter|1}} gives '''Chapter 1'''
* {{para|part|1}} gives '''Part 1'''
* {{para|volume|1}} gives '''Volume 1'''
* {{para|week|1}} gives '''Week 1'''
The use of a subtitle is used through {{para|subtitle|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:
* {{para|chapter|1}}{{para|subtitle|Crossover}} gives '''Chapter 1: Crossover'''
* {{para|subtitle|<nowiki>''Crossover''</nowiki>}} gives '''''Crossover'''''
To remove the bold nature of the text, use {{para|nobold|y}}. ({{itcol|Note}} {{para|p}} and {{para|nopart}} have been deprecated; use {{para|part}} and {{para|subtitle}} instead.)
 
====Examples ====
<syntaxhighlight lang="wikitext">{{Episode table/part|c=#183E54|part=1}}</syntaxhighlight>
 
{{Episode table |background=#183E54|overall=6 |season=6 |title=20 |director=20 |writer=26 |airdate=13 |viewers=9 |country=U.S. |episodes=
{{Episode table/part|c=#183E54|part=1}}
}}
 
<syntaxhighlight lang="wikitext">{{Episode table/part|c=#061453|subtitle=''Athelstan's Journal''}}</syntaxhighlight>
 
{{Episode table |color=white |background=#061453|overall=6 |title=24 |director=20 |writer=20 |airdate=17 |aux4=13 |aux4T=Length<br>(minutes) |episodes=
{{Episode table/part|c=#061453|subtitle=''Athelstan's Journal''}}
}}<section end=parted />
 
== Parameters==
Each cell parameter has an alias to match the parameters used in {{tl|Episode list}}. In the ''Cell Inclusion & Widths'' rows, the original parameter is listed, followed by its episode-list alias. This means that this:
<syntaxhighlight lang="wikitext">{{Episode table |background=#B40000 |overall=5 |season=5 |title=17 |director=11 |writer=37 |airdate=10 |prodcode=6 |viewers=9 |country=U.S.}}</syntaxhighlight>
will produce exactly the same as this:
<syntaxhighlight lang="wikitext">{{Episode table |background=#B40000 |EpisodeNumber=5 |EpisodeNumber2=5 |Title=17 |DirectedBy=11 |WrittenBy=37 |OriginalAirDate=10 |ProdCode=6 |Viewers=9 |country=U.S.}}</syntaxhighlight>
{| class="wikitable"
|+Template parameters
! colspan="3" | Parameter
! Description
! Type
! Status
|-
! colspan="2" | Table caption
| caption
| A caption should be provided that describes in general the content of the table. By default, the caption uses {{tl|Screen reader-only}} to not be visually displayed in a browser, but still be present and voiced by a screen reader for accessibility. To make the caption visible, use {{para|show_caption|y}}. e.g. <code>''NCIS'' season 11 episodes</code>
| Wikitext
| Required for accessibility
|-
! colspan="2" | Background color
| background
| The background color of the header row. If no color is specified, the background defaults to #CCCCFF.<br />''Format:''  #595959
| String
| Optional
|-
! colspan="2" | Total width
| total_width
| Table width defaults to 100%. For tables that are less than 100%, set this field as necessary, with or without a percentage sign. Set to "auto" or blank to remove the set width and allow the table to display naturally.<br />''Format:'' 75
| Number
| Optional
|- id="Anchor"
! colspan="2" | Anchor
| anchor
| In {{tl|Episode list}}, {{para|EpisodeNumber}} is a number representing the episode's order in the series. For example, the first episode would be <code>1</code>. When defined, the specified number also generates a [[:Template:Anchor|link anchor]], prefixed by <code>ep</code>; for example, <syntaxhighlight lang="wikitext" inline>[[List of episodes#ep1]]</syntaxhighlight>; see more at {{slink|Template:Episode list|EpisodeNumber}}. In the case of multiple tables with the same anchored episode number, the anchor can be made unique with the {{para|anchor}} parameter in the call of {{tl|Episode table}}. For example, if {{para|anchor}} in this template is set to {{para|anchor|Minisodes}}, then the anchor will be <syntaxhighlight lang="wikitext" inline>[[List of episodes#Minisodesep1]]</syntaxhighlight>. Note that the {{para|anchor}} parameter has no effect if the {{para|episodes}} parameter is absent.
| Wikitext
| Optional
|-
! rowspan="14" style="width:5%" | Cell Inclusion & Widths*
! Overall Number
| overall<br />EpisodeNumber
| The inclusion (and optionally the width) of the "No." / "No. overall" cell.<br />Use {{para|forceoverall|y}} to force this column to display "No. overall" when {{code|season}}/{{code|series}} is not set. Change the "overall" term by using {{para|overall_type}})<br />''Format:'' 10 / <blank>
| Number
| Optional
|-
! Season
| season<br />EpisodeNumber2
| The inclusion (and optionally the width) of the "No. in season" cell.<br />(Inclusion will set "No." cell to "No. overall" if ''overallT'' is unset. Change the "season" term by using {{para|season_type}})<br />''Format:'' 10 / <blank><br />''Note:'' "series" and "season" cannot be included in the same table.
| Number
| Optional
|-
! Series
| series<br />EpisodeNumber2Series
| The inclusion (and optionally the width) of the "No. in series" cell.<br />(Inclusion will set "No." cell to "No. overall" if ''overallT'' is unset. Change the "series" term by using {{para|series_type}})<br />''Format:'' 10 / <blank><br />''Note:'' "series" and "season" cannot be included in the same table.
| Number
| Optional
|-
! Title
| title<br />Title
| The inclusion (and optionally the width) of the "Title" cell.<br />''Format:'' 10 / <blank>
| Number
| Optional
|-
! Aux1
| aux1<br />Aux1
| The inclusion (and optionally the width) of the "Aux1" cell.<br />''Format:'' 10 / <blank>
| Number
| Optional
|-
! Director
| director<br />DirectedBy
| The inclusion (and optionally the width) of the "Directed by" cell.<br />''Format:'' 10 / <blank>
| Number
| Optional
|-
! Writer
| writer<br />WrittenBy
| The inclusion (and optionally the width) of the "Written by" cell.<br />''Format:'' 10 / <blank>
| Number
| Optional
|-
! Aux2
| aux2<br />Aux2
| The inclusion (and optionally the width) of the "Aux2" cell.<br />''Format:'' 10 / <blank>
| Number
| Optional
|-
! Aux3
| aux3<br />Aux3
| The inclusion (and optionally the width) of the "Aux3" cell.<br />''Format:'' 10 / <blank>
| Number
| Optional
|-
! Air/Release Date
| airdate<br />OriginalAirDate
| The inclusion (and optionally the width) of the "Original release date" cell.<br />''Format:'' 10 / <blank>
| Number
| Optional
|-
! Alternative Air/Release Date
| altdate<br />AltDate
| The inclusion (and optionally the width) of the "Alternative Release Date" cell.<br />''Format:'' 10 / <blank>
| Number
| Optional
|-
! Production Code
| prodcode<br />ProdCode
| The inclusion (and optionally the width) of the "Production code" cell.<br />''Format:'' 10 / <blank>
| Number
| Optional
|-
! Viewers
| viewers<br />Viewers
| The inclusion (and optionally the width) of the "Viewers" cell.<br />''Format:'' 10 / <blank>
| Number
| Optional
|-
! Aux4
| aux4<br />Aux4
| The inclusion (and optionally the width) of the "Aux4" cell.<br />''Format:'' 10 / <blank>
| Number
| Optional
|-
! rowspan="6" | Content
! Country
| country
| The series' originating country; displayed before "viewers".<br />(Exclusion capitalized "Viewers"; inclusion un-capitalizes "viewers".)<br />''Format:'' U.S.
| String
| Optional / Unrequired when ''viewers'' is not set
|-
! Viewers type
| viewers_type
| The numeric format that viewers are grouped within the episode table. Set to "millions" by default. Including the parameter but leaving it blank will disclude the bracketed format.<br />''Format:'' thousands
| String
| Optional
|-
! Variable Content
| {variable}T
| Custom content of any cell (e.g. overallT, titleT).<br />''Format:'' Any string
| String
| Optional / Required when ''aux''{1-4} and ''altdate'' set
|-
! Reference
| {variable}R
| Reference for any cell (e.g. overallR, titleR). If Wikipedia's link colours are not WCAG 2 AAA Compliant with the background colour, {{tl|Episode table/ref}} is used to provide the reference with a compliant background colour.<br />''Format:'' Reference
| Reference
| Optional
|-
! Episodes
| episodes
| An infinite number of consecutive episode rows.<br />''Format:'' {{tl|Episode list}} or {{tl|Episode table/part}}
| Template
| Required when using {{tl|Episode list}}
|-
! Don't Close
| dontclose
| Set this parameter to "y" to be able to close the initial wikicode declaration of the episode table, but to be able to continue displaying the separate episode rows after the header but outside of the initial declaration. Particularly useful for when the individual rows have to be transcluded outside of the article and thus must be outside of a template, or in articles with lots of templates that would otherwise exceed the [[WP:PEIS|post-expand include size]] limit. To close the initial declaration, {{tlx|End|html{{=}}y|Episode table}} must be used.
| Text
| Optional
|}
 
{{small|<nowiki>*</nowiki>: ''These variables can be included but not set to a value, e.g. '''<nowiki>|title=</nowiki>''', which will include the cell but not set a width to it.''}}
 
== TemplateData ==
{{Collapse top|title=[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools}}
{{TemplateData header|noheader=1}}
<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 release date\"."
},
"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 {{Episode list}}"
},
"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",
"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": "{{_ |_=_\n}}"
}
</templatedata>
{{Collapse bottom}}
 
== Tracking category ==
<section begin=Tracking/>
* {{clc|Articles using Template:Episode table with a visible caption}}
* {{clc|Articles using Template:Episode table with invalid colour combination}}
* {{clc|Pages using episode table with unknown parameters}}<section end=Tracking/>
 
==See also==
* {{tlx|Episode table/part}}
* {{tlx|Episode table/ref}}
{{Film- and television-related infobox templates|state=expanded}}
 
<includeonly>{{Sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Television episode list templates]]
[[Category:Television-related modules]]
[[Category:Table templates]]
[[Category:Modules that add a tracking category]]
}}</includeonly>
}}</includeonly><noinclude>
[[Category:Module documentation pages]]
</noinclude>

Revision as of 21:10, 3 February 2025

Script error: No such module "High-use".

Lua error in package.lua at line 80: module 'Module:Yesno' not found. Script error: No such module "Uses TemplateStyles".

Usage

Creates one of three usages related to {{Episode table}} with the parameters defined in the documentation of the template:

A standard episode table with

A row for a parted season with

A white background for references used in the header row of episode tables with

Tracking categories

Template:Episode table/doc