Content deleted Content added
mNo edit summary |
Reverting again. doh. |
||
Line 9:
-- Frequent flags in your wiki --
["England"] = "
}
Line 17:
end
-- Loading the flag translations module
local translations = require "Module:Sandbox/QuimGil/FlagTranslations"
Line 26:
if territory.args[1] == "Nepal" or territory.args[1] == "Ohio" then
return '[[File:Flag_of_' .. territory.args[1] .. '.svg|link=' .. territory.args[1] .. '|22x20px]]' end
-- Searching in the translation table.
-- In the absence of translation for an existing entry, links to the english/original name --
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.
return '[[File:Flag_of_' .. commonsName .. '.svg|border|link=' .. link .. '|22x20px]]'
end
|