Module:Flags: Difference between revisions

Content deleted Content added
Introducing size exceptions for Nepal, Switzerland and the Vatican City
"size=" only makes it simpler
Line 36:
return size end
-- Checking whether a size parameter has been introduced, otherwise set default
if territory.args[23]:find("px", -2) ~= nil then size = territory.args[23] else size = defaultSize(commonsName) end
elseif territory.args[3]:find("px", -2) ~= nil then size = territory.args[3] else size = defaultSize(commonsName) end
-- return '[[File:Flag_of_' .. commonsName .. '.svg|' .. border .. 'link=' .. link .. '|'.. size .. ']]'