Open main menu
Home
Random
Donate
Recent changes
Special pages
Community portal
Preferences
About Stockhub
Disclaimers
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:Road data/strings/USA/WY
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"]`. ]==] -- Wyoming local WY = {} local util = require("Module:Road data/util") local format = mw.ustring.format util.addAll(WY, require("Module:Road data/strings/USA")) local suffix = " ([dab||%dab%, |]Wyoming)" local maint = "[[Wyoming Department of Transportation|Wyoming DOT]]" WY.I.link = "Interstate %route% (Wyoming)" for k, v in pairs(WY) do if k:find ("^I") then v.link = WY.I.link end end WY.BL.link = "Interstate %route% Business ([dab||%dab%, |]Wyoming)" for k, v in pairs(WY) do if k:find ("^BL") then v.link = WY.BL.link end end WY.US.shield = { ["14A"] = "US 14 Alternate (Wyoming).svg", default = { hook = "splitlen", split = 3, below = "US %route%.svg", above = "US %route% square.svg" } } WY.US.shieldmain= WY.US.shield WY.US.name = "U.S. Highway %route%" WY.US.link = "U.S. Route %route% in Wyoming" for k, v in pairs(WY) do if k:find ("^US %d") then v.name = WY.US.name v.link = WY.US.link end end for _,auxType in ipairs({"Alt", "Bus", "Byp", "City", "Conn", "Emerg", "Opt", "Scenic", "Spur", "Temp", "Toll", "Truck"}) do local spec = WY[" aux "][auxType] for k, v in pairs(WY) do if k:find (auxType) then if k:find ("^US") then v.name = WY.US.name .. " " .. spec.name v.link = WY.US.base .. " " .. spec.name .. suffix end end end end WY.WY = { shield = "WY-%route%.svg", name = "Wyoming Highway %route%", link = "Wyoming Highway %route% [dab||(%dab%)|]", abbr = "WYO %route%" } WY.WYO = WY.WY WY["WY-Conn"] = { shield = WY.WY.shield, name = WY.WY.name .. " Connector", link = "Wyoming Highway %route% Connector", abbr = "WYO %route%C", banner = "Connector plate Wyoming.svg", aux = WY[" aux "].Conn } WY["WYO-Conn"] = WY["WY-Conn"] -- add new types above this line if you want it to have the state highway browse and maint for k, v in pairs(WY) do if k:find ("^%a") then v.maint = "[[Wyoming Department of Transportation|WYDOT]]" v.browse = "[[State highways in Wyoming]]" v.browselinks = { [1] = "[[List of Interstate Highways in Wyoming|Interstate]]", [2] = "[[List of U.S. Highways in Wyoming|US]]", [3] = "[[List of state highways in Wyoming|State]]" } end end return WY
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/USA/WY/doc
(
edit
)