Module:Infobox road/meta/mapsize
Documentation for this module may be created at Module:Infobox road/meta/mapsize/doc
local mapsizes = {["DEU"] = "200", ["USA"] = "290x172"}
function mapsize(frame)
local pframe = frame:getParent()
local config = frame.args -- the arguments passed BY the template, in the wikitext of the template itself
local args = pframe.args -- the arguments passed TO the template, in the wikitext that transcludes the template
local country = args.country or ''
return mapsizes[country] or '290'
end
return {mapsize = mapsize}