Module:ISO 3166: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
(Undid revision 859416358 by BrandonXLF (talk) seems to have caused errors in articles, for example, Luonan Subdistrict)
Line 165: Line 165:
args["codetype"]="numeric"
args["codetype"]="numeric"
return p.luacode(args) or ""
end

--[[----------P . A L P H A 3---------]]-- -- Calls P.Luacode but using Module:Arguments and setting it to output a numeric value

function p.alpha3(frame)

local args = getArgs(frame)
args["codetype"]="alpha3"
return p.luacode(args) or ""
return p.luacode(args) or ""