local ga = require('Module:Arguments').getArgslocal flags = require('Module:Sandbox/Χ/Quid (alternate version)/flags')
local p =
function p.main(frame) local args = ga(frame) local country = args[1] local span = mw.html.create('span') if flags[country] then span:addClass("flagicon") :wikitext(" " .. country .. "") else span = frame:expandTemplate end return spanend
return p