Module:Ordnance Survey coordinates/sandbox: Difference between revisions

Content deleted Content added
this may be causing a bug
if scale not specified, guess based on precision
Line 379:
url = url..'_'..args[i]
end
if not mw.ustring.find(input,"region") == nil and LL.region then
url = url..'_region:'..LL.region
end
if not mw.ustring.find(input,"scale") and
not mw.ustring.find(input,"type") and
not mw.ustring.find(input,"dim") and LL.prec then
url = url..'_dim:'..floor(50*LL.prec+0.5)..'m'
end
if not empty(namearg) then