Module:Ordnance Survey coordinates/sandbox: Difference between revisions

Content deleted Content added
make composite wrapper function
more intelligent data handling
Line 664:
local args = getArgs(frame)
if not args[1] or not args[2] then return '' end
local newArgsgridRef = {oscoord._WGS2OSGB(args[1],args[2])}
if not gridRef or #gridRef == 0 then return '' end
return oscoord._oscoord(newArgs)
if args[3] then
gridRef = gridRef..'_'..args[3]
end
return oscoord._oscoord({gridRef,args.linktitle,name=args.name})
end