Content deleted Content added
Jackmcbarn (talk | contribs) for converting map |
Jackmcbarn (talk | contribs) handle nils |
||
Line 5:
local extra = {}
for k,v in pairs({'lat', 'long', 'mark', 'marksize', 'label', 'link', 'label_size', 'position'}) do
if frame.args[v] then
argsToReturn[k] = string.format("%s = %q", v, mw.text.trim(frame.args[v])) frame.args[v] = nil
end
end
if frame.args[1] and mw.text.trim(frame.args[1]) == 'Syria' then frame.args[1] = nil end
for k,v in pairs(frame.args) do
table.insert(extra, 'EXTRA ' .. k .. ' = ' .. v)
|