Module:Trig Jegman/Button

local f = {}

function f.main(frame) local result = {} local source = frame:getParent.args["source"] or "" local input = frame:getParent.args["input"] or "" function TEXT(X) local wiiu = wiiu local switch = switch local t = {} t = { ['wiiu'] = wiiu, ['Wii U'] = wiiu, ['Wii u'] = wiiu, ['splatoon'] = wiiu, ['Splatoon'] = wiiu, ['S'] = wiiu, ['S1'] = wiiu, ['s'] = wiiu, ['s1'] = wiiu, ['ov'] = wiiu, ['OV'] = wiiu, ['Octo Valley'] = wiiu, ['octo valley'] = wiiu, ['Octo valley'] = wiiu, ['switch'] = switch, ['Switch'] = switch, ['s2'] = switch, ['S2'] = switch, ['splatoon 2'] = switch, ['Splatoon 2'] = switch, ['Splat2n'] = switch, ['splat2n'] = switch, ['S3'] = switch, ['s3'] = switch, ['splatoon 3'] = switch, ['Splatoon 3'] = switch, ['sideorder'] = switch, ['side order'] = switch, ['Side order'] = switch, ['Side Order'] = switch, ['RotM'] = switch, ['ROTM'] = switch, ['rotm'] = switch, ['Return of the Mammalians'] = switch, ['Return of the mammalians'] = switch, ['Octo Canyon'] = switch, ['Octo canyon'] = switch, ['OC'] = switch, ['octo canyon'] = switch, ['oc'] = switch, ['Octo Expansion'] = switch, ['Octo expansion'] = switch, ['OE'] = switch, ['octo expansion'] = switch, ['oe'] = switch,

}		if not t[X] then return none else return t[X] end end

local panel_source = ' Game  '.. game ..'  ' local panel_input = ' Description  '.. description ..' ' if game == "" then panel_game = "" end if description == "" then panel_description = "" end local panel = ' ' table.insert(result, panel) return table.concat(result, "") end

return f