Content deleted Content added
mNo edit summary |
Simplifying border instructions |
||
Line 6:
-- Assigning the parameter to a flag and a link
function p.flag(territory)
-- Size of flag -- FIXME "size=" format isn't implemented yet because the parameter renders as a "{{{2}}}" string. Weird.
Line 30 ⟶ 29:
if commonsName == nil then commonsName = territory.args[1] link = territory.args[1] end
--
if commonsName == "Nepal" or commonsName == "Ohio" then border = "" else border = "border|" end
-- return '[[File:Flag_of_' .. commonsName .. '.svg|' .. border .. 'link=' .. link .. '|'.. size .. ']]'
|