Module:Road data/strings/CAN/BC: Difference between revisions

Content deleted Content added
fix
see my revert reason in the AB road data; it's supposed to be Highway, not Hwy, and this follows provincial standards, similar to Ontario.
 
(45 intermediate revisions by 8 users not shown)
Line 38:
above = "",
below = {
ifexists = true,
default = "BC-%route%.svg",
["1"] = "BC-1 (TCH).svg",
Line 55 ⟶ 56:
["916"] = "Golden Ears Way"
},
abbr = "HwyHighway %route%",
orientation = "upright"
}
Line 61 ⟶ 62:
BC.BC = BC.Hwy
 
BC.TCHYH = {
shield = BC.Hwy.shield,{
link default = {BC.Hwy.linkshield,"BC Yellowhead blank.svg"},
abbr ["5"] = "BC.Hwy.abbr .. "-5 (TCHYellowhead).svg",
["16"] = {"BC-16 (TCH).svg", "BC-16 (Yellowhead).svg"}
},
shieldmain = BC.Hwy.shieldmain,
name = BC.Hwy.name,
link = "British Columbia Highway %route%",
abbr = {
default = "Highway %route% (YH)",
["16"] = "Highway %route% (TCH/YH)",
},
orientation = "upright"
}
 
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"
end
end
 
-- add new types above this line if you want it to have the provincial highway browse and maint
for k, v in pairs(BC) do if k:find ("^%a") then
v.maint = "the [[Ministry of Transportation and Infrastructure (British Columbia)|Ministry of Transportation and Infrastructure]]"
end
end
 
--for linking to US articles