--[==[ 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"]`.]
-- New Brunswicklocal NB =
local util = require("Module:Road data/util")util.addAll(NB, require("Module:Road data/strings/CAN"))
-- Provincial typesNB.Route = NB.NB = NB.Route
for k, v in pairs(NB) do if k:find ("TCH") then v.shield = "NB %route% (TCH).svg" v.name = NB.Route.name v.link = NB.Route.link v.abbr = NB.Route.abbr .. " (TCH)" v.orientation = "upright" endend
-- add new types above this line if you want it to have the provincial highway browse and maintfor k, v in pairs(NB) do if k:find ("^%a") then v.maint = "Department of Transportation and Infrastructure" endend
NB.A = NB.QC =
-- American typesNB.I = NB.US =
return NB