Module:Infobox mapframe

From Random Island Wiki
Revision as of 19:48, 10 May 2018 by >Evad37 (Created page with 'local mf = require('Module:Mapframe/sandbox') local p = {} p.main = function(frame) local parent = frame.getParent(frame) local args = parent.args args.dis...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 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