Template:Episode list/sublist/doc

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

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.

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:

Example
This entry:

Would appear as follows (shown without table headers):

Sublists
Occasionally, when dealing with a very long series, you may wish to break the list up into separate sublists. When doing so, the list should be broken at season breaks, or otherwise years.

Sublists should be named as "List of X episodes (season y)", and transcluded onto the main list to prevent ending up with two lists of duplicate information. For sublist pages, you should use List of X episodes for each episode, where "List of X episodes" is the name of the main episode list. So, for instance, if you're working on List of Lassie episodes, you would split it into List of Lassie episodes (season 1) and List of Lassie episodes (season 2), and each episode on the sublist would use. When transcluded onto the main list, this template strips out any summaries and alternates the background row color between light and dark gray, depending on the value of  , but any custom    coloring is left intact.

For the purpose of transclusion, each sublist should make use of  tags, with the opening tag just after the "Episode list" or "List of episodes" header, and the closing tag at the very end of the episode list. This prevents the lead, external links, references, 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. For example, referring to Lassie again, the main list would have the following code under the "Episode list" header:

===Season 1===

Season 2
Note the colon (:) at the beginning of the transclusions (for example, {{ :List of ...); this is necessary when transcluding non-templates to prevent a redlink from appearing. If you tried to transclude List of Lassie episodes (season 1) without using the colon, you would get {{List of Lassie episodes (season 1)}}: a redlink to a nonexistent template.