Home
Random
Recent changes
Special pages
Community portal
Preferences
About Stockhub
Disclaimers
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:Road data/strings/CAN/AB
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
--[==[ To inspect the content of this data module, use [[Special:ExpandTemplates]] and enter the following input text: {{#invoke:Road data/dump|dump|module=Module:<name-of-this-module>}} To inspect the content of this data module when editing, enter the following into 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"]`. ]==] -- Alberta local AB = {} local util = require("Module:Road data/util") local format = mw.ustring.format util.addAll(AB, require("Module:Road data/strings/CAN")) AB.Hwy = { shield = { default = "Alberta Highway %route%.svg", ["Stoney"] = "Alberta Highway 201.svg", ["Henday"] = "Alberta Highway 216.svg", ["17"] = {"Alberta Highway 17.svg", "Saskatchewan Highway 17 (jct).svg"}, ["100"] = "" }, shieldmain = { default = "Alberta Highway %route%.svg", ["3"] = "Alberta Highway 3 (Crowsnest).svg", ["5"] = {"Alberta Highway %route%.svg", "Alberta Highway 22 (Cowboy Trail).svg"}, ["6"] = {"Alberta Highway %route%.svg", "Alberta Highway 22 (Cowboy Trail).svg"}, ["11"] = {"Alberta Highway %route%.svg", "Alberta Highway 11 (David Thompson).svg"}, ["14"] = {"Alberta Highway %route%.svg", "Alberta Highway 14 (Poundmaker).svg"}, ["16"] = {"Alberta Highway %route%.svg", "Yellowhead Blank.svg" }, -- "Alberta Yellowhead Highway.png" is non-free ["17"] = {"Alberta Highway %route%.svg", "Saskatchewan Highway %route% (jct).svg"}, ["22"] = {"Alberta Highway %route%.svg", "Alberta Highway 22 (Cowboy Trail).svg"}, ["33"] = {"Alberta Highway %route%.svg", "Alberta Highway 33 (Grizzly).png"}, ["35"] = "Alberta Highway 35 (Mackenzie).png", ["36"] = {"Alberta Highway %route%.svg", "Alberta Highway 36 (Veteran Memorial).svg"}, ["40"] = {"Alberta Highway %route%.svg", "Alberta Highway 40 (Bighorn).svg"}, ["41"] = {"Alberta Highway %route%.svg", "Alberta Highway 41 (Buffalo Trail).svg"}, ["49"] = {"Alberta Highway %route%.svg", "Northern Woods and Water Route (Alberta).svg"}, ["55"] = {"Alberta Highway %route%.svg", "Northern Woods and Water Route (Alberta).svg"}, ["60"] = {"Alberta Highway %route%.svg", "Alberta Highway 60 (Devonian).svg"}, ["88"] = "Alberta Highway 88 (Bicentennial).png", ["100"] = "", ["Stoney"] = "Alberta Highway 201.svg", ["Henday"] = "Alberta Highway 216.svg", }, name = { default = "Highway %route%", ["100"] = "Sherwood Park Freeway", ["201"] = "Stoney Trail", ["Stoney"] = "Stoney Trail", ["216"] = "Anthony Henday Drive", ["Henday"] = "Anthony Henday Drive" }, link = { default = "[dab||%dab%|Alberta Highway %route%]", ["17"] = "Highway 17 (Alberta–Saskatchewan)", ["100"] = "Sherwood Park Freeway", ["201"] = "Stoney Trail", ["Stoney"] = "Stoney Trail", ["216"] = "Anthony Henday Drive", ["Henday"] = "Anthony Henday Drive" }, abbr = { default = "Hwy %route%", ["100"] = "SPF", ["Stoney"] = "Stoney", ["Henday"] = "Henday" }, orientation = "upright" } AB.AB = AB.Hwy AB.Sec = AB.Hwy 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" end end AB.PAR = { shield = "", link = "List of Alberta provincial highways#PAR %route%", abbr = "PAR %route%" } AB.UAR = { shield = "", link = "List of Alberta provincial highways#UAR %route%", abbr = "UAR %route%" } --historical route markers for _,year in ipairs({"1930", "1960", "1970"}) do AB["AB " .. year] = { shield = format("Alberta Highway %%route%% (%ss).svg", year), name = AB.AB.name, link = AB.AB.link, abbr = AB.AB.abbr, orientation = "upright" } end -- add new types above this line if you want it to have the provincial highway browse and maint for k, v in pairs(AB) do if k:find ("^%a") then v.maint = "Alberta Ministry of Transportation" v.browse = "[[List of Alberta provincial highways|Provincial highways in Alberta]]" end end --for linking to US articles AB.I = {alias = {module = "USA/MT", type = "I"}} return AB
Summary:
Please note that all contributions to Stockhub may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Stockhub:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Template used on this page:
Module:Road data/strings/CAN/AB/doc
(
edit
)