Module:GameShortened

local g = {}

function g.main(frame) local S1 = "S" local S2 = "S2" local S3 = "S3" local OE = "OE" local abbrev = { ['S'] = S,       ['S1'] = S,        ['Splatoon'] = S,        ['Splatoon 1'] = S,        ['S2'] = S2, ['Splatoon 2'] = S2, ['S3'] = S3, ['Splatoon 3'] = S3, ['OE'] = OE, ['Octo Expansion'] = OE, }   local arg = frame:getParent.args[1] or S1    local default = frame:getParent.args[2] or frame:getParent.args['default'] or S1    return abbrev[arg] or default end

return g