Module:Ep/Decoder/doc

This array tracks all valid episode code prefixes and the corresponding campaign, season, or episode type that they represent. Whenever a new campaign, show, or season comes out, new episode code prefixes should be added here. This data is used by Module:Ep/Matcher to validate an episode code, usually in a call to ep, ep ref, or ep time, as well as Module:Ep/Info and Module:Infobox Episode to return campaign or season information given an episode code.

Field names

 * title: the name of the show or campaign. Used to construct campaignName and campaignNamePlain in Ep/Info and linkedList in Infobox Episode
 * titleLink: the actual wikipage where the show resides. Inferred to be title if nil. Used to construct campaignLink in Infobox Episode
 * infoboxTitle: display text for episode type before the episode number. Inferred to be title if nil. Used to construct campaignLink in Infobox Episode instead of campaignName, which comes from title.
 * listLink: interwiki link to the list of episodes. Inferred to be title if nil. Used to construct linkedList in Infobox Episode
 * listTitle: display text for listLink. Inferred to be listLink if nil. Used to construct linkedList in Infobox Episode
 * category: corresponding episode category. Required and not inferred. Used in Infobox Episode
 * italics: whether the title should be displayed in italics
 * seasons: information about each of the seasons for a show. Used to return season for Ep/Info and to construct seasonDisplay for Infobox Episode
 * page: the exact pagename of the wiki page for that season, if it exists.
 * name: if the displayed season name is anything other than "Season [number]", which is the default
 * italics: whether the season name belongs in italics (defaults to false)