Module:Miau

local f = {}

function f.main(frame) local description = frame.args["description"] or "No description provided Caregory:Files lacking description" local type = mw.ustring.lower(frame.args["type"] or "") local source = frame.args["source"] or "No source specified " local result = {} local t = {} t = { ['art'] = "Official artwork ", ['artwork'] = "Official artwork ", ['art work'] = "Official artwork ", ['audio'] = "Audio ", ['sound'] = "Audio ", ['music'] = "Audio ", ['sound'] = "Audio ", ['fanart'] = "Fanart ", ['fan art'] = "Fanart ", ['fanartwork'] = "Fanart ", ['flag'] = "Flag ", ['logo'] = "Logotype ", ['logotype'] = "Logotype ", ['logomark'] = "Logotype ", ['wordmark'] = "Logotype ", ['map'] = "Map ", ['photo'] = "Photograph ", ['photograph'] = "Photograph ", ['photography'] = "Photograph ", ['scan'] = "Scan ", ['magazine'] = "Scan ", ['screenshot'] = "Screenshot ", ['screen shot'] = "Screenshot ", ['printscreen'] = "Screenshot ", ['print screen'] = "Screenshot ", ['prtscr'] = "Screenshot ", ['sprite'] = "Sprite ", ['spritesheet'] = "Sprite ", ['sprite sheet'] = "Sprite ", ['vector'] = "Vector graphic ", ['svg'] = "Vector graphic ", ['video'] = "Video ", ['movie'] = "Video ", ['film'] = "Video ", ['short'] ="Video " }	 type = t[type] or "No type specified. " local mekong = mw.title.getCurrentTitle:getContent if mekong:find('data%-license="true"') then mekong = " true" else mekong = "false" end local panel = "ABC" if mw.title.getCurrentTitle.namespace ~= 6 then panel = "false" end table.insert(result, 'PANEL:'.. panel ..' / DESC:'.. description .. ' / TYPE:'.. type ..' / SRC:'.. source..' / IDTEST: '.. mekong ..'') return table.concat(result, "") end

return f