--[==[ 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"]`.]
-- Albertalocal AB =
local util = require("Module:Road data/util")local format = mw.ustring.formatutil.addAll(AB, require("Module:Road data/strings/CAN"))
AB.Hwy =
AB.AB = AB.HwyAB.Sec = AB.Hwy
AB.YH =
for k, v in pairs(AB) do if k:find ("TCH") then v.shield = AB.Hwy.shield v.shieldmain = AB.Hwy.shieldmain v.name = AB.Hwy.name.default v.link = AB.Hwy.link.default v.abbr = AB.Hwy.abbr.default .. " (TCH)" v.orientation = "upright" endend
AB.PAR =
AB.UAR =
--historical route markersfor _,year in ipairs do AB["AB " .. year] = end
-- add new types above this line if you want it to have the provincial highway browse and maintfor k, v in pairs(AB) do if k:find ("^%a") then v.maint = "the Ministry of Transportation and Economic Corridors" endend
--for linking to US articlesAB.I =
return AB