Template:Episode list

From Wikipedia, the free encyclopedia

 

This high-risk template is indefinitely protected from editing to prevent vandalism.

This high-risk template has been protected from editing to prevent vandalism.
See the protection policy and protection log for more details. Please discuss any changes on the talk page; you may use the {{editprotected}} template to ask an administrator to make the edit if it is supported by consensus. You may also request that this page be unprotected.
[edit] Template documentation
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.

For lists that only want to list titles and air dates, etc, and do not want to include summaries can remove |ShortSummary=, which will remove the colored line separator and any cell coloring.

Contents

Parameters

Episode list parameters (and basic guidelines)
EpisodeNumber
(optional)
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, this parameter also creates a link anchor, prefixed by "ep"; for example, "[[List of episodes#ep01]]".
EpisodeNumber2
(optional)
A second episode number column. Useful for when a series aired in a different order, or only included certain episodes, etc.
Title The title of the episode. The title will appear bold and in "quotes" when rendered, so it is not necessary to place them in quotes before hand. Only link to an episode article if it's already been created.
AltTitle
(optional)
An alternative title, such as the title of a foreign show's episode in its native language, or a title that was originally changed. It will be listed below Title and be presented in "quotes".
RTitle
(optional)
Unformatted parameter that can be used to add a reference after Title, or can be used as a "raw title" to replace Title completely.
Aux1(optional) Optional parameter. The meaning is specified by the table header.
DirectedBy(optional) Who directed the episode.
WrittenBy(optional) Primary writer(s) of the episode.
Aux2
Aux3(optional)
Optional parameters. The meaning is specified by the table header.
OriginalAirDate
(optional)
This is the date the episode first aired on TV.
AltDate
(optional)
The next notable air date, such as the first air date of an anime in English.
ProdCode
(optional)
The production code in the series. When defined, this parameter also creates a link anchor, prefixed by "pc"; for example, "[[List of episodes#pc01]]".
Aux4(optional) Optional parameter. The meaning is specified by the table header.
ShortSummary
(optional)
A short summary of the episode. Make summaries specific to that episode (as in, a description that would normally not be confused with another episode).
LineColor
(optional)
Hex codes for the separator line between episode entries. Use code without the #. #00ff00 would be entered as 00ff00. When none is defined the color defaults to "#CCCCFF".
TopColor
(optional)
Colors the main row of information (that is, not the ShortSummary row). When not defined, if ShortSummary is defined, this defaults to #F2F2F2; otherwise, it defaults to the table default.


This is where information from the template is placed when rendered ({{{LineColor}}} not shown, since there's no text to display, just a color):

EpisodeNumber {{{EpisodeNumber2}}} "{{{Title}}}"{{{RTitle}}} 
"{{{AltTitle}}}"
{{{Aux1}}} {{{DirectedBy}}} {{{WrittenBy}}} {{{Aux2}}} {{{Aux3}}} {{{OriginalAirDate}}} {{{AltDate}}} ProdCode {{{Aux4}}}
{{{ShortSummary}}} 

Using the template

When using optional parameters (such as Aux1, AltDate, etc) only list the parameters that are being used, and adjust the table headers accordingly. This will help avoid confusion when one entry has a parameter filled out and another does not. A table cell will be open for a listed parameter, whether it is filled out or not.

To apply an entry to an episode listing add the following where the episode would go in the List of episodes.

{{Episode list
 |EpisodeNumber=
 |EpisodeNumber2=
 |Title=
 |AltTitle=
 |RTitle=
 |Aux1=
 |DirectedBy=
 |WrittenBy=
 |Aux2=
 |Aux3=
 |OriginalAirDate=
 |AltDate=
 |ProdCode=
 |Aux4=
 |ShortSummary=
 |LineColor=
}}

Because this is only part of a WikiTable, you first need to open the WikiTable. You need to edit this example according to the optional parameters that you want to show in your table. For example to create a list with only EpisodeNumber, Title, OriginalAirDate, ProdCode, and ShortSummary parameters:

{| class="wikitable" style="width:100%; margin:auto; background:#FFFFFF;"
|-
! width="20"|# !! Title !! width="120"|Original air date !! width="120"|Production code

The Television episode template(s) would the follow here

{{Episode list
 |EpisodeNumber=01
 |Title=Cartman Gets Probed
 |OriginalAirDate=[[August 13]], [[1997]]
 |ProdCode=101
 |ShortSummary=Space aliens implant a transmitter in [[Eric Cartman|Cartman]] and abduct [[Kyle Broflovski|Kyle]]'s brother.
 |LineColor=333333
}}

After the final episode entry/template you will need to close the WikiTable with:

 |}

Example

This entry:

{{Episode list
 |EpisodeNumber=01
 |Title=Cartman Gets Probed
 |OriginalAirDate=[[August 13]], [[1997]]
 |ProdCode=101
 |ShortSummary=Space aliens implant a transmitter in [[Eric Cartman|Cartman]] and abduct [[Kyle Broflovski|Kyle]]'s brother.
 |LineColor=333333
}}

Would appear as follows (shown without table headers):

# Title Original airdate Production code
01 "Cartman Gets Probed"  August 13, 1997 101
Space aliens implant a transmitter in Cartman and abduct Kyle's brother. 

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_talk:Episode_list -->

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.

Episode list templates

Show-specific hacks and other sub-pages

    Episode list Episode list/24 Episode list/7th Heaven
    Episode list/Blue Heelers Episode list/Colbert Episode list/Degrassi
    Episode list/Degrassi/doc Episode list/House Episode list/Lassie
    Episode list/Lost Episode list/McLeod's Daughters Episode list/Sea Patrol
    Episode list/Seinfeld Episode list/Stargate
    Episode list/The Wire Episode list/Xena Episode list/doc
    Episode list/draft