-- This module is a sandbox. It is also used for testing XFDcloserlocal getArgs = require('Module:Arguments').getArgslocal transcluder = require("Module:Transcluder")local mapframe = require("Module:Mapframe")
local p =
p.server = function(frame) return mw.site.serverend
p.main = function(frame) local childFrame = frame:newChild local FULLPAGENAME = childFrame:preprocess("") return FULLPAGENAMEend
p.getCoords = function(frame) local args = getArgs(frame,) local title = args.article and mw.title.new(args.article) or mw.title.getCurrentTitle local content = frame:preprocess(args.section and transcluder.getSection(content, args.section) or title:getContent ) local coords = for geo in mw.ustring.gmatch(content, "
(.-)%)