Content deleted Content added
BrandonXLF (talk | contribs) No edit summary |
BrandonXLF (talk | contribs) No edit summary |
||
Line 5:
function getImage(frame, image)
if string.match(image, ".-%+.-") then
_, image = string.match(image, "(.-)%+(.-)")
end
local file = nil
if string.match(image, "
file = frame:expandTemplate{title = "flagicon image", args = {image}}
elseif string.match(image, ".-%s%(.-%)") then
Line 24:
function getCountry(country)
if string.match(country, ".-%+.-") then
country, _ =
end
|