Module:Ep/Decoder/sandbox

--To add to documentation --
 * 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)

return { ['1'] = {       ['title'] = 'Campaign 1', ['listLink'] = 'List of Campaign 1 episodes', ['category'] = 'Campaign 1 episodes', },   ['2'] = {        ['title'] = 'Campaign 2', ['listLink'] = 'List of Campaign 2 episodes', ['category'] = 'Campaign 2 episodes', },   ['3'] = {        ['title'] = 'Campaign 3', ['listLink'] = 'List of Campaign 3 episodes', ['category'] = 'Campaign 3 episodes', },   ['OS'] = { ['title'] = 'One-shots', ['infoboxTitle'] = 'One-shot', ['listTitle'] = 'List of one-shots', ['category'] = 'One-shots', },   ['M'] = { ['title'] = 'Bits and bobs', ['infoboxTitle'] = 'Miscellaneous', ['listTitle'] = 'List of miscellaneous content', ['category'] = 'Bits and bobs episodes', },   ['LVM'] = { ['title'] = 'The Legend of Vox Machina', ['listTitle'] = "List of The Legend of Vox Machina episodes", ['listLink'] = "List of The Legend of Vox Machina episodes", ['category'] = 'The Legend of Vox Machina episodes', ['italics'] = true, ['seasons'] = { ['1'] = {       		['page'] = "", -- add link if season page created },       	['2'] = {        		['page'] = "", },       	['3'] = {        		['page'] = "", },       },    },    ['4SD'] = { ['title'] = '4-Sided Dive', ['listTitle'] = "List of 4-Sided Dive episodes", ['category'] = '4-Sided Dive episodes', ['italics'] = true, },   ['E'] = { ['title'] = 'Exandria Unlimited', ['titleLink'] = 'Exandria Unlimited (series)', ['listTitle'] = "List of Exandria Unlimited episodes", ['listLink'] = "List of Exandria Unlimited episodes", ['category'] = 'Exandria Unlimited episodes', ['italics'] = true, ['seasons'] = { ['1'] = {       		['page'] = "Exandria Unlimited", ['name'] = "Prime", ['italics'] = true, },       	['2'] = {        		['page'] = "Exandria Unlimited: Kymal", ['name'] = "Kymal", ['italics'] = true, },       	['3'] = {        		['page'] = "Exandria Unlimited: Calamity", ['name'] = "Calamity", ['italics'] = true, },       },    },    ['TM'] = { ['title'] = 'Talks Machina', ['listTitle'] = "List of Talks Machina episodes", ['listLink'] = "List of Talks Machina episodes", ['category'] = 'Talks Machina episodes', ['italics'] = true, },   ['TMS'] = { ['title'] = 'Talks Machina', ['listTitle'] = "List of Talks Machina episodes", ['listLink'] = "List of Talks Machina episodes", ['category'] = 'Talks Machina special episodes', ['italics'] = true, },   ['U'] = { ['title'] = 'UnDeadwood', ['category'] = 'UnDeadwood episodes', ['italics'] = true, }, }