Module:Infobox mapframe
Documentation for this module may be created at Module:Infobox mapframe/doc
local mf = require('Module:Mapframe/sandbox') local p = {} p.main = function(frame) local parent = frame.getParent(frame) local parentArgs = parent.args -- convert parent args to standard table local args = {} for k, v in pairs(parentArgs) do args[k] = v end -- Some defaults/overrides for infobox presentation args.display = "inline" args.frame = "yes" args.plain = "yes" args["frame-width"] = args["frame-width"] or "270" local mapframe = mf._main(args) return frame:preprocess(mapframe) end return p