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

Content deleted Content added
No edit summary
Tag: Reverted
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.
 
(38 intermediate revisions by 5 users not shown)
Line 27:
default = "BC-%route%.svg",
["1"] = "BC-1 (TCH).svg",
["3"] = "Hwy_3_Route_MarkerBC-3 (Crowsnest).pngsvg",
["5"] = "BC-5 (Yellowhead).svg",
["16"] = "BC-16 (TCH).svg",
["113"] = "Hwy_113_Route_Marker.png",
["401"] = "BC-401 (TCH).svg"
}
Line 39 ⟶ 38:
above = "",
below = {
ifexists = true,
default = "BC-%route%.svg",
["1"] = "BC-1 (TCH).svg",
Line 56:
["916"] = "Golden Ears Way"
},
abbr = "HwyHighway %route%",
orientation = "upright"
}
 
BC.BC = BC.Hwy
 
BC.YH = {
shield = {
default = {BC.Hwy.shield,"BC Yellowhead blank.svg"},
["5"] = "BC-5 (Yellowhead).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.linkname = BC.Hwy.linkname
v.abbrlink = BC.Hwy.abbr"British ..Columbia "Highway (TCH)%route%"
v.abbr = "Highway %route% (TCH)"
v.orientation = "upright"
end
end
Line 72 ⟶ 90:
-- 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]]"
v.browse = "[[List of British Columbia provincial highways|British Columbia provincial highways]]"
end
end