Module:Sandbox/Jackmcbarn: Difference between revisions

Content deleted Content added
Jackmcbarn (talk | contribs)
get ready for use
Jackmcbarn (talk | contribs)
fix if not all args exist
Line 10:
for k,v in ipairs({'lat', 'long', 'mark', 'marksize', 'label', 'link', 'label_size', 'position'}) do
if args[v] then
table.insert(argsToReturn[k] =, string.format("%s = %q", v, mw.text.trim(args[v])))
args[v] = nil
end