Module:Road data/strings/USA/OH 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"]`.]

]

-- Ohiolocal OH =

local util = require("Module:Road data/util")local format = mw.ustring.formatutil.addAll(OH, require("Module:Road data/strings/USA"))

local suffix = " ([dab||%dab%, |]Ohio)"local suffix2 = " [dab||(%dab%)|]"local maint = "ODOT"

OH.I.link =

for k, v in pairs(OH) do if k:find ("^I") then v.link = OH.I.link endend

OH.BL.link = "Interstate %route% Business ([dab||%dab%, |]Ohio)"

for k, v in pairs(OH) do if k:find ("^BL") then v.link = OH.BL.link endend

OH.US.link = "U.S. Route %route% in Ohio"

OH.USD =

for k, v in pairs(OH) do if k:find ("^US %d") then v.name = OH.US.name v.link = OH.US.link endend

for _,auxType in ipairs do local spec = OH[" aux "][auxType] for k, v in pairs(OH) do if k:find (auxType) then if k:find ("^US") then v.name = OH.US.name .. " " .. spec.name v.link = OH.US.base .. " " .. spec.name .. " ([dab||%dab%, |]Ohio)" v.banner = spec.banneralt .. " plate.svg" end end endend

OH["US 1961-Alt"] =

OH.SR = OH.OH = OH.SR

for _,type in ipairs do for _,auxType in ipairs do local spec = OH[" aux "][auxType] OH[type .. "-" .. auxType] = endend OH["OH ICH"] =

for _,type in ipairs do for _,year in ipairs do OH[type .. " " .. year] = endendOH["SR 1967"].shield = OH["OH 1967"].shield = OH["SR 1967"].shield

OH["SR 1960-Temp"] = OH["OH 1960-Temp"] = OH["SR 1960-Temp"] OH.SRD = OH.OHD = OH.SRD

OH.SBR = OH.MMR =

OH.OHTP =

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

OH.OHTP.maint = "Ohio Turnpike and Infrastructure Commission"

local countyShield =

OH.CR.shield = OH.CR.browse = "County roads in Ohio"OH.CR.nbrowselinks = ""

OH.TR =

OH.KY = OH["US-KY"] = OH.AA = OH.WV = OH.IN =

return OH