Module:Flags: Difference between revisions

Content deleted Content added
Reverting again. doh.
test
Line 32:
if commonsName ~= nil and link == '' then link = commonsName end
-- Fallback to Commons when the parameter doesn't have a translation in the table. The flag doesn't have a link, then.
-- if commonsName == nil then commonsName = territory.args[1] link = territory.args[1] end
return '[[File:Flag_of_' .. commonsName .. '.svg|border|link=' .. link .. '|22x20px]]'
end