Jump to content

Module:Infobox mapframe

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Evad37 (talk | contribs) at 00:50, 11 May 2018 (return p). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

local mf = require('Module:Mapframe/sandbox')

local p = {}

p.main = function(frame)
	local parent = frame.getParent(frame)
	local args = parent.args

	args.display = args.display or "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