Module:Set list

-- General vars and arrays: local region_list = { ['en'] = 'Worldwide English', ['na'] = 'North American English', ['eu'] = 'European English', ['au'] = 'Australian English', ['oc'] = 'Australian English', ['fr'] = 'French', ['fc'] = 'French-Canadian', ['de'] = 'German', ['it'] = 'Italian', ['pt'] = 'Portuguese', ['es'] = 'Spanish', ['sp'] = 'Spanish', ['jp'] = 'Japanese', ['ja'] = 'Japanese-Asian', ['ae'] = 'Asian-English', ['tc'] = 'Chinese', ['zh'] = 'Chinese', ['ko'] = 'Korean', ['kr'] = 'Korean', default = error('Invalid !') }

--   Start: local MyInput = {}

function MyInput.list( frame ) -- Get arguments: local parameters = MyInput._getParameters( frame.args, { 'region', 'set', 'qty', 'abbr', 'col', 'header', 'rarity' } ); --     local PAGENAME = mw.title.getCurrentTitle.text; -- Define vars related to the set info: local _region = region_list[parameters['region']:lower] or region_list['default']; if _region == nil or _region == "" then --_region = end

end