Module:Road data/strings/CAN/BC 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"]`.]

]

-- British Columbialocal BC =

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

BC.Hwy =

BC.BC = BC.Hwy

BC.YH =

for k, v in pairs(BC) do if k:find ("TCH") then v.shield = BC.Hwy.shield v.shieldmain = BC.Hwy.shieldmain v.name = BC.Hwy.name v.link = "British Columbia Highway %route%" v.abbr = "Highway %route% (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(BC) do if k:find ("^%a") then v.maint = "the Ministry of Transportation and Infrastructure" endend

--for linking to US articles

BC.I = BC.US = BC.WA = BC.ID = return BC