Module:Mapframe: Difference between revisions

Content deleted Content added
remove dependence on WikidataCoord template/module; try getting frame lat/long from wikidata, if not already specified by parameters
add entry point for modules
Line 308:
local p = {}
 
-- Entry point for templates
function p.main(frame)
local parent = frame.getParent(frame)
local argsoutput = setCleanArgsp._main(parent.args)
return frame:preprocess(output)
end
 
-- Entry point for modules
function p._main(_args)
local args = setCleanArgs(_args)
local tagContent = makeContent(args)
Line 329 ⟶ 336:
end
 
return frame:preprocess(output)
end