Module:Road data/strings/USA/KY explained

--[==[ 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"]`.]

]

-- Kentuckylocal 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 endend

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 endend

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 endend

for _,auxType in ipairs 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 endend

KY.KY =

KY["KY 1966"] =

for _,auxType in ipairs do local spec = KY[" aux "][auxType] KY["KY-" .. auxType] = end

KY.AA =

KY.Trace =

KY.Parkway =

-- add new types above this line if you want it to have the state highway browse and maintfor k, v in pairs(KY) do if k:find ("^%a") then v.maint = "KYTC" v.browse = "Highways in Kentucky" v.browselinks = endend

KY.CR.maint = ""

KY["I-IN"] = KY["US-OH"] = KY.TN = KY.Sec =

return KY