Module:ISO 3166: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
m (Changed protection level for "Module:ISO 3166": Highly visible template ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
No edit summary
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 ""