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.
 
(51 intermediate revisions by 8 users not shown)
Line 30:
["5"] = "BC-5 (Yellowhead).svg",
["16"] = "BC-16 (TCH).svg",
["401"] = "BC-401 (TCH).svg"
}
},
shieldmain = {
hook = "split",
split = 900,
above = "",
below = {
ifexists = true,
default = "BC-%route%.svg",
["1"] = "BC-1 (TCH).svg",
["3"] = "British Columbia Highway %route%.svg",
["5"] = "BC-5 (Yellowhead).svg",
["16"] = {"BC-16 (TCH).svg", "BC-16 (Yellowhead).svg"},
["113"] = "British Columbia Highway %route%.svg",
["401"] = "BC-401 (TCH).svg"
}
Line 41 ⟶ 56:
["916"] = "Golden Ears Way"
},
abbr = "HwyHighway %route%",
orientation = "upright"
}
 
BC.BC = BC.Hwy
 
BC.TCHYH = {
shield = BC.Hwy.shield,{
link default = {BC.Hwy.linkshield,"BC Yellowhead blank.svg"},
["5"] = "BC-5 (Yellowhead).svg",
abbr = BC.Hwy.abbr .. " (TCH)"
["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