Module:Flags: Difference between revisions

Content deleted Content added
Now any type of file names are accepted in tables - as long as they are .svg (minimum acceptable?)
Localized variants broke with the last change. Fixing.
Line 58:
if territory.args[3] ~= "" then
variant = territory.args[3]
commonsName = master.variant[territory.args[1]commonsName .. "|" .. variant]
flagOf=""
end
Line 65:
if territory.args[2] ~= "{{{2}}}" then
variant = territory.args[2]
commonsName = master.variant[territory.args[1]commonsName .. "|" .. variant]
flagOf = ""
end