Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
BRUS Wikipedia
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Module:Road data/strings/USA/KY
Module
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Get shortened URL
Appearance
move to sidebar
hide
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"]`. ]==] -- Kentucky local KY = {} local util = require("Module:Road data/util") util.addAll(KY, require("Module:Road data/strings/USA")) local suffix = " ([dab||%dab%, |]Kentucky)" KY.I.link = "Interstate %route% (Kentucky)" for k, v in pairs(KY) do if k:find ("^I") then v.link = KY.I.link end end KY.BL.link = "Interstate %route% Business ([dab||%dab%, |]Kentucky)" KY["I-Bus"]=KY.BL for k, v in pairs(KY) do if k:find ("^B%a") then v.link = KY.BL.link end end KY.US.link = "U.S. Route %route% [dab||(%dab%, Kentucky)|in Kentucky]" for k, v in pairs(KY) do if k:find ("^US %d") then v.link = KY.US.link end end for _,auxType in ipairs({"Alt", "Bus", "Byp", "City", "Conn", "Emerg", "Opt", "Scenic", "Spur", "Temp", "Toll", "Truck"}) do local spec = KY[" aux "][auxType] for k, v in pairs(KY) do if k:find (auxType) then if k:find ("^US") then v.link = KY.US.base .. " " .. spec.name .. " ([dab||%dab%, |]Kentucky)" end end end end KY.KY = { shield = "Elongated circle %route%.svg", base = "Kentucky Route %route%", name = "Kentucky Route %route%", link = "Kentucky Route %route% [dab||(%dab%)|]", abbr = "KY %route%", width = "expand" } KY["KY 1966"] = { shield = {hook = "split", split = 100, below = "Elongated circle %route%.svg", above = "Circle sign %route%.svg" }, name = KY.KY.name, link = KY.KY.link, abbr = KY.KY.abbr } for _,auxType in ipairs({"Bus", "Byp", "Conn", "Spur", "Truck"}) do local spec = KY[" aux "][auxType] KY["KY-" .. auxType] = { shield = KY.KY.shield, name = KY.KY.base .. " " .. spec.name, link = KY.KY.base .. " " .. spec.name .. KY[" dab "], abbr = KY.KY.abbr .. " " .. spec.abbrsuffix, banner = spec.bannerprefix .. " plate.svg", aux = spec.aux, width = "expand", } end KY.AA = { shield = { ["9"] = "AA Highway KY 9.svg", ["10"] = "AA Highway KY 10.svg", default = "AA Highway Shield.svg" }, name = { ["9"] = "AA Highway KY 10", ["10"] = "AA Highway KY 10", default = "AA Highway" }, link = { ["9"] = KY.KY.link, ["10"] = KY.KY.link, default = "AA Highway" }, abbr = { ["9"] = "AA Hwy (KY 9)", ["10"] = "AA Hwy (KY 10)", default ="AA Hwy" }, width = "expand", bannersuffix = { default = "" } } KY.Trace = { shield = "", -- needs a shield image: http://www.kentuckyroads.com/images/lbl-03july/ name = "The Trace", link = "The Trace (Land Between the Lakes)", abbr = "The Trace", color = "hist" } KY.Parkway = { shield = { ["Kentucky Turnpike"] = "Kentucky Turnpike shield.png", default = "%route% Parkway.svg" }, shieldmain = { ["Kentucky Turnpike"] = "Kentucky Turnpike shield.png", default = "%route% Parkway fair use.svg", }, name = { ["Kentucky Turnpike"] = "Kentucky Turnpike", default = "%route% Parkway" }, link = { ["Kentucky Turnpike"] = "Kentucky Turnpike", default = "%route% Parkway" }, abbr = { ["Kentucky Turnpike"] = "Kentucky Turnpike", default = "%route% Parkway" }, width = "wide", bannersuffix = { ["Kentucky Turnpike"] = "", default = "blue" } } -- add new types above this line if you want it to have the state highway browse and maint for k, v in pairs(KY) do if k:find ("^%a") then v.maint = "[[Kentucky Transportation Cabinet|KYTC]]" v.browse = "[[Numbered highways in Kentucky|Highways in Kentucky]]" v.browselinks = { [1] = "[[List of Interstate Highways in Kentucky|Interstate]]", [2] = "[[List of U.S. Highways in Kentucky|US]]", [3] = "[[List of state highways in Kentucky|State]]", [4] = "[[List of parkways and named highways in Kentucky|Parkways]]" } end end KY.CR.maint = "" KY["I-IN"] = {alias = {module = "USA/IN", type = "I"}} KY["US-OH"] = {alias = {module = "USA/OH", type = "US"}} KY.TN = {alias = {module = "USA/TN", type = "KY"}} KY.Sec = {alias = {module = "USA/TN", type = "Sec"}} return KY
Summary:
Please note that all contributions to BRUS Wikipedia 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
BRUS Wikipedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Preview page with this template
Templates used on this page:
Template:Module exports
(
edit
)
Template:N.b.
(
edit
)
Template:Nowrap
(
edit
)
Template:Template link
(
edit
)
Template:Tl
(
edit
)
Module:Arguments
(
edit
)
Module:Exports
(
edit
)
Module:Road data/strings/USA
(
edit
)
Module:Road data/strings/USA/KY
(
edit
)
Module:Road data/strings/USA/KY/doc
(
edit
)
Module:Road data/strings/USA/regional/GRR
(
edit
)
Module:Road data/strings/USA/regional/NER
(
edit
)
Module:Road data/strings/USA/regional/Tour
(
edit
)
Module:Road data/strings/USA/regional/Trails
(
edit
)
Module:Road data/strings/doc
(
edit
)
Module:Road data/util
(
edit
)
Module:TableTools
(
edit
)