Module:Road data/strings/USA/KY

MyWikiBiz, Author Your Legacy — Sunday November 03, 2024
Jump to navigationJump to search

Documentation for this module may be created at Module:Road data/strings/USA/KY/doc

--[==[
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)"
local maint = "[[Kentucky Department of Transportation|Kentucky DOT]]"
 
KY.I.link = "Interstate %route% (Kentucky)"
        
KY["I 1957"].link = KY.I.link

KY.BL.link = "Interstate %route% Business ([dab||%dab%, |]Kentucky)"
KY["I-Bus"]=KY.BL

KY["I-Spur"] = {
	shield = KY.I.shield,
	name = "Interstate %route% Spur",
	link = "Interstate %route% Spur (Kentucky)",
	abbr = "I-%route% Spur",
	banner = "Spur plate blue.svg",
	width = "expand"
}

KY["I-Future"].link = KY.I.link
KY.Future=KY["I-Future"]

KY.US.link = "U.S. Route %route% [dab||(%dab%, Kentucky)|in Kentucky]"
 
KY["US 1926"].shieldmain = "US %route% Kentucky 1926.svg"
KY["US 1926"].link = KY.US.link
KY["US 1948"].shieldmain = "US %route% Kentucky 1948.svg"
KY["US 1948"].link = KY.US.link
KY["US 1961"].name = KY.US.name
KY["US 1961"].link = KY.US.link 

KY["US-Alt"].link = KY.US.base .. " Alternate" .. suffix
KY["US-Bus"].link = KY.US.base .. " Business" .. suffix
KY["US-Conn"].link = KY.US.base .. " Connector" .. suffix
KY["US-Spur"].link = KY.US.base .. " Spur" .. suffix
KY["US-Truck"].link = KY.US.base .. " Truck" .. suffix

KY.KY = {	shield = "Elongated circle %route%.svg",
			name = "Kentucky Route %route%",
			link = "Kentucky Route %route% [dab||(%dab%)|]",
			abbr = "KY&nbsp;%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} 

KY["KY-Bus"] = {shield = KY.KY.shield,
                 name = KY.KY.name .. " Business",
                link = "Kentucky Route %route% Business [dab||(%dab%)|]",
                abbr = "KY&nbsp;%route% Bus.",
                banner = "Business plate.svg",
                width = "expand"}

KY["KY-Byp"] = {shield = KY.KY.shield,
                 name = KY.KY.name .. " Bypass",
                link = "Kentucky Route %route% Bypass [dab||(%dab%)|]",
                abbr = "KY&nbsp;%route% Byp.",
                banner = "By-pass plate.svg",
                width = "expand"}
                
KY["KY-Conn"] = {shield=KY.KY.shield,
                 name = KY.KY.name .. " Connector",
				 link="Kentucky Route %route% Connector [dab||(%dab%)|]",
				 abbr="KY&nbsp;%route% Conn.",
				 banner="Connector plate.svg",
				 width="expand"}
				 
KY["KY-Truck"] = {shield = KY.KY.shield,
                 name = KY.KY.name .. " Truck",
                link = "Kentucky Route %route% Truck [dab||(%dab%)|]",
                abbr = "KY&nbsp;%route% Truck",
                banner = "Truck plate.svg",
                width = "expand"}

KY["KY-Spur"] = {shield = KY.KY.shield,
                 name = KY.KY.name .. " Spur",
                 link = "Kentucky Route %route% Spur [dab||(%dab%)|]",
                 abbr = "KY&nbsp;%route% Spur",
                 banner = "Spur plate.svg",
                 width = "expand"}
                 
KY.AA = {
	shield = {"Elongated circle %route%.svg", "AA Highway Shield.svg"},
	name = "AA Highway",
	link = KY.KY.link,
	abbr = KY.KY.abbr.." (AA&nbsp;Hwy.)",
	width = 40
}

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"}

KY.Parkway = {shield = {["Mammoth Cave"] = "",
                 default = "%route% Parkway.svg"},
              name = "%route% Parkway",
              link = "%route% Parkway",
              abbr = "%route% Parkway",
              width = "wide"}

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 = "SR"}}
KY.Sec = {alias = {module = "USA/TN", type = "Sec"}}

return KY