Difference between revisions of "Template:Episode list/doc"
imported>Gonnym (removed values from {{High-use}} as it updates automatically) |
|||
| (129 intermediate revisions by 41 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {{ | + | {{Documentation subpage}} |
| − | <!-- | + | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[</nowiki>[[Wikipedia:Wikidata]]<nowiki>]]) --> |
| − | {{ | + | {{High-use}} |
| + | {{Lua|Module:Episode list}} | ||
| − | + | '''Episode list''' creates a [[Help:Table|table]] row, for use in a list of episodes tables, primarily for [[Wikipedia:Manual of Style/Television|television]]. This template can be used in conjunction with {{tl|Episode table}} which creates a consistent and [[Manual of Style]] ready table, or with a manually created table. See [[#Complete usage walk-through|walk-through]] for further explanation. | |
| + | |||
| + | == Usage == | ||
| + | {{tl|Episode list}} may be added by pasting it as shown below into an article, either inside an {{tl|Episode table}} template, or be placed inside a manually created table. The number and the type of columns a table has, is defined by the table header, and is not defined by this template. In order for this template to provide a table column for a given episode, parameters must either be included or excluded. An included parameter, although empty, will provide a cell for that field (and thus a column), while excluding a parameter will not provide a cell for that field. Empty cells will be automatically filled with "TBA" or "N/A". | ||
| + | |||
| + | <pre style="overflow:auto;"> | ||
| + | {{Episode list | ||
| + | | EpisodeNumber = | ||
| + | | EpisodeNumber2 = | ||
| + | | Title = | ||
| + | | RTitle = | ||
| + | | AltTitle = | ||
| + | | RAltTitle = | ||
| + | | TranslitTitle = | ||
| + | | NativeTitle = | ||
| + | | NativeTitleLangCode = | ||
| + | | Aux1 = | ||
| + | | DirectedBy = | ||
| + | | WrittenBy = | ||
| + | | Aux2 = | ||
| + | | Aux3 = | ||
| + | | OriginalAirDate = <!-- {{Start date|YYYY|MM|DD|df=}} --> | ||
| + | | AltDate = | ||
| + | | ProdCode = | ||
| + | | Viewers = | ||
| + | | Aux4 = | ||
| + | | ShortSummary = <!-- Don't add copyrighted text, e.g. from the show's website --> | ||
| + | | LineColor = | ||
| + | | TopColor = | ||
| + | | RowColor = | ||
| + | }} | ||
| + | </pre> | ||
| + | |||
| + | {{Episode table |background= |overall= |season= |title= |aux1= |aux1T=Aux1 |director= |writer= |aux2= |aux2T=Aux2 |aux3= |aux3T=Aux3 |airdate= |altdate= |altdateT=AltDate |prodcode= |viewers= |country=U.S. |aux4= |aux4T=Aux4 |episodes= | ||
| + | {{Episode list | ||
| + | | EpisodeNumber = {{{EpisodeNumber}}} | ||
| + | | EpisodeNumber2 = {{{EpisodeNumber2}}} | ||
| + | | Title = {{{Title}}} | ||
| + | | RTitle = {{{RTitle}}} | ||
| + | | AltTitle = {{{AltTitle}}} | ||
| + | | RAltTitle = {{{RAltTitle}}} | ||
| + | | Aux1 = {{{Aux1}}} | ||
| + | | DirectedBy = {{{DirectedBy}}} | ||
| + | | WrittenBy = {{{WrittenBy}}} | ||
| + | | Aux2 = {{{Aux2}}} | ||
| + | | Aux3 = {{{Aux3}}} | ||
| + | | OriginalAirDate = {{{OriginalAirDate}}} | ||
| + | | AltDate = {{{AltDate}}} | ||
| + | | ProdCode = {{{ProdCode}}} | ||
| + | | Viewers = {{{Viewers}}} | ||
| + | | Aux4 = {{{Aux4}}} | ||
| + | | ShortSummary = {{{ShortSummary}}} | ||
| + | }} | ||
| + | }} | ||
== Parameters == | == Parameters == | ||
| − | {| class="wikitable | + | |
| + | {| class="wikitable" | ||
|+ ''Episode list'' parameters and basic guidelines | |+ ''Episode list'' parameters and basic guidelines | ||
| − | ! scope="col | + | ! scope="col" | Parameter |
| − | + | ! scope="col" | Explanation | |
| − | |||
| − | ! scope="col | ||
|- | |- | ||
| − | | | + | ! scope="row" | 1 |
| − | | | + | | The title of the article the table is located in. |
| − | |||
| − | |||
|- | |- | ||
| − | | | + | ! scope="row" | NumParts |
| − | | | + | | The number of titles an episode has or the number of serials a story has. See examples section for usage. |
| − | | A | + | |- id="EpisodeNumber" |
| + | ! EpisodeNumber | ||
| + | | A number representing the episode's order in the series. For example, the first episode would be <code>1</code> or <code>01</code>, and so on. When defined, the specified number also generates a [[:Template:Anchor|link anchor]], prefixed by "<code>ep</code>"; for example, "<code><nowiki>[[List of episodes#ep1]]</nowiki></code>" or "<code><nowiki>[[List of episodes#ep01]]</nowiki></code>". In creating the anchor, only the first alphanumeric characters are used for the anchor, ignoring any special characters or anything that follows; that is, if the episode spans episode numbers 87 and 88, for example, then <code><nowiki>[[List of episodes#ep87]]</nowiki></code> will link directly to the episode, regardless of if the episode number is displayed as <code><nowiki>87–88</nowiki></code>, <code><nowiki>87-88</nowiki></code>, <code><nowiki>87<hr>88</nowiki></code>, <code><nowiki>87<br>88</nowiki></code>, <code><nowiki>87, 88</nowiki></code>, etc. 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}}; see more at {{slink|Template:Episode table|Anchor}}. | ||
|- | |- | ||
| − | | ' | + | ! scope="row" | EpisodeNumber2 |
| − | | | + | | A second episode number column. Typically used to indicate the episode's order in the season. This parameter can also be useful for when a series aired in a different order. |
| + | |- | ||
| + | ! scope="row" | Title | ||
| The title of the episode. The title will appear in "quotes" when rendered, so it is not necessary to place them in quotes beforehand. Only link to an episode article if it has already been created. | | The title of the episode. The title will appear in "quotes" when rendered, so it is not necessary to place them in quotes beforehand. Only link to an episode article if it has already been created. | ||
| − | |||
|- | |- | ||
| − | | | + | ! scope="row" | {{Unbulleted list|Title_1|Title_2|etc.}} |
| − | | | + | | The title of the episode. Used when {{para|NumParts}} is used, as there are multiple titles for an episode, and should be used instead of {{para|Title}}. The number of titles should not exceed the number set in {{para|NumParts}}. |
| − | | | ||
| − | |||
|- | |- | ||
| − | | | + | ! scope="row" | RTitle |
| − | | | + | | Unformatted parameter that can be used to add a [[WP:CITE|reference]] after {{para|Title}}, or can be used as a "{{strong|raw}} title" to replace {{para|Title}} completely. Future episodes should include a reference in this field to comply with [[Wikipedia:Verifiability]]. |
| − | | | ||
| − | |||
|- | |- | ||
| − | | | + | ! scope="row" | {{Unbulleted list|RTitle_1|RTitle_2|etc.}} |
| − | | | + | | Unformatted parameter that can be used to add a reference after {{para|Title}}, or can be used as a "{{strong|raw}} title" to replace {{para|Title}} completely. Used when {{para|NumParts}} is used, as there are multiple titles for an episode, and should be used instead of {{para|RTitle}}. The number of titles should not exceed the number set in {{para|NumParts}}. |
| − | | Unformatted parameter that can be used to add a | ||
| − | | | ||
|- | |- | ||
| − | | | + | ! scope="row" | AltTitle |
| − | | | + | | An alternative title, such as a title that was originally changed. The title will appear in "quotes" when rendered. If {{para|Title}} is also present, it will be listed below. |
| + | |- | ||
| + | ! scope="row" | {{Unbulleted list|AltTitle_1|AltTitle_2|etc.}} | ||
| + | | An alternative title, such as a title that was originally changed. Used when {{para|NumParts}} is used, as there are multiple titles for an episode, and should be used instead of {{para|AltTitle}}. The number of titles should not exceed the number set in {{para|NumParts}}. | ||
| + | |- | ||
| + | ! scope="row" | RAltTitle | ||
| + | | Unformatted parameter that can be used to add a [[WP:CITE|reference]] after {{para|AltTitle}}, or can be used as a "{{strong|raw}} title" to replace {{para|AltTitle}} completely. | ||
| + | |- | ||
| + | ! scope="row" | {{Unbulleted list|RAltTitle_1|RAltTitle_2|etc.}} | ||
| + | | Unformatted parameter that can be used to add a reference after {{para|AltTitle}}, or can be used as a "{{strong|raw}} title" to replace {{para|AltTitle}} completely. Used when {{para|NumParts}} is used, as there are multiple titles for an episode, and should be used instead of {{para|RAltTitle}}. The number of titles should not exceed the number set in {{para|NumParts}}. | ||
| + | |- | ||
| + | ! scope="row" | TranslitTitle | ||
| + | | The title of the episode transliteration (Romanization) to Latin characters. | ||
| + | |- | ||
| + | ! scope="row" | {{Unbulleted list|TranslitTitle_1|TranslitTitle_2|etc.}} | ||
| + | | The title of the episode transliteration (Romanization) to Latin characters. Used when {{para|NumParts}} is used, as there are multiple titles for an episode, and should be used instead of {{para|TranslitTitle}}. The number of titles should not exceed the number set in {{para|NumParts}}. | ||
| + | |- | ||
| + | ! scope="row" | NativeTitle | ||
| + | | The title of the episode in the native language. | ||
| + | |- | ||
| + | ! scope="row" | {{Unbulleted list|NativeTitle_1|NativeTitle_2|etc.}} | ||
| + | | The title of the episode in the native language. Used when {{para|NumParts}} is used, as there are multiple titles for an episode, and should be used instead of {{para|NativeTitle}}. The number of titles should not exceed the number set in {{para|NumParts}}. | ||
| + | |- | ||
| + | ! scope="row" | NativeTitleLangCode | ||
| + | | The language code of the native title language. | ||
| + | |- | ||
| + | ! scope="row" | Aux1 | ||
| General purpose parameter. The meaning is specified by the column header. | | General purpose parameter. The meaning is specified by the column header. | ||
| − | |||
|- | |- | ||
| − | | | + | ! scope="row" | {{Unbulleted list|Aux1_1|Aux1_2|etc.}} |
| − | | | + | | The title of the serial. Used when {{para|NumParts}} is used, as there are multiple serials in a story, and should be used instead of {{para|Aux1}}. The number of titles should not exceed the number set in {{para|NumParts}}. |
| − | | | ||
|- | |- | ||
| − | | | + | ! scope="row" | DirectedBy |
| − | | | + | | Name of the episode's director. |
| − | |||
|- | |- | ||
| − | | ' | + | ! scope="row" | WrittenBy |
| − | | | + | | Name of the credited episode's writer(s). |
| + | |- | ||
| + | ! scope="row" | Aux2 | ||
| General purpose parameter. The meaning is specified by the column header. | | General purpose parameter. The meaning is specified by the column header. | ||
|- | |- | ||
| − | | | + | ! scope="row" | Aux3 |
| − | |||
| General purpose parameter. The meaning is specified by the column header. | | General purpose parameter. The meaning is specified by the column header. | ||
|- | |- | ||
| − | | | + | ! scope="row" | OriginalAirDate |
| − | | | + | | The date the episode first aired, or is scheduled to air. Format date using {{tl|Start date}}; use {{para|df|y}} for day-first format; omit for month-first. |
| − | |||
| − | |||
|- | |- | ||
| − | | | + | ! scope="row" | {{Unbulleted list|OriginalAirDate_1|OriginalAirDate_2|etc.}} |
| − | | | + | | The date the episode first aired, or is scheduled to air. Used when {{para|NumParts}} is used, as there are multiple serials in a story, and should be used instead of {{para|OriginalAirDate}}. The number of dates should not exceed the number set in {{para|NumParts}}. |
| − | | The | ||
| − | | | ||
|- | |- | ||
| − | | ' | + | ! scope="row" | AltDate |
| − | | | + | | The next notable air date, such as the first air date of an anime in English. Format date per [[MOS:DATE]]. Do not use {{tl|Start date}} if {{para|OriginalAirDate}} is present.<ref group="N">{{tl|Start date}} emits [[metadata]] as part of the parent template's [[hCalendar]] microformat. It is only needed once per episode, and may be harmful if used twice or more.</ref> |
| + | |- | ||
| + | ! scope="row" | ProdCode | ||
| The production code in the series. When defined, this parameter also creates a link anchor, prefixed by "<code>pc</code>"; for example, "<code><nowiki>[[List of episodes#pc01]]</nowiki></code>". | | The production code in the series. When defined, this parameter also creates a link anchor, prefixed by "<code>pc</code>"; for example, "<code><nowiki>[[List of episodes#pc01]]</nowiki></code>". | ||
| − | |||
|- | |- | ||
| − | | | + | ! scope="row" | Viewers |
| − | | | + | | The number of viewers who watched the episode. Should include a reference. The inclusion of viewer figures is supported by [[MOS:TV]] and provides encyclopedic content beyond what might normally be found in a TV guide. It is therefore desirable to include referenced ratings information in an episode list. "Final" viewer numbers should be used. |
| − | + | |- | |
| − | | | + | ! scope="row" | {{Unbulleted list|Viewers_1|Viewers_2|etc.}} |
| + | | The number of viewers who watched the episode. Used when {{para|NumParts}} is used, as there are multiple serials in a story, and should be used instead of {{para|Viewers}}. The number of parameters should not exceed the number set in {{para|NumParts}}. | ||
| + | |- | ||
| + | ! scope="row" | Aux4 | ||
| + | | General purpose parameter. The meaning is specified by the column header. | ||
|- | |- | ||
| − | | | + | ! scope="row" | {{Unbulleted list|Aux4_1|Aux4_2|etc.}} |
| − | | | + | | General purpose parameter. Used when {{para|NumParts}} is, as there are multiple serials in a story, and should be used instead of {{para|Aux4}}. The number of parameters should not exceed the number set in {{para|NumParts}}. |
| − | | | ||
| − | |||
|- | |- | ||
| − | | | + | ! scope="row" | ShortSummary |
| − | | | + | | {{anchor|ShortSummary}}A short 100–200 word plot summary of the episode. Make summaries specific to that episode (as in, a description that would normally not be confused with another episode). Episode summaries must not be copied from other sources, as this violates [[WP:COPYRIGHT]]. Further guidance on plot summaries may be found at [[WP:TVPLOT]]. Leaving this parameter empty will result in the summary row not appearing for the episode. If <code><nowiki>{{Episode list/sublist}}</nowiki></code> is used then the page name must be specified to display the summary there, e.g. <code><nowiki>{{Episode list/sublist|List of Carnivàle episodes|...}}</nowiki></code>. The summary will not appear if the code is transcluded in another page. |
| − | | A short | ||
|- | |- | ||
| − | | | + | ! scope="row" | LineColor |
| − | + | | Colors the separator line between episode entries. If not defined the color defaults to "<code>#CCCCFF</code>" and the article populates [[:Category:Episode list using the default LineColor]]. Use of anything but a valid hex code will result in an invalid syntax. | |
| − | | Colors the separator line between episode entries. If not defined the color defaults to "<code>#CCCCFF</code>". Use of | ||
| − | |||
|- | |- | ||
| − | | | + | ! scope="row" | TopColor |
| − | + | | Colors the main row of information (that is, not the {{para|ShortSummary}} row). If not defined, it defaults to the wikitable standard background shading of "<code>#F9F9F9</code>", except when {{para|ShortSummary}} is used, and then it defaults to "<code>#f2f2f2</code>". The excessive use of the parameter is discouraged by Wikipedia's guideline on [[WP:Deviations|styles and markup options]]. Articles using this parameter are in [[:Category:Episode lists with row deviations]]. | |
| − | | Colors the main row of information (that is, not the | ||
|- | |- | ||
| − | | | + | ! scope="row" | RowColor |
| − | + | | This parameter is a "switch" that must only be defined when the {{para|EpisodeNumber}} value is not a regular number (e.g. "12–13" for two episodes described in one table entry). When [[Wikipedia:Transclusion|transcluding]] the table from a season article into a main episode list article, irregular {{para|EpisodeNumber}} values break up the striping effect the template introduces. If the first episode number is even, set {{para|RowColor|on}}. If the first episode number is odd, set {{para|RowColor|off}}. All further uses of [[Template:Episode list]] in the table must also have the {{para|RowColor}} parameters defined to alternate between <code>off</code> and <code>on</code> to avoid further breakages in the striping. | |
| − | | This parameter is a "switch" that must only be defined when the | ||
| − | |||
|} | |} | ||
| − | This is | + | ===TemplateData=== |
| − | { | + | {{Collapse top|title=[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools}} |
| − | + | {{TemplateData header|noheader=1}} | |
| − | + | <templatedata> | |
| − | + | { | |
| − | < | + | "description": "This template creates a table row, for use in a list of episodes, primarily for television. The number, and use, of columns a table has, is defined by the beginning wikitext of that table (further explained below), and is not defined by this template. In order for this template to provide a table column for a given episode, parameters must either be included or excluded. An included parameter, although empty, will provide a cell for that field (and thus column), while excluding a parameter will not provide a cell for that field. Empty cells will be automatically filled with {{TableTBA}}. It is used within {{Episode table}}.", |
| − | + | "params": { | |
| − | + | "1": { | |
| − | + | "label": "Article name", | |
| − | + | "type": "string", | |
| − | + | "required": true, | |
| − | + | "suggested": true, | |
| − | + | "deprecated": false, | |
| − | + | "description": "The title of the article the table is located in." | |
| − | + | }, | |
| − | + | "NumParts": { | |
| − | + | "label": "Number of parts", | |
| − | + | "type": "number", | |
| − | + | "required": false, | |
| − | + | "suggested": false, | |
| + | "deprecated": false, | ||
| + | "description": "The number of titles an episode has or the number of serials a story has." | ||
| + | }, | ||
| + | "EpisodeNumber": { | ||
| + | "label": "Episode number", | ||
| + | "type": "number", | ||
| + | "required": false, | ||
| + | "suggested": true, | ||
| + | "deprecated": false, | ||
| + | "description": "A number representing the episode's order in the series. For example, the first episode would be <code>1</code> or <code>01</code>, and so on." | ||
| + | }, | ||
| + | "EpisodeNumber2": { | ||
| + | "label": "Second episode number", | ||
| + | "type": "number", | ||
| + | "required": false, | ||
| + | "suggested": true, | ||
| + | "deprecated": false, | ||
| + | "description": "A second episode number column. Typically used to indicate the episode's order in the season. This parameter can also be useful for when a series aired in a different order." | ||
| + | }, | ||
| + | "Title": { | ||
| + | "label": "Title", | ||
| + | "type": "wiki-page-name", | ||
| + | "required": false, | ||
| + | "suggested": true, | ||
| + | "deprecated": false, | ||
| + | "description": "The title of the episode. The title will appear in \"quotes\" when rendered, so it is not necessary to place them in quotes beforehand. Only link to an episode article if it has already been created." | ||
| + | }, | ||
| + | "RTitle": { | ||
| + | "label": "Title reference (or title raw)", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "Unformatted parameter that can be used to add a reference after \"Title\", or can be used as a \"raw title\" to replace \"Title\" completely. Future episodes should include a reference in this field to comply with Unformatted parameter that can be used to add a [[WP:CITE|reference]] after {{para|Title}}, or can be used as a \"{{strong|raw}} title\" to replace {{para|Title}} completely. Future episodes should include a reference in this field to comply with [[Wikipedia:Verifiability]]." | ||
| + | }, | ||
| + | "AltTitle": { | ||
| + | "label": "Alternative title", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "An alternative title, such as a title that was originally changed. The title will appear in \"quotes\" when rendered. If {{para|Title}} is also present, it will be listed below." | ||
| + | }, | ||
| + | "RAltTitle": { | ||
| + | "label": "Alternative title's reference (or alternative title raw)", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "Unformatted parameter that can be used to add a [[WP:CITE|reference]] after {{para|AltTitle}}, or can be used as a \"{{strong|raw}} title\" to replace {{para|AltTitle}} completely." | ||
| + | }, | ||
| + | "TranslitTitle": { | ||
| + | "label": "Transliteration title", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "The title of the episode transliteration (Romanization) to Latin characters." | ||
| + | }, | ||
| + | "NativeTitle": { | ||
| + | "label": "Native title", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "The title of the episode in the native language." | ||
| + | }, | ||
| + | "NativeTitleLangCode": { | ||
| + | "label": "Native title language code", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "The language code of the native title language." | ||
| + | }, | ||
| + | "Aux1": { | ||
| + | "label": "Extra column 1", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "General purpose parameter. The meaning is specified by the column header." | ||
| + | }, | ||
| + | "DirectedBy": { | ||
| + | "label": "Directed by", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": true, | ||
| + | "deprecated": false, | ||
| + | "description": "Name of the episode's director." | ||
| + | }, | ||
| + | "WrittenBy": { | ||
| + | "label": "Written by", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": true, | ||
| + | "deprecated": false, | ||
| + | "description": "Name of the credited episode's writer(s)." | ||
| + | }, | ||
| + | "Aux2": { | ||
| + | "label": "Extra column 2", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "General purpose parameter. The meaning is specified by the column header." | ||
| + | }, | ||
| + | "Aux3": { | ||
| + | "label": "Extra column 3", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "General purpose parameter. The meaning is specified by the column header." | ||
| + | }, | ||
| + | "OriginalAirDate": { | ||
| + | "label": "Original air date", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": true, | ||
| + | "deprecated": false, | ||
| + | "description": "The date the episode first aired, or is scheduled to air. Format date using {{tl|Start date}}; use {{para|df|y}} for day-first format; omit for month-first." | ||
| + | }, | ||
| + | "AltDate": { | ||
| + | "label": "Second notable air date", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "The next notable air date, such as the first air date of an anime in English. Format date per [[MOS:DATE]]. Do not use {{tl|Start date}} if {{para|OriginalAirDate}} is present." | ||
| + | }, | ||
| + | "ProdCode": { | ||
| + | "label": "Production code", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "The production code in the series." | ||
| + | }, | ||
| + | "Viewers": { | ||
| + | "label": "Number of viewers", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": true, | ||
| + | "deprecated": false, | ||
| + | "description": "The number of viewers who watched the episode. Should include a reference." | ||
| + | }, | ||
| + | "Aux4": { | ||
| + | "label": "Extra column 4", | ||
| + | "type": "content", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "General purpose parameter. The meaning is specified by the column header." | ||
| + | }, | ||
| + | "ShortSummary": { | ||
| + | "label": "Short summary", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": true, | ||
| + | "deprecated": false, | ||
| + | "description": "A short 100–200 word plot summary of the episode. Make summaries specific to that episode (as in, a description that would normally not be confused with another episode). Episode summaries must not be copied from other sources, as this violates [[WP:COPYRIGHT]]. " | ||
| + | }, | ||
| + | "LineColor": { | ||
| + | "label": "Border color", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "Colors the separator line between episode entries. If not defined the color defaults to \"<code>#CCCCFF</code>\"." | ||
| + | }, | ||
| + | "TopColor": { | ||
| + | "label": "Top color", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "Colors the main row of information (that is, not the {{para|ShortSummary}} row). If not defined, it defaults to the wikitable standard background shading of \"<code>#F9F9F9</code>\", except when {{para|ShortSummary}} is used, and then it defaults to \"<code>#f2f2f2</code>\"." | ||
| + | }, | ||
| + | "RowColor": { | ||
| + | "label": "Row banding color override", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "This parameter is a \"switch\" that must only be defined when the {{para|EpisodeNumber}} value is not a regular number (e.g. \"12–13\" for two episodes described in one table entry). When [[Wikipedia:Transclusion|transcluding]] the table from a season article into a main episode list article, irregular {{para|EpisodeNumber}} values break up the striping effect the template introduces. If the first episode number is even, set {{para|RowColor|on}}. If the first episode number is odd, set {{para|RowColor|off}}. All further uses of [[Template:Episode list]] in the table must also have the {{para|RowColor}} parameters defined to alternate between <code>off</code> and <code>on</code> to avoid further breakages in the striping." | ||
| + | }, | ||
| + | "Title_1": { | ||
| + | "label": "Title in multi-part episode", | ||
| + | "type": "wiki-page-name", | ||
| + | "required": false, | ||
| + | "suggested": true, | ||
| + | "deprecated": false, | ||
| + | "description": "The title of the episode. Used when {{para|NumParts}} is used, as there are multiple titles for an episode, and should be used instead of {{para|Title}}. The number of titles should not exceed the number set in {{para|NumParts}}." | ||
| + | }, | ||
| + | "Title_2": { | ||
| + | "inherits": "Title_1" | ||
| + | }, | ||
| + | "Title_3": { | ||
| + | "inherits": "Title_1" | ||
| + | }, | ||
| + | "Title_4": { | ||
| + | "inherits": "Title_1" | ||
| + | }, | ||
| + | "Title_5": { | ||
| + | "inherits": "Title_1" | ||
| + | }, | ||
| + | "Title_6": { | ||
| + | "inherits": "Title_1" | ||
| + | }, | ||
| + | "Title_7": { | ||
| + | "inherits": "Title_1" | ||
| + | }, | ||
| + | "Title_8": { | ||
| + | "inherits": "Title_1" | ||
| + | }, | ||
| + | "Title_9": { | ||
| + | "inherits": "Title_1" | ||
| + | }, | ||
| + | "RTitle_1": { | ||
| + | "label": "Title reference (or title raw) in multi-part episode", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "Unformatted parameter that can be used to add a [[WP:CITE|reference]] after {{para|Title}}, or can be used as a \"{{strong|raw}} title\" to replace {{para|Title}} completely. Used when {{para|NumParts}} is used, as there are multiple titles for an episode, and should be used instead of {{para|RTitle}}. The number of titles should not exceed the number set in {{para|NumParts}}." | ||
| + | }, | ||
| + | "RTitle_2": { | ||
| + | "inherits": "RTitle_1" | ||
| + | }, | ||
| + | "RTitle_3": { | ||
| + | "inherits": "RTitle_1" | ||
| + | }, | ||
| + | "RTitle_4": { | ||
| + | "inherits": "RTitle_1" | ||
| + | }, | ||
| + | "RTitle_5": { | ||
| + | "inherits": "RTitle_1" | ||
| + | }, | ||
| + | "RTitle_6": { | ||
| + | "inherits": "RTitle_1" | ||
| + | }, | ||
| + | "RTitle_7": { | ||
| + | "inherits": "RTitle_1" | ||
| + | }, | ||
| + | "RTitle_8": { | ||
| + | "inherits": "RTitle_1" | ||
| + | }, | ||
| + | "RTitle_9": { | ||
| + | "inherits": "RTitle_1" | ||
| + | }, | ||
| + | "AltTitle_1": { | ||
| + | "label": "Alternative title in multi-part episode", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "An alternative title, such as a title that was originally changed. Used when {{para|NumParts}} is used, as there are multiple titles for an episode, and should be used instead of {{para|AltTitle}}. The number of titles should not exceed the number set in {{para|NumParts}}." | ||
| + | }, | ||
| + | "AltTitle_2": { | ||
| + | "inherits": "AltTitle_1" | ||
| + | }, | ||
| + | "AltTitle_3": { | ||
| + | "inherits": "AltTitle_1" | ||
| + | }, | ||
| + | "AltTitle_4": { | ||
| + | "inherits": "AltTitle_1" | ||
| + | }, | ||
| + | "AltTitle_5": { | ||
| + | "inherits": "AltTitle_1" | ||
| + | }, | ||
| + | "AltTitle_6": { | ||
| + | "inherits": "AltTitle_1" | ||
| + | }, | ||
| + | "AltTitle_7": { | ||
| + | "inherits": "AltTitle_1" | ||
| + | }, | ||
| + | "AltTitle_8": { | ||
| + | "inherits": "AltTitle_1" | ||
| + | }, | ||
| + | "AltTitle_9": { | ||
| + | "inherits": "AltTitle_1" | ||
| + | }, | ||
| + | "RAltTitle_1": { | ||
| + | "label": "Alternative title's reference (or alternative title raw) in multi-part episode", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "Unformatted parameter that can be used to add a [[WP:CITE|reference]] after {{para|AltTitle}}, or can be used as a \"{{strong|raw}} title\" to replace {{para|AltTitle}} completely. Used when {{para|NumParts}} is used, as there are multiple titles for an episode, and should be used instead of {{para|RAltTitle}}. The number of titles should not exceed the number set in {{para|NumParts}}." | ||
| + | }, | ||
| + | "RAltTitle_2": { | ||
| + | "inherits": "RAltTitle_1" | ||
| + | }, | ||
| + | "RAltTitle_3": { | ||
| + | "inherits": "RAltTitle_1" | ||
| + | }, | ||
| + | "RAltTitle_4": { | ||
| + | "inherits": "RAltTitle_1" | ||
| + | }, | ||
| + | "RAltTitle_5": { | ||
| + | "inherits": "RAltTitle_1" | ||
| + | }, | ||
| + | "RAltTitle_6": { | ||
| + | "inherits": "RAltTitle_1" | ||
| + | }, | ||
| + | "RAltTitle_7": { | ||
| + | "inherits": "RAltTitle_1" | ||
| + | }, | ||
| + | "RAltTitle_8": { | ||
| + | "inherits": "RAltTitle_1" | ||
| + | }, | ||
| + | "RAltTitle_9": { | ||
| + | "inherits": "RAltTitle_1" | ||
| + | }, | ||
| + | "TranslitTitle_1": { | ||
| + | "label": "Transliteration title in multi-part episode", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "The title of the episode transliteration (Romanization) to Latin characters. Used when {{para|NumParts}} is used, as there are multiple titles for an episode, and should be used instead of {{para|TranslitTitle}}. The number of titles should not exceed the number set in {{para|NumParts}}." | ||
| + | }, | ||
| + | "TranslitTitle_2": { | ||
| + | "inherits": "TranslitTitle_1" | ||
| + | }, | ||
| + | "TranslitTitle_3": { | ||
| + | "inherits": "TranslitTitle_1" | ||
| + | }, | ||
| + | "TranslitTitle_4": { | ||
| + | "inherits": "TranslitTitle_1" | ||
| + | }, | ||
| + | "TranslitTitle_5": { | ||
| + | "inherits": "TranslitTitle_1" | ||
| + | }, | ||
| + | "TranslitTitle_6": { | ||
| + | "inherits": "TranslitTitle_1" | ||
| + | }, | ||
| + | "TranslitTitle_7": { | ||
| + | "inherits": "TranslitTitle_1" | ||
| + | }, | ||
| + | "TranslitTitle_8": { | ||
| + | "inherits": "TranslitTitle_1" | ||
| + | }, | ||
| + | "TranslitTitle_9": { | ||
| + | "inherits": "TranslitTitle_1" | ||
| + | }, | ||
| + | "NativeTitle_1": { | ||
| + | "label": "Native title in multi-part episode", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "The title of the episode in the native language. Used when {{para|NumParts}} is used, as there are multiple titles for an episode, and should be used instead of {{para|NativeTitle}}. The number of titles should not exceed the number set in {{para|NumParts}}." | ||
| + | }, | ||
| + | "NativeTitle_2": { | ||
| + | "inherits": "NativeTitle_1" | ||
| + | }, | ||
| + | "NativeTitle_3": { | ||
| + | "inherits": "NativeTitle_1" | ||
| + | }, | ||
| + | "NativeTitle_4": { | ||
| + | "inherits": "NativeTitle_1" | ||
| + | }, | ||
| + | "NativeTitle_5": { | ||
| + | "inherits": "NativeTitle_1" | ||
| + | }, | ||
| + | "NativeTitle_6": { | ||
| + | "inherits": "NativeTitle_1" | ||
| + | }, | ||
| + | "NativeTitle_7": { | ||
| + | "inherits": "NativeTitle_1" | ||
| + | }, | ||
| + | "NativeTitle_8": { | ||
| + | "inherits": "NativeTitle_1" | ||
| + | }, | ||
| + | "NativeTitle_9": { | ||
| + | "inherits": "NativeTitle_1" | ||
| + | }, | ||
| + | "Aux1_1": { | ||
| + | "label": "Extra column 1", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "The title of the serial. Used when {{para|NumParts}} is used, as there are multiple titles for an episode, and should be used instead of {{para|Aux1}}. The number of titles should not exceed the number set in {{para|NumParts}}." | ||
| + | }, | ||
| + | "Aux1_2": { | ||
| + | "inherits": "Aux1_1" | ||
| + | }, | ||
| + | "Aux1_3": { | ||
| + | "inherits": "Aux1_1" | ||
| + | }, | ||
| + | "Aux1_4": { | ||
| + | "inherits": "Aux1_1" | ||
| + | }, | ||
| + | "Aux1_5": { | ||
| + | "inherits": "Aux1_1" | ||
| + | }, | ||
| + | "Aux1_6": { | ||
| + | "inherits": "Aux1_1" | ||
| + | }, | ||
| + | "Aux1_7": { | ||
| + | "inherits": "Aux1_1" | ||
| + | }, | ||
| + | "Aux1_8": { | ||
| + | "inherits": "Aux1_1" | ||
| + | }, | ||
| + | "Aux1_9": { | ||
| + | "inherits": "Aux1_1" | ||
| + | }, | ||
| + | "OriginalAirDate_1": { | ||
| + | "label": "Original air date", | ||
| + | "type": "date", | ||
| + | "required": false, | ||
| + | "suggested": true, | ||
| + | "deprecated": false, | ||
| + | "description": "The date the episode first aired, or is scheduled to air. Used when {{para|NumParts}} is used, as there are multiple serials in a story, and should be used instead of {{para|OriginalAirDate}}. The number of dates should not exceed the number set in {{para|NumParts}}." | ||
| + | }, | ||
| + | "OriginalAirDate_2": { | ||
| + | "inherits": "OriginalAirDate_1" | ||
| + | }, | ||
| + | "OriginalAirDate_3": { | ||
| + | "inherits": "OriginalAirDate_1" | ||
| + | }, | ||
| + | "OriginalAirDate_4": { | ||
| + | "inherits": "OriginalAirDate_1" | ||
| + | }, | ||
| + | "OriginalAirDate_5": { | ||
| + | "inherits": "OriginalAirDate_1" | ||
| + | }, | ||
| + | "OriginalAirDate_6": { | ||
| + | "inherits": "OriginalAirDate_1" | ||
| + | }, | ||
| + | "OriginalAirDate_7": { | ||
| + | "inherits": "OriginalAirDate_1" | ||
| + | }, | ||
| + | "OriginalAirDate_8": { | ||
| + | "inherits": "OriginalAirDate_1" | ||
| + | }, | ||
| + | "OriginalAirDate_9": { | ||
| + | "inherits": "OriginalAirDate_1" | ||
| + | }, | ||
| + | "Viewers_1": { | ||
| + | "label": "Number of viewers", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": true, | ||
| + | "deprecated": false, | ||
| + | "description": "The number of viewers who watched the episode. Used when {{para|NumParts}} is used, as there are multiple serials in a story, and should be used instead of {{para|Viewers}}. The number of dates should not exceed the number set in {{para|NumParts}}." | ||
| + | }, | ||
| + | "Viewers_2": { | ||
| + | "inherits": "Viewers_1" | ||
| + | }, | ||
| + | "Viewers_3": { | ||
| + | "inherits": "Viewers_1" | ||
| + | }, | ||
| + | "Viewers_4": { | ||
| + | "inherits": "Viewers_1" | ||
| + | }, | ||
| + | "Viewers_5": { | ||
| + | "inherits": "Viewers_1" | ||
| + | }, | ||
| + | "Viewers_6": { | ||
| + | "inherits": "Viewers_1" | ||
| + | }, | ||
| + | "Viewers_7": { | ||
| + | "inherits": "Viewers_1" | ||
| + | }, | ||
| + | "Viewers_8": { | ||
| + | "inherits": "Viewers_1" | ||
| + | }, | ||
| + | "Viewers_9": { | ||
| + | "inherits": "Viewers_1" | ||
| + | }, | ||
| + | "Aux4_1": { | ||
| + | "label": "Extra column 4", | ||
| + | "type": "content", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "General purpose parameter. The meaning is specified by the column header. Used when {{para|NumParts}} is used, as there are multiple serials in a story, and should be used instead of {{para|Aux4}}. The number of dates should not exceed the number set in {{para|NumParts}}." | ||
| + | }, | ||
| + | "Aux4_2": { | ||
| + | "inherits": "Aux4_1" | ||
| + | }, | ||
| + | "Aux4_3": { | ||
| + | "inherits": "Aux4_1" | ||
| + | }, | ||
| + | "Aux4_4": { | ||
| + | "inherits": "Aux4_1" | ||
| + | }, | ||
| + | "Aux4_5": { | ||
| + | "inherits": "Aux4_1" | ||
| + | }, | ||
| + | "Aux4_6": { | ||
| + | "inherits": "Aux4_1" | ||
| + | }, | ||
| + | "Aux4_7": { | ||
| + | "inherits": "Aux4_1" | ||
| + | }, | ||
| + | "Aux4_8": { | ||
| + | "inherits": "Aux4_1" | ||
| + | }, | ||
| + | "Aux4_9": { | ||
| + | "inherits": "Aux4_1" | ||
| + | } | ||
| + | }, | ||
| + | "format": "{{_\n| ____________________= _\n}}\n" | ||
| + | } | ||
| + | </templatedata> | ||
| + | {{Collapse bottom}} | ||
| + | |||
| + | == Complete usage walk-through == | ||
| + | To create an episode list, first create the table columns with the use of {{tl|Episode table}} as following: | ||
| + | |||
| + | <pre style="overflow:auto;"> | ||
| + | {{Episode table |overall= |title= |airdate= |prodcode= |episodes= | ||
| + | </pre> | ||
| − | + | Next, add the {{tl|Episode list}} templates below: | |
| − | |||
| − | + | <pre style="overflow:auto;"> | |
| − | <pre> | ||
{{Episode list | {{Episode list | ||
| − | | EpisodeNumber | + | | EpisodeNumber = |
| − | | | + | | Title = |
| − | | | + | | OriginalAirDate = |
| − | | | + | | ProdCode = |
| − | | | + | | ShortSummary = |
| − | + | }} | |
| − | + | {{Episode list | |
| − | | | + | | EpisodeNumber = |
| − | + | | Title = | |
| − | | | + | | OriginalAirDate = |
| − | + | | ProdCode = | |
| − | | OriginalAirDate | + | | ShortSummary = |
| − | |||
| − | | ProdCode | ||
| − | |||
| − | |||
| − | | ShortSummary | ||
| − | |||
}} | }} | ||
</pre> | </pre> | ||
| − | + | Lastly, after the final episode list template, close the {{tl|Episode table}} with: | |
| − | <pre | + | <pre style="overflow:auto;"> |
| − | + | }} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
</pre> | </pre> | ||
| − | The | + | The complete code will look like this: |
| − | <pre> | + | <pre style="overflow:auto;"> |
| + | {{Episode table |overall= |title= |airdate= |prodcode= |episodes= | ||
{{Episode list | {{Episode list | ||
| − | | EpisodeNumber | + | | EpisodeNumber = |
| − | | Title | + | | Title = |
| − | | OriginalAirDate = | + | | OriginalAirDate = |
| − | | ProdCode | + | | ProdCode = |
| − | | ShortSummary | + | | ShortSummary = |
}} | }} | ||
{{Episode list | {{Episode list | ||
| − | | EpisodeNumber | + | | EpisodeNumber = |
| − | | Title | + | | Title = |
| − | | OriginalAirDate = | + | | OriginalAirDate = |
| − | | ProdCode | + | | ProdCode = |
| − | | ShortSummary | + | | ShortSummary = |
| − | + | }} | |
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
</pre> | </pre> | ||
| − | + | == Examples == | |
| − | <pre> | + | === Standard === |
| − | |} | + | To create an episode list with the columns: episode number in series, episode number in season, title, director, writer, show-specific parameter, air date, production code and number of U.S. viewers – add the following code: |
| + | |||
| + | <pre style="overflow:auto;"> | ||
| + | {{Episode table |background=#812f09 |overall= |season= |title= |director= |writer= |aux2= |aux2T=Ben's location |airdate= |prodcode= |viewers= |country=U.S. |episodes= | ||
| + | {{Episode list/sublist|List of Carnivàle episodes | ||
| + | | EpisodeNumber = 1 | ||
| + | | EpisodeNumber2 = 1 | ||
| + | | Title = Milfay | ||
| + | | DirectedBy = [[Rodrigo García (director)|Rodrigo García]] | ||
| + | | WrittenBy = [[Daniel Knauf]] | ||
| + | | Aux2 = [[Milfay, Oklahoma]] | ||
| + | | OriginalAirDate = {{Start date|2003|9|14}} | ||
| + | | ProdCode = 1–01 | ||
| + | | Viewers = 5.3 | ||
| + | | ShortSummary = Ben suffers strange dreams about a trench war, and a tattooed man stalking in a cornfield. | ||
| + | | LineColor = 812f09 | ||
| + | }} | ||
| + | {{Episode list/sublist|List of Carnivàle episodes | ||
| + | | EpisodeNumber = 2 | ||
| + | | EpisodeNumber2 = 2 | ||
| + | | Title = After the Ball Is Over | ||
| + | | DirectedBy = [[Jeremy Podeswa]] | ||
| + | | WrittenBy = Daniel Knauf | ||
| + | | Aux2 = [[Tipton, Missouri]] | ||
| + | | OriginalAirDate = {{Start date|2003|9|21}} | ||
| + | | ProdCode = 1–02 | ||
| + | | Viewers = 3.49 | ||
| + | | ShortSummary = Ben is slowly setting in as a carnival roustabout. | ||
| + | | LineColor = 812f09 | ||
| + | }} | ||
| + | }} | ||
</pre> | </pre> | ||
| − | === | + | {{Episode table |background=#812f09 |overall= |season= |title= |director= |writer= |aux2= |aux2T=Ben's location |airdate= |prodcode= |viewers= |country=U.S. |episodes= |
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
{{Episode list | {{Episode list | ||
| − | | EpisodeNumber | + | | EpisodeNumber = 1 |
| − | | Title = | + | | EpisodeNumber2 = 1 |
| − | | OriginalAirDate = {{ | + | | Title = Milfay |
| − | | ProdCode | + | | DirectedBy = [[Rodrigo García (director)|Rodrigo García]] |
| − | | ShortSummary | + | | WrittenBy = [[Daniel Knauf]] |
| + | | Aux2 = [[Milfay, Oklahoma]] | ||
| + | | OriginalAirDate = {{Start date|2003|9|14}} | ||
| + | | ProdCode = 1–01 | ||
| + | | Viewers = 5.3 | ||
| + | | ShortSummary = Ben suffers strange dreams about a trench war, and a tattooed man stalking in a cornfield. | ||
| + | | LineColor = 812f09 | ||
}} | }} | ||
{{Episode list | {{Episode list | ||
| − | | EpisodeNumber | + | | EpisodeNumber = 2 |
| − | | Title = | + | | EpisodeNumber2 = 2 |
| − | | OriginalAirDate = {{ | + | | Title = After the Ball Is Over |
| − | | ProdCode | + | | DirectedBy = [[Jeremy Podeswa]] |
| − | | ShortSummary | + | | WrittenBy = Daniel Knauf |
| + | | Aux2 = [[Tipton, Missouri]] | ||
| + | | OriginalAirDate = {{Start date|2003|9|21}} | ||
| + | | ProdCode = 1–02 | ||
| + | | Viewers = 3.49 | ||
| + | | ShortSummary = Ben is slowly setting in as a carnival roustabout. | ||
| + | | LineColor = 812f09 | ||
| + | }} | ||
}} | }} | ||
| − | |||
| − | + | === Non-English titles === | |
| − | <pre | + | To create an episode list which includes a native title and/or transliterated title – add the following code: |
| − | + | ||
| − | | | + | <pre style="overflow:auto;"> |
| − | + | {{Episode table |background=#0C5829 |overall= |overallT=Japanese episode {{abbr|no.|number}} |season= |seasonT=U.S. episode {{abbr|no.|number}} |title= |director= |writer= |airdate= |episodes= | |
| − | + | {{Episode list/sublist|List of Pokémon: Indigo League episodes | |
| − | + | | EpisodeNumber = 1 | |
| − | + | | EpisodeNumber2 = 1 | |
| − | ! | + | | Title = [[Pokémon, I Choose You!]] |
| − | + | | RTitle = (Pokémon I Choose You!) | |
| − | + | | TranslitTitle = Pokemon! Kimi ni Kimeta! | |
| − | + | | NativeTitle = ポケモン! きみにきめた! | |
| − | + | | NativeTitleLangCode = ja | |
| + | | DirectedBy = Masamitsu Hidaka | ||
| + | | WrittenBy = [[Shoji Yonemura]] | ||
| + | | OriginalAirDate = {{Start date|1997|4|1}} | ||
| + | | ShortSummary = Ash Ketchum is finally 10 years old, old enough to become a Pokémon Trainer. | ||
| + | | LineColor = #0C5829 | ||
| + | }} | ||
| + | }} | ||
| + | </pre> | ||
| + | |||
| + | {{Episode table |background=#0C5829 |overall= |overallT=Japanese episode {{abbr|no.|number}} |season= |seasonT=U.S. episode {{abbr|no.|number}} |title= |director= |writer= |airdate= |episodes= | ||
{{Episode list | {{Episode list | ||
| − | | EpisodeNumber | + | | EpisodeNumber = 1 |
| − | | EpisodeNumber2 | + | | EpisodeNumber2 = 1 |
| − | | Title | + | | Title = [[Pokémon, I Choose You!]] |
| − | | | + | | RTitle = (Pokémon I Choose You!) |
| − | | | + | | TranslitTitle = Pokemon! Kimi ni Kimeta! |
| − | | | + | | NativeTitle = ポケモン! きみにきめた! |
| − | | OriginalAirDate = {{Start date| | + | | NativeTitleLangCode = ja |
| − | | | + | | DirectedBy = Masamitsu Hidaka |
| − | | | + | | WrittenBy = [[Shoji Yonemura]] |
| − | | ShortSummary | + | | OriginalAirDate = {{Start date|1997|4|1}} |
| − | | LineColor | + | | ShortSummary = Ash Ketchum is finally 10 years old, old enough to become a Pokémon Trainer. |
| + | | LineColor = #0C5829 | ||
| + | }} | ||
| + | }} | ||
| + | |||
| + | === Episode with multiple titles === | ||
| + | To create an episode list which includes an episode with multiple titles – add the following code: | ||
| + | |||
| + | <pre style="overflow:auto;"> | ||
| + | {{Episode table |background=#69D0E3 |overall= |title= |airdate= |episodes= | ||
| + | {{Episode list/sublist|Ninja Nonsense | ||
| + | | NumParts = 2 | ||
| + | | EpisodeNumber = 1 | ||
| + | | Title_1 = Shinobu, the Ninja Apprentice, Appears | ||
| + | | TranslitTitle_1 = Minarai Ninja, Shinobu Kenzan no Maki | ||
| + | | NativeTitle_1 = 見習い忍者、忍見参の巻 | ||
| + | | Title_2 = The Master Appears | ||
| + | | TranslitTitle_2 = Tōryō, Arawaru no Maki | ||
| + | | NativeTitle_2 = 頭領、現るの巻 | ||
| + | | NativeTitleLangCode = ja | ||
| + | | OriginalAirDate = {{Start date|2004|7|8}} | ||
| + | | ShortSummary = Episode summary | ||
| + | | LineColor = #69D0E3 | ||
| + | }} | ||
}} | }} | ||
| + | </pre> | ||
| + | |||
| + | {{Episode table |background=#69D0E3 |overall= |title= |airdate= |episodes= | ||
{{Episode list | {{Episode list | ||
| − | | EpisodeNumber | + | | NumParts = 2 |
| − | | | + | | EpisodeNumber = 1 |
| − | | | + | | Title_1 = Shinobu, the Ninja Apprentice, Appears |
| − | | | + | | TranslitTitle_1 = Minarai Ninja, Shinobu Kenzan no Maki |
| − | | | + | | NativeTitle_1 = 見習い忍者、忍見参の巻 |
| − | | | + | | Title_2 = The Master Appears |
| − | | | + | | TranslitTitle_2 = Tōryō, Arawaru no Maki |
| − | | ProdCode | + | | NativeTitle_2 = 頭領、現るの巻 |
| − | | | + | | NativeTitleLangCode = ja |
| − | | ShortSummary | + | | OriginalAirDate = {{Start date|2004|7|8}} |
| − | | LineColor | + | | ShortSummary = Episode summary |
| + | | LineColor = #69D0E3 | ||
| + | }} | ||
| + | }} | ||
| + | |||
| + | === Serials === | ||
| + | To create an episode list for a serial (such as those used in ''[[Doctor Who]]'') – add the following code: | ||
| + | |||
| + | <pre style="overflow:auto;"> | ||
| + | {{Episode table | ||
| + | |background = #8D3D63 |overall= |overallT=Story |series= |seriesT=Serial |title= |aux1= |aux1T=Serial titles |director= |writer= |airdate= |prodcode= |viewers= |country=UK |aux4= |aux4T=[[Appreciation Index|{{abbr|AI|Appreciation Index|style=color:white}}]] |episodes = | ||
| + | {{Episode list/sublist|Doctor Who (season 1) | ||
| + | | NumParts = 4 | ||
| + | | EpisodeNumber = 1 | ||
| + | | EpisodeNumber2 = 1 | ||
| + | | Title = [[An Unearthly Child]] | ||
| + | | Aux1_1 = "An Unearthly Child" | ||
| + | | Aux1_2 = "The Cave of Skulls" | ||
| + | | Aux1_3 = "The Forest of Fear" | ||
| + | | Aux1_4 = "The Firemaker" | ||
| + | | DirectedBy = [[Waris Hussein]] | ||
| + | | WrittenBy = [[Anthony Coburn]] | ||
| + | | OriginalAirDate_1 = {{Start date|1963|11|23|df=y}} | ||
| + | | OriginalAirDate_2 = 30 November 1963 | ||
| + | | OriginalAirDate_3 = 7 December 1963 | ||
| + | | OriginalAirDate_4 = 14 December 1963 | ||
| + | | ProdCode = A | ||
| + | | Viewers_1 = 4.4 | ||
| + | | Viewers_2 = 5.9 | ||
| + | | Viewers_3 = 6.9 | ||
| + | | Viewers_4 = 6.4 | ||
| + | | Aux4_1 = 63 | ||
| + | | Aux4_2 = 59 | ||
| + | | Aux4_3 = 56 | ||
| + | | Aux4_4 = 55 | ||
| + | | ShortSummary = Schoolteachers [[Ian Chesterton]] and [[Barbara Wright (Doctor Who)|Barbara Wright]] are concerned about one of their pupils, [[Susan Foreman]]. | ||
| + | | LineColor = 8D3D63 | ||
| + | }} | ||
}} | }} | ||
| − | |||
</pre> | </pre> | ||
| − | { | + | {{Episode table |
| − | | | + | |background = #8D3D63 |overall= |overallT=Story |series= |seriesT=Serial |title= |aux1= |aux1T=Serial titles |director= |writer= |airdate= |prodcode= |viewers= |country=UK |aux4= |aux4T=[[Appreciation Index|{{abbr|AI|Appreciation Index|style=color:white}}]] |episodes = |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
{{Episode list | {{Episode list | ||
| − | | EpisodeNumber | + | | NumParts = 4 |
| − | | EpisodeNumber2 | + | | EpisodeNumber = 1 |
| − | | Title | + | | EpisodeNumber2 = 1 |
| − | | | + | | Title = [[An Unearthly Child]] |
| − | | | + | | Aux1_1 = "An Unearthly Child" |
| − | | | + | | Aux1_2 = "The Cave of Skulls" |
| − | | | + | | Aux1_3 = "The Forest of Fear" |
| − | | ProdCode | + | | Aux1_4 = "The Firemaker" |
| − | | | + | | DirectedBy = [[Waris Hussein]] |
| − | | ShortSummary | + | | WrittenBy = [[Anthony Coburn]] |
| − | | LineColor | + | | OriginalAirDate_1 = {{Start date|1963|11|23|df=y}} |
| + | | OriginalAirDate_2 = 30 November 1963 | ||
| + | | OriginalAirDate_3 = 7 December 1963 | ||
| + | | OriginalAirDate_4 = 14 December 1963 | ||
| + | | ProdCode = A | ||
| + | | Viewers_1 = 4.4 | ||
| + | | Viewers_2 = 5.9 | ||
| + | | Viewers_3 = 6.9 | ||
| + | | Viewers_4 = 6.4 | ||
| + | | Aux4_1 = 63 | ||
| + | | Aux4_2 = 59 | ||
| + | | Aux4_3 = 56 | ||
| + | | Aux4_4 = 55 | ||
| + | | ShortSummary = Schoolteachers [[Ian Chesterton]] and [[Barbara Wright (Doctor Who)|Barbara Wright]] are concerned about one of their pupils, [[Susan Foreman]]. | ||
| + | | LineColor = 8D3D63 | ||
}} | }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
| − | |||
| − | == | + | == Transclusion of the list on another page == |
| − | + | When a TV series article is split into season pages, create each season's episode list on the corresponding season article. If the series also has a "List of episodes" article, do not re-create the tables in it, and instead transclude the table from the season articles to the list of episodes article. | |
| − | + | For example, the TV series ''[[Lost (TV series)|Lost]]'' has season articles for each of its seasons. An episode table is located in each of its season articles, such as [[Lost (season 1)|''Lost'' (season 1)]] and [[Lost (season 2)|''Lost'' (season 2)]]. Each season is then transcluded to [[List of Lost episodes|List of ''Lost'' episodes]]. | |
| − | When transcluded onto the | + | When transcluded onto any other article, the episode summaries are removed, and the background row color alternates between light and dark gray, depending on the value of {{para|EpisodeNumber}}. Occasionally, a multi-part episode will skew the pattern between odd and even numbers, to rectify this, use the {{para|RowColor}} parameter. A {{para|RowColor|on}} input will color the row dark gray, like an even number normally would, on the "List of ''X'' episodes" page, while a {{para|RowColor|off}} input will color the row light gray, like an odd number normally would. |
For the purpose of transclusion, each sublist must make use of <code><onlyinclude></code> tags, with the opening tag just before the WikiTable, and the closing tag at the very end of the table. This prevents the lead, external links, templates, categories, interwiki links, and all other unnecessary information from being transcluded onto the main list. | For the purpose of transclusion, each sublist must make use of <code><onlyinclude></code> tags, with the opening tag just before the WikiTable, and the closing tag at the very end of the table. This prevents the lead, external links, templates, categories, interwiki links, and all other unnecessary information from being transcluded onto the main list. | ||
| − | When transcluding onto the main list, you should make use of {{tl| | + | When transcluding onto the main list, you should make use of {{tl|Main}}. |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | == | + | === Transclusion examples === |
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | On a season article, such as [[Lost (season 3)|''Lost'' (season 3)]], the code should be as follows: | |
| − | = | + | <pre style="overflow:auto;"> |
| − | |||
| − | |||
<onlyinclude> | <onlyinclude> | ||
| − | {| | + | {{Episode table |background=#2E5528 |overall= |season= |title= |director= |writer= |aux2= |aux2T=Featured<br />character(s) |airdate= |viewers= |country=U.S. |episodes= |
| − | | | + | {{Episode list/sublist|Lost (season 3) |
| − | + | | EpisodeNumber = 69 | |
| − | + | | EpisodeNumber2 = 20 | |
| − | + | | Title = The Man Behind the Curtain | |
| − | + | | DirectedBy = [[Bobby Roth]] | |
| − | + | | WrittenBy = Elizabeth Sarnoff & Drew Goddard | |
| − | + | | Aux2 = [[Ben Linus|Ben]] | |
| − | {{Episode list/sublist| | + | | OriginalAirDate = {{Start date|2007|5|9}} |
| − | | EpisodeNumber = | + | | Viewers = 12.11<ref name="viewers"/> |
| − | | EpisodeNumber2 = | + | | ShortSummary = Locke meets the Others' mysterious leader Jacob. |
| − | | Title = | + | | LineColor = 2E5528 |
| − | | | ||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | | | ||
| − | |||
| − | |||
| − | | OriginalAirDate = {{ | ||
| − | | | ||
| − | |||
| − | | ShortSummary = | ||
| − | | LineColor = | ||
}} | }} | ||
| − | {{Episode list/sublist| | + | {{Episode list/sublist|Lost (season 3) |
| − | | EpisodeNumber = | + | | EpisodeNumber = 70 |
| − | | EpisodeNumber2 = | + | | EpisodeNumber2 = 21 |
| − | | Title = | + | | Title = Greatest Hits |
| − | | | + | | DirectedBy = Stephen Williams |
| − | | | + | | WrittenBy = Edward Kitsis & Adam Horowitz |
| − | | | + | | Aux2 = [[Charlie Pace|Charlie]] |
| − | | ShortSummary = | + | | OriginalAirDate = {{Start date|2007|5|16}} |
| − | | LineColor = | + | | Viewers = 12.32<ref name="viewers"/> |
| + | | ShortSummary = Jack learns of the Others' plan. | ||
| + | | LineColor = 2E5528 | ||
}} | }} | ||
| − | + | }}</onlyinclude> | |
| − | </onlyinclude> | ||
</pre> | </pre> | ||
| − | + | And similar for the other season articles of the series, such as [[Lost (season 4)|''Lost'' (season 4)]]: | |
| − | <pre> | + | |
| + | <pre style="overflow:auto;"> | ||
<onlyinclude> | <onlyinclude> | ||
| − | {| | + | {{Episode table |background=#00549A |overall= |season= |title= |director= |writer= |aux2= |aux2T=Featured<br />character(s) |airdate= |viewers= |country=U.S. |episodes= |
| − | | | + | {{Episode list/sublist|Lost (season 4) |
| − | + | | EpisodeNumber = 73 | |
| − | + | | EpisodeNumber2 = 1 | |
| − | + | | Title = The Beginning of the End | |
| − | + | | DirectedBy = [[Jack Bender]] | |
| − | + | | WrittenBy = [[Damon Lindelof]] & [[Carlton Cuse]] | |
| − | + | | Aux2 = [[Hugo "Hurley" Reyes|Hurley]] | |
| − | {{Episode list/sublist| | + | | OriginalAirDate = {{Start date|2008|1|31}} |
| − | + | | Viewers = 17.77<ref name="rankings"/> | |
| − | | EpisodeNumber = | + | | ShortSummary = The survivors of 815 split into two groups led by Jack and Locke. |
| − | | EpisodeNumber2 = | + | | LineColor = 00549A |
| − | | Title = | + | | RowColor = on |
| − | | | ||
| − | | | ||
| − | | | ||
| − | | ShortSummary = The | ||
| − | | LineColor = | ||
}} | }} | ||
| − | {{Episode list/sublist| | + | {{Episode list/sublist|Lost (season 4) |
| − | | EpisodeNumber = | + | | EpisodeNumber = 74 |
| − | | EpisodeNumber2 = | + | | EpisodeNumber2 = 2 |
| − | | Title = | + | | Title = Confirmed Dead |
| − | + | | DirectedBy = [[Stephen Williams (director)|Stephen Williams]] | |
| − | | | + | | WrittenBy = [[Drew Goddard]] & [[Brian K. Vaughan]] |
| − | | | + | | Aux2 = [[Daniel Faraday|Faraday]] |
| − | | | + | | OriginalAirDate = {{Start date|2008|2|7}} |
| − | | | + | | Viewers = 16.96<ref name="rankings"/> |
| − | + | | ShortSummary = A science team from the freighter arrives on the island. | |
| − | + | | LineColor = 00549A | |
| − | + | | RowColor = off | |
| − | |||
| − | | | ||
| − | | OriginalAirDate = {{ | ||
| − | | | ||
| − | |||
| − | | ShortSummary = | ||
| − | | LineColor = | ||
}} | }} | ||
| − | |} | + | |}</onlyinclude> |
| − | </onlyinclude> | ||
</pre> | </pre> | ||
| − | + | The following code should appear on [[List of Lost episodes|List of ''Lost'' episodes]]: | |
| − | <pre> | + | |
| − | == Season | + | <pre style="overflow:auto;"> |
| − | {{ | + | == Season 1 == |
| − | {{: | + | {{Main|Lost (season 1)}} |
| + | {{:Lost (season 1)}} | ||
<!-- To edit the episodes in this section, you need to edit the article listed above. --> | <!-- To edit the episodes in this section, you need to edit the article listed above. --> | ||
| − | == Season | + | == Season 2 == |
| − | {{main| | + | {{main|Lost (season 2)}} |
| − | {{: | + | {{:Lost (season 2)}} |
<!-- To edit the episodes in this section, you need to edit the article listed above. --> | <!-- To edit the episodes in this section, you need to edit the article listed above. --> | ||
</pre> | </pre> | ||
| − | + | Note the colon ({{strong|:}}) at the beginning of the transclusions; this is necessary when transcluding an article. If you tried to transclude [[Lost (season 1)|''Lost'' (season 1)]], without using the colon, you would get [[Template:Lost (season 1)]], a redlink to a nonexistent template. | |
| − | ;Season | + | |
| − | {{main| | + | The above code will appear as follows: |
| − | {| | + | |
| − | | | + | ;Season 3 |
| − | + | {{main|Lost (season 3)}} | |
| − | + | {{Episode table |background=#2E5528 |overall= |season= |title= |director= |writer= |aux2= |aux2T=Featured<br />character(s) |airdate= |viewers= |country=U.S. |episodes= | |
| − | + | {{Episode list/sublist|Lost (season 2) | |
| − | + | | EpisodeNumber = 69 | |
| − | + | | EpisodeNumber2 = 20 | |
| − | + | | Title = The Man Behind the Curtain | |
| − | {{Episode list/sublist| | + | | DirectedBy = [[Bobby Roth]] |
| − | | EpisodeNumber = | + | | WrittenBy = Elizabeth Sarnoff & Drew Goddard |
| − | | EpisodeNumber2 = | + | | Aux2 = [[Ben Linus|Ben]] |
| − | | Title = | + | | OriginalAirDate = {{Start date|2007|5|9}} |
| − | | | + | | Viewers = 12.11{{dummy ref}} |
| − | | OriginalAirDate = {{ | + | | ShortSummary = Locke meets the Others' mysterious leader Jacob. |
| − | | | + | | LineColor = 2E5528 |
| − | |||
| − | | ShortSummary = | ||
| − | | LineColor = | ||
}} | }} | ||
| − | {{Episode list/sublist| | + | {{Episode list/sublist|Lost (season 3) |
| − | | EpisodeNumber = | + | | EpisodeNumber = 70 |
| − | | EpisodeNumber2 = | + | | EpisodeNumber2 = 21 |
| − | | Title = | + | | Title = Greatest Hits |
| − | | | + | | DirectedBy = Stephen Williams |
| − | | OriginalAirDate = {{ | + | | WrittenBy = Edward Kitsis & Adam Horowitz |
| − | | | + | | Aux2 = [[Charlie Pace|Charlie]] |
| − | + | | OriginalAirDate = {{Start date|2007|5|16}} | |
| − | | ShortSummary = | + | | Viewers = 12.32{{dummy ref}} |
| − | | LineColor = | + | | ShortSummary = Jack learns of the Others' plan. |
| + | | LineColor = 2E5528 | ||
}} | }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
| − | |||
| − | |||
| − | ;Season | + | ;Season 4 |
| − | {{main| | + | {{main|Lost (season 4)}} |
| − | {| | + | {{Episode table |background=#00549A |overall= |season= |title= |director= |writer= |aux2= |aux2T=Featured<br />character(s) |airdate= |viewers= |country=U.S. |episodes= |
| − | | | + | {{Episode list/sublist|Lost (season 4) |
| − | + | | EpisodeNumber = 73 | |
| − | + | | EpisodeNumber2 = 1 | |
| − | + | | Title = The Beginning of the End | |
| − | + | | DirectedBy = [[Jack Bender]] | |
| − | + | | WrittenBy = [[Damon Lindelof]] & [[Carlton Cuse]] | |
| − | + | | Aux2 = [[Hugo "Hurley" Reyes|Hurley]] | |
| − | {{Episode list/sublist| | + | | OriginalAirDate = {{Start date|2008|1|31}} |
| − | + | | Viewers = 17.77{{dummy ref|2}} | |
| − | | EpisodeNumber = | + | | ShortSummary = The survivors of 815 split into two groups led by Jack and Locke. |
| − | | EpisodeNumber2 = | + | | LineColor = 00549A |
| − | | Title = | + | | RowColor = on |
| − | | OriginalAirDate = {{ | ||
| − | | | ||
| − | |||
| − | | ShortSummary = The | ||
| − | | LineColor = | ||
}} | }} | ||
| − | {{Episode list/sublist| | + | {{Episode list/sublist|Lost (season 4) |
| − | | EpisodeNumber = | + | | EpisodeNumber = 74 |
| − | | EpisodeNumber2 = | + | | EpisodeNumber2 = 2 |
| − | | Title = | + | | Title = Confirmed Dead |
| − | | OriginalAirDate = {{ | + | | DirectedBy = [[Stephen Williams (director)|Stephen Williams]] |
| − | | | + | | WrittenBy = [[Drew Goddard]] & [[Brian K. Vaughan]] |
| − | + | | Aux2 = [[Daniel Faraday|Faraday]] | |
| − | | ShortSummary = | + | | OriginalAirDate = {{Start date|2008|2|7}} |
| − | | LineColor = | + | | Viewers = 16.96{{dummy ref|2}} |
| + | | ShortSummary = A science team from the freighter arrives on the island. | ||
| + | | LineColor = 00549A | ||
| + | | RowColor = off | ||
}} | }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
| − | |||
| − | |||
| − | == Tips == | + | === Tips === |
It may be helpful to include a hidden message that will appear when someone edits the article. Placed above the table headers and under the article section, such as: | It may be helpful to include a hidden message that will appear when someone edits the article. Placed above the table headers and under the article section, such as: | ||
| − | <pre>==Episodes== | + | <pre style="overflow:auto;"> |
| − | <nowiki><!-- For help with this template see http://en.wikipedia.org/wiki/ | + | ==Episodes== |
| + | <nowiki><!-- For help with this template see http://en.wikipedia.org/wiki/Template:Episode_list --></nowiki> | ||
<onlyinclude> | <onlyinclude> | ||
| − | { | + | {{Episode table |
</pre> | </pre> | ||
This message won't be visible when normally viewing the article. A message such as this notes where one can get help for the template. | This message won't be visible when normally viewing the article. A message such as this notes where one can get help for the template. | ||
| − | |||
== Microformat == | == Microformat == | ||
{{UF-hcal-multi}} | {{UF-hcal-multi}} | ||
| − | |||
For shows where each episode is from a different, single, specific place (for example, [[Time Team]], one of the ''Aux'' fields can contain the [[Geographic coordinate system|coordinates]], applied using {{tl|coord}}. | For shows where each episode is from a different, single, specific place (for example, [[Time Team]], one of the ''Aux'' fields can contain the [[Geographic coordinate system|coordinates]], applied using {{tl|coord}}. | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
== Subpages == | == Subpages == | ||
| Line 548: | Line 1,142: | ||
"Hacks" of this template, also known as "forks", are discouraged. Any discussion regarding forks should occur on this template's, not the fork's or article's, talk page. | "Hacks" of this template, also known as "forks", are discouraged. Any discussion regarding forks should occur on this template's, not the fork's or article's, talk page. | ||
| − | == | + | == Episode list templates == |
| − | * | + | * [[Wikipedia:WikiProject Television/Episode coverage task force]] |
| − | * | + | * [[Wikipedia:WikiProject Television/Templates]] |
| − | * | + | * [[Wikipedia:Television episodes]] |
| − | * [[ | + | * [[Template:Television needs episode list]] |
| − | + | == Notes == | |
| − | + | {{Reflist|group="N"}} | |
| − | |||
| − | |||
| − | + | == See also == | |
| + | * {{tl|Episode table}} | ||
| + | * {{tl|Series overview}} | ||
| + | {{Film- and television-related infobox templates|state=expanded}} | ||
| − | <!-- | + | <includeonly>{{Sandbox other|| |
| − | [[ | + | <!-- Categories below this line, please; interwikis at Wikidata --> |
| − | + | [[Category:Television episode list templates| ]] | |
| − | + | }}</includeonly> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | </includeonly> | ||
Latest revision as of 10:33, 3 October 2020
| This is a documentation subpage for Template:Episode list. It contains usage information, categories and other content that is not part of the original template page. |
| This template is used on approximately 16,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
| This template uses Lua: |
Episode list creates a table row, for use in a list of episodes tables, primarily for television. This template can be used in conjunction with {{Episode table}} which creates a consistent and Manual of Style ready table, or with a manually created table. See walk-through for further explanation.
Contents
Usage
{{Episode list}} may be added by pasting it as shown below into an article, either inside an {{Episode table}} template, or be placed inside a manually created table. The number and the type of columns a table has, is defined by the table header, and is not defined by this template. In order for this template to provide a table column for a given episode, parameters must either be included or excluded. An included parameter, although empty, will provide a cell for that field (and thus a column), while excluding a parameter will not provide a cell for that field. Empty cells will be automatically filled with "TBA" or "N/A".
{{Episode list
| EpisodeNumber =
| EpisodeNumber2 =
| Title =
| RTitle =
| AltTitle =
| RAltTitle =
| TranslitTitle =
| NativeTitle =
| NativeTitleLangCode =
| Aux1 =
| DirectedBy =
| WrittenBy =
| Aux2 =
| Aux3 =
| OriginalAirDate = <!-- {{Start date|YYYY|MM|DD|df=}} -->
| AltDate =
| ProdCode =
| Viewers =
| Aux4 =
| ShortSummary = <!-- Don't add copyrighted text, e.g. from the show's website -->
| LineColor =
| TopColor =
| RowColor =
}}
| No. overall | No. in season | Title | Aux1 | Directed by | Written by | Aux2 | Aux3 | Original air date | AltDate | Prod. code | U.S. viewers (millions) | Aux4 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{{EpisodeNumber}}} | {{{EpisodeNumber2}}} | "{{{Title}}}"{{{RTitle}}} "{{{AltTitle}}}"{{{RAltTitle}}} | {{{Aux1}}} | {{{DirectedBy}}} | {{{WrittenBy}}} | {{{Aux2}}} | {{{Aux3}}} | {{{OriginalAirDate}}} | {{{AltDate}}} | {{{ProdCode}}} | {{{Viewers}}} | {{{Aux4}}} |
| {{{ShortSummary}}} | ||||||||||||
Parameters
| Parameter | Explanation |
|---|---|
| 1 | The title of the article the table is located in. |
| NumParts | The number of titles an episode has or the number of serials a story has. See examples section for usage. |
| EpisodeNumber | A number representing the episode's order in the series. For example, the first episode would be 1 or 01, and so on. When defined, the specified number also generates a link anchor, prefixed by "ep"; for example, "[[List of episodes#ep1]]" or "[[List of episodes#ep01]]". In creating the anchor, only the first alphanumeric characters are used for the anchor, ignoring any special characters or anything that follows; that is, if the episode spans episode numbers 87 and 88, for example, then [[List of episodes#ep87]] will link directly to the episode, regardless of if the episode number is displayed as 87–88, 87-88, 87<hr>88, 87<br>88, 87, 88, etc. In the case of multiple tables with the same anchored episode number, the anchor can be made unique with the |anchor= parameter in the call of {{Episode table}}; see more at Script error: No such module "Section link"..
|
| EpisodeNumber2 | A second episode number column. Typically used to indicate the episode's order in the season. This parameter can also be useful for when a series aired in a different order. |
| Title | The title of the episode. The title will appear in "quotes" when rendered, so it is not necessary to place them in quotes beforehand. Only link to an episode article if it has already been created. |
|
The title of the episode. Used when |NumParts= is used, as there are multiple titles for an episode, and should be used instead of |Title=. The number of titles should not exceed the number set in |NumParts=.
|
| RTitle | Unformatted parameter that can be used to add a reference after |Title=, or can be used as a "raw title" to replace |Title= completely. Future episodes should include a reference in this field to comply with Wikipedia:Verifiability.
|
|
Unformatted parameter that can be used to add a reference after |Title=, or can be used as a "raw title" to replace |Title= completely. Used when |NumParts= is used, as there are multiple titles for an episode, and should be used instead of |RTitle=. The number of titles should not exceed the number set in |NumParts=.
|
| AltTitle | An alternative title, such as a title that was originally changed. The title will appear in "quotes" when rendered. If |Title= is also present, it will be listed below.
|
|
An alternative title, such as a title that was originally changed. Used when |NumParts= is used, as there are multiple titles for an episode, and should be used instead of |AltTitle=. The number of titles should not exceed the number set in |NumParts=.
|
| RAltTitle | Unformatted parameter that can be used to add a reference after |AltTitle=, or can be used as a "raw title" to replace |AltTitle= completely.
|
|
Unformatted parameter that can be used to add a reference after |AltTitle=, or can be used as a "raw title" to replace |AltTitle= completely. Used when |NumParts= is used, as there are multiple titles for an episode, and should be used instead of |RAltTitle=. The number of titles should not exceed the number set in |NumParts=.
|
| TranslitTitle | The title of the episode transliteration (Romanization) to Latin characters. |
|
The title of the episode transliteration (Romanization) to Latin characters. Used when |NumParts= is used, as there are multiple titles for an episode, and should be used instead of |TranslitTitle=. The number of titles should not exceed the number set in |NumParts=.
|
| NativeTitle | The title of the episode in the native language. |
|
The title of the episode in the native language. Used when |NumParts= is used, as there are multiple titles for an episode, and should be used instead of |NativeTitle=. The number of titles should not exceed the number set in |NumParts=.
|
| NativeTitleLangCode | The language code of the native title language. |
| Aux1 | General purpose parameter. The meaning is specified by the column header. |
|
The title of the serial. Used when |NumParts= is used, as there are multiple serials in a story, and should be used instead of |Aux1=. The number of titles should not exceed the number set in |NumParts=.
|
| DirectedBy | Name of the episode's director. |
| WrittenBy | Name of the credited episode's writer(s). |
| Aux2 | General purpose parameter. The meaning is specified by the column header. |
| Aux3 | General purpose parameter. The meaning is specified by the column header. |
| OriginalAirDate | The date the episode first aired, or is scheduled to air. Format date using {{Start date}}; use |df=y for day-first format; omit for month-first.
|
|
The date the episode first aired, or is scheduled to air. Used when |NumParts= is used, as there are multiple serials in a story, and should be used instead of |OriginalAirDate=. The number of dates should not exceed the number set in |NumParts=.
|
| AltDate | The next notable air date, such as the first air date of an anime in English. Format date per MOS:DATE. Do not use {{Start date}} if |OriginalAirDate= is present.[N 1]
|
| ProdCode | The production code in the series. When defined, this parameter also creates a link anchor, prefixed by "pc"; for example, "[[List of episodes#pc01]]".
|
| Viewers | The number of viewers who watched the episode. Should include a reference. The inclusion of viewer figures is supported by MOS:TV and provides encyclopedic content beyond what might normally be found in a TV guide. It is therefore desirable to include referenced ratings information in an episode list. "Final" viewer numbers should be used. |
|
The number of viewers who watched the episode. Used when |NumParts= is used, as there are multiple serials in a story, and should be used instead of |Viewers=. The number of parameters should not exceed the number set in |NumParts=.
|
| Aux4 | General purpose parameter. The meaning is specified by the column header. |
|
General purpose parameter. Used when |NumParts= is, as there are multiple serials in a story, and should be used instead of |Aux4=. The number of parameters should not exceed the number set in |NumParts=.
|
| ShortSummary | A short 100–200 word plot summary of the episode. Make summaries specific to that episode (as in, a description that would normally not be confused with another episode). Episode summaries must not be copied from other sources, as this violates WP:COPYRIGHT. Further guidance on plot summaries may be found at WP:TVPLOT. Leaving this parameter empty will result in the summary row not appearing for the episode. If {{Episode list/sublist}} is used then the page name must be specified to display the summary there, e.g. {{Episode list/sublist|List of Carnivàle episodes|...}}. The summary will not appear if the code is transcluded in another page.
|
| LineColor | Colors the separator line between episode entries. If not defined the color defaults to "#CCCCFF" and the article populates Category:Episode list using the default LineColor. Use of anything but a valid hex code will result in an invalid syntax.
|
| TopColor | Colors the main row of information (that is, not the |ShortSummary= row). If not defined, it defaults to the wikitable standard background shading of "#F9F9F9", except when |ShortSummary= is used, and then it defaults to "#f2f2f2". The excessive use of the parameter is discouraged by Wikipedia's guideline on styles and markup options. Articles using this parameter are in Category:Episode lists with row deviations.
|
| RowColor | This parameter is a "switch" that must only be defined when the |EpisodeNumber= value is not a regular number (e.g. "12–13" for two episodes described in one table entry). When transcluding the table from a season article into a main episode list article, irregular |EpisodeNumber= values break up the striping effect the template introduces. If the first episode number is even, set |RowColor=on. If the first episode number is odd, set |RowColor=off. All further uses of Template:Episode list in the table must also have the |RowColor= parameters defined to alternate between off and on to avoid further breakages in the striping.
|
TemplateData
TemplateData documentation used by VisualEditor and other tools
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
See the monthly parameter usage report for this template.
TemplateData for Episode list This template creates a table row, for use in a list of episodes, primarily for television. The number, and use, of columns a table has, is defined by the beginning wikitext of that table (further explained below), and is not defined by this template. In order for this template to provide a table column for a given episode, parameters must either be included or excluded. An included parameter, although empty, will provide a cell for that field (and thus column), while excluding a parameter will not provide a cell for that field. Empty cells will be automatically filled with {{TableTBA}}. It is used within {{Episode table}}.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Complete usage walk-through
To create an episode list, first create the table columns with the use of {{Episode table}} as following:
{{Episode table |overall= |title= |airdate= |prodcode= |episodes=
Next, add the {{Episode list}} templates below:
{{Episode list
| EpisodeNumber =
| Title =
| OriginalAirDate =
| ProdCode =
| ShortSummary =
}}
{{Episode list
| EpisodeNumber =
| Title =
| OriginalAirDate =
| ProdCode =
| ShortSummary =
}}
Lastly, after the final episode list template, close the {{Episode table}} with:
}}
The complete code will look like this:
{{Episode table |overall= |title= |airdate= |prodcode= |episodes=
{{Episode list
| EpisodeNumber =
| Title =
| OriginalAirDate =
| ProdCode =
| ShortSummary =
}}
{{Episode list
| EpisodeNumber =
| Title =
| OriginalAirDate =
| ProdCode =
| ShortSummary =
}}
}}
Examples
Standard
To create an episode list with the columns: episode number in series, episode number in season, title, director, writer, show-specific parameter, air date, production code and number of U.S. viewers – add the following code:
{{Episode table |background=#812f09 |overall= |season= |title= |director= |writer= |aux2= |aux2T=Ben's location |airdate= |prodcode= |viewers= |country=U.S. |episodes=
{{Episode list/sublist|List of Carnivàle episodes
| EpisodeNumber = 1
| EpisodeNumber2 = 1
| Title = Milfay
| DirectedBy = [[Rodrigo García (director)|Rodrigo García]]
| WrittenBy = [[Daniel Knauf]]
| Aux2 = [[Milfay, Oklahoma]]
| OriginalAirDate = {{Start date|2003|9|14}}
| ProdCode = 1–01
| Viewers = 5.3
| ShortSummary = Ben suffers strange dreams about a trench war, and a tattooed man stalking in a cornfield.
| LineColor = 812f09
}}
{{Episode list/sublist|List of Carnivàle episodes
| EpisodeNumber = 2
| EpisodeNumber2 = 2
| Title = After the Ball Is Over
| DirectedBy = [[Jeremy Podeswa]]
| WrittenBy = Daniel Knauf
| Aux2 = [[Tipton, Missouri]]
| OriginalAirDate = {{Start date|2003|9|21}}
| ProdCode = 1–02
| Viewers = 3.49
| ShortSummary = Ben is slowly setting in as a carnival roustabout.
| LineColor = 812f09
}}
}}
| No. overall | No. in season | Title | Directed by | Written by | Ben's location | Original air date | Prod. code | U.S. viewers (millions) |
|---|---|---|---|---|---|---|---|---|
| 1 | 1 | "Milfay" | Rodrigo García | Daniel Knauf | Milfay, Oklahoma | September 14, 2003 | 1–01 | 5.3 |
| Ben suffers strange dreams about a trench war, and a tattooed man stalking in a cornfield. | ||||||||
| 2 | 2 | "After the Ball Is Over" | Jeremy Podeswa | Daniel Knauf | Tipton, Missouri | September 21, 2003 | 1–02 | 3.49 |
| Ben is slowly setting in as a carnival roustabout. | ||||||||
Non-English titles
To create an episode list which includes a native title and/or transliterated title – add the following code:
{{Episode table |background=#0C5829 |overall= |overallT=Japanese episode {{abbr|no.|number}} |season= |seasonT=U.S. episode {{abbr|no.|number}} |title= |director= |writer= |airdate= |episodes=
{{Episode list/sublist|List of Pokémon: Indigo League episodes
| EpisodeNumber = 1
| EpisodeNumber2 = 1
| Title = [[Pokémon, I Choose You!]]
| RTitle = (Pokémon I Choose You!)
| TranslitTitle = Pokemon! Kimi ni Kimeta!
| NativeTitle = ポケモン! きみにきめた!
| NativeTitleLangCode = ja
| DirectedBy = Masamitsu Hidaka
| WrittenBy = [[Shoji Yonemura]]
| OriginalAirDate = {{Start date|1997|4|1}}
| ShortSummary = Ash Ketchum is finally 10 years old, old enough to become a Pokémon Trainer.
| LineColor = #0C5829
}}
}}
| Japanese episode no. | U.S. episode no. | Title | Directed by | Written by | Original air date | |
|---|---|---|---|---|---|---|
| 1 | 1 | "Pokémon, I Choose You!" (Pokémon I Choose You!) Transcription: "Pokemon! Kimi ni Kimeta!" (Japanese: ポケモン! きみにきめた!) | Masamitsu Hidaka | Shoji Yonemura | April 1, 1997 | |
| Ash Ketchum is finally 10 years old, old enough to become a Pokémon Trainer. | ||||||
Episode with multiple titles
To create an episode list which includes an episode with multiple titles – add the following code:
{{Episode table |background=#69D0E3 |overall= |title= |airdate= |episodes=
{{Episode list/sublist|Ninja Nonsense
| NumParts = 2
| EpisodeNumber = 1
| Title_1 = Shinobu, the Ninja Apprentice, Appears
| TranslitTitle_1 = Minarai Ninja, Shinobu Kenzan no Maki
| NativeTitle_1 = 見習い忍者、忍見参の巻
| Title_2 = The Master Appears
| TranslitTitle_2 = Tōryō, Arawaru no Maki
| NativeTitle_2 = 頭領、現るの巻
| NativeTitleLangCode = ja
| OriginalAirDate = {{Start date|2004|7|8}}
| ShortSummary = Episode summary
| LineColor = #69D0E3
}}
}}
| No. | Title | Original air date | |
|---|---|---|---|
| 1 | "Shinobu, the Ninja Apprentice, Appears" Transcription: "Minarai Ninja, Shinobu Kenzan no Maki" (Japanese: 見習い忍者、忍見参の巻) "The Master Appears" Transcription: "Tōryō, Arawaru no Maki" (Japanese: 頭領、現るの巻) | July 8, 2004 | |
| Episode summary | |||
Serials
To create an episode list for a serial (such as those used in Doctor Who) – add the following code:
{{Episode table
|background = #8D3D63 |overall= |overallT=Story |series= |seriesT=Serial |title= |aux1= |aux1T=Serial titles |director= |writer= |airdate= |prodcode= |viewers= |country=UK |aux4= |aux4T=[[Appreciation Index|{{abbr|AI|Appreciation Index|style=color:white}}]] |episodes =
{{Episode list/sublist|Doctor Who (season 1)
| NumParts = 4
| EpisodeNumber = 1
| EpisodeNumber2 = 1
| Title = [[An Unearthly Child]]
| Aux1_1 = "An Unearthly Child"
| Aux1_2 = "The Cave of Skulls"
| Aux1_3 = "The Forest of Fear"
| Aux1_4 = "The Firemaker"
| DirectedBy = [[Waris Hussein]]
| WrittenBy = [[Anthony Coburn]]
| OriginalAirDate_1 = {{Start date|1963|11|23|df=y}}
| OriginalAirDate_2 = 30 November 1963
| OriginalAirDate_3 = 7 December 1963
| OriginalAirDate_4 = 14 December 1963
| ProdCode = A
| Viewers_1 = 4.4
| Viewers_2 = 5.9
| Viewers_3 = 6.9
| Viewers_4 = 6.4
| Aux4_1 = 63
| Aux4_2 = 59
| Aux4_3 = 56
| Aux4_4 = 55
| ShortSummary = Schoolteachers [[Ian Chesterton]] and [[Barbara Wright (Doctor Who)|Barbara Wright]] are concerned about one of their pupils, [[Susan Foreman]].
| LineColor = 8D3D63
}}
}}
| Story | Serial | Title | Serial titles | Directed by | Written by | Original air date | Prod. code | UK viewers (millions) | AI | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 1 | "An Unearthly Child" | "An Unearthly Child" | Waris Hussein | Anthony Coburn | 23 November 1963 | A | 4.4 | 63 | |||||||||||||||||||||
| "The Cave of Skulls" | Waris Hussein | Anthony Coburn | 30 November 1963 | A | 5.9 | 59 | ||||||||||||||||||||||||
| "The Forest of Fear" | Waris Hussein | Anthony Coburn | 7 December 1963 | A | 6.9 | 56 | ||||||||||||||||||||||||
| "The Firemaker" | Waris Hussein | Anthony Coburn | 14 December 1963 | A | 6.4 | 55 | ||||||||||||||||||||||||
| Schoolteachers Ian Chesterton and Barbara Wright are concerned about one of their pupils, Susan Foreman. | ||||||||||||||||||||||||||||||
Transclusion of the list on another page
When a TV series article is split into season pages, create each season's episode list on the corresponding season article. If the series also has a "List of episodes" article, do not re-create the tables in it, and instead transclude the table from the season articles to the list of episodes article.
For example, the TV series Lost has season articles for each of its seasons. An episode table is located in each of its season articles, such as Lost (season 1) and Lost (season 2). Each season is then transcluded to List of Lost episodes.
When transcluded onto any other article, the episode summaries are removed, and the background row color alternates between light and dark gray, depending on the value of |EpisodeNumber=. Occasionally, a multi-part episode will skew the pattern between odd and even numbers, to rectify this, use the |RowColor= parameter. A |RowColor=on input will color the row dark gray, like an even number normally would, on the "List of X episodes" page, while a |RowColor=off input will color the row light gray, like an odd number normally would.
For the purpose of transclusion, each sublist must make use of <onlyinclude> tags, with the opening tag just before the WikiTable, and the closing tag at the very end of the table. This prevents the lead, external links, templates, categories, interwiki links, and all other unnecessary information from being transcluded onto the main list.
When transcluding onto the main list, you should make use of {{Main}}.
Transclusion examples
On a season article, such as Lost (season 3), the code should be as follows:
<onlyinclude>
{{Episode table |background=#2E5528 |overall= |season= |title= |director= |writer= |aux2= |aux2T=Featured<br />character(s) |airdate= |viewers= |country=U.S. |episodes=
{{Episode list/sublist|Lost (season 3)
| EpisodeNumber = 69
| EpisodeNumber2 = 20
| Title = The Man Behind the Curtain
| DirectedBy = [[Bobby Roth]]
| WrittenBy = Elizabeth Sarnoff & Drew Goddard
| Aux2 = [[Ben Linus|Ben]]
| OriginalAirDate = {{Start date|2007|5|9}}
| Viewers = 12.11<ref name="viewers"/>
| ShortSummary = Locke meets the Others' mysterious leader Jacob.
| LineColor = 2E5528
}}
{{Episode list/sublist|Lost (season 3)
| EpisodeNumber = 70
| EpisodeNumber2 = 21
| Title = Greatest Hits
| DirectedBy = Stephen Williams
| WrittenBy = Edward Kitsis & Adam Horowitz
| Aux2 = [[Charlie Pace|Charlie]]
| OriginalAirDate = {{Start date|2007|5|16}}
| Viewers = 12.32<ref name="viewers"/>
| ShortSummary = Jack learns of the Others' plan.
| LineColor = 2E5528
}}
}}</onlyinclude>
And similar for the other season articles of the series, such as Lost (season 4):
<onlyinclude>
{{Episode table |background=#00549A |overall= |season= |title= |director= |writer= |aux2= |aux2T=Featured<br />character(s) |airdate= |viewers= |country=U.S. |episodes=
{{Episode list/sublist|Lost (season 4)
| EpisodeNumber = 73
| EpisodeNumber2 = 1
| Title = The Beginning of the End
| DirectedBy = [[Jack Bender]]
| WrittenBy = [[Damon Lindelof]] & [[Carlton Cuse]]
| Aux2 = [[Hugo "Hurley" Reyes|Hurley]]
| OriginalAirDate = {{Start date|2008|1|31}}
| Viewers = 17.77<ref name="rankings"/>
| ShortSummary = The survivors of 815 split into two groups led by Jack and Locke.
| LineColor = 00549A
| RowColor = on
}}
{{Episode list/sublist|Lost (season 4)
| EpisodeNumber = 74
| EpisodeNumber2 = 2
| Title = Confirmed Dead
| DirectedBy = [[Stephen Williams (director)|Stephen Williams]]
| WrittenBy = [[Drew Goddard]] & [[Brian K. Vaughan]]
| Aux2 = [[Daniel Faraday|Faraday]]
| OriginalAirDate = {{Start date|2008|2|7}}
| Viewers = 16.96<ref name="rankings"/>
| ShortSummary = A science team from the freighter arrives on the island.
| LineColor = 00549A
| RowColor = off
}}
|}</onlyinclude>
The following code should appear on List of Lost episodes:
== Season 1 ==
{{Main|Lost (season 1)}}
{{:Lost (season 1)}}
<!-- To edit the episodes in this section, you need to edit the article listed above. -->
== Season 2 ==
{{main|Lost (season 2)}}
{{:Lost (season 2)}}
<!-- To edit the episodes in this section, you need to edit the article listed above. -->
Note the colon (:) at the beginning of the transclusions; this is necessary when transcluding an article. If you tried to transclude Lost (season 1), without using the colon, you would get Template:Lost (season 1), a redlink to a nonexistent template.
The above code will appear as follows:
- Season 3
| No. overall | No. in season | Title | Directed by | Written by | Featured character(s) | Original air date | U.S. viewers (millions) |
|---|---|---|---|---|---|---|---|
| 69 | 20 | "The Man Behind the Curtain" | Bobby Roth | Elizabeth Sarnoff & Drew Goddard | Ben | May 9, 2007 | 12.11[1] |
| 70 | 21 | "Greatest Hits" | Stephen Williams | Edward Kitsis & Adam Horowitz | Charlie | May 16, 2007 | 12.32[1] |
- Season 4
| No. overall | No. in season | Title | Directed by | Written by | Featured character(s) | Original air date | U.S. viewers (millions) |
|---|---|---|---|---|---|---|---|
| 73 | 1 | "The Beginning of the End" | Jack Bender | Damon Lindelof & Carlton Cuse | Hurley | January 31, 2008 | 17.77[2] |
| 74 | 2 | "Confirmed Dead" | Stephen Williams | Drew Goddard & Brian K. Vaughan | Faraday | February 7, 2008 | 16.96[2] |
Tips
It may be helpful to include a hidden message that will appear when someone edits the article. Placed above the table headers and under the article section, such as:
==Episodes==
<!-- For help with this template see http://en.wikipedia.org/wiki/Template:Episode_list -->
<onlyinclude>
{{Episode table
This message won't be visible when normally viewing the article. A message such as this notes where one can get help for the template.
Microformat
Template:UF-hcal-multi For shows where each episode is from a different, single, specific place (for example, Time Team, one of the Aux fields can contain the coordinates, applied using {{coord}}.
Subpages
"Hacks" of this template, also known as "forks", are discouraged. Any discussion regarding forks should occur on this template's, not the fork's or article's, talk page.
Episode list templates
- Wikipedia:WikiProject Television/Episode coverage task force
- Wikipedia:WikiProject Television/Templates
- Wikipedia:Television episodes
- Template:Television needs episode list
Notes
- ↑ {{Start date}} emits metadata as part of the parent template's hCalendar microformat. It is only needed once per episode, and may be harmful if used twice or more.
See also
- {{Episode table}}
- {{Series overview}}