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
 * italics: whether the title should be displayed in italics
 * 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
 * transcriptCategory: Category:Transcripts sub-category, if any, for campaign. Used by VOD script
 * thumbnailCategory: Category:Episode thumbnails sub-category, if any, for campaign. Used by VOD script
 * navbox = Navigation template for campaign. Used by VOD script to determine whether a campaign is still releasing new episodes and should be removed if a campaign is concluded
 * 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)