Module:Road data/strings/CAN/MB explained

--[==[ To inspect the content of this data module, use [[Special:ExpandTemplates]]and enter the following input text:

To inspect the content of this data module when editing, enter the followinginto the Debug console: local util = require("Module:Road data/util") print(util.arrayToString(p))To inspect a particular route type, change `p` above to include the route type,e.g., `p.I` and `p["US-Hist"]`.]

]

-- Manitobalocal MB =

local util = require("Module:Road data/util")util.addAll(MB, require("Module:Road data/strings/CAN"))

MB.Hwy =

MB.PTH =

MB.MB = MB.Hwy

MB.PR =

MB.Both =

MB["MB 1972"] =

MB["PR 1972"] =

for k, v in pairs(MB) do if k:find ("TCH") then v.shield = MB.PTH.shield v.shieldmain = MB.PTH.shieldmain v.name = MB.PTH.name v.link = MB.PTH.link v.abbr = MB.PTH.abbr .. " (TCH)" v.orientation = "upright" endend

MB.Winnipeg =

MB.YH =

-- add new types above this line if you want it to have the provincial highway browse and maintfor k, v in pairs(MB) do if k:find ("^%a") then v.maint = "Department of Infrastructure" v.browse = "Manitoba provincial highways" v.browselinks = endend

MB.Winnipeg.maint = "City of Winnipeg"

return MB