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

]

-- Iowalocal IA =

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

local suffix = " ([dab||%dab%, |]Iowa)"

IA.common =

IA.I.link =

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

IA.BL.name = IA.I.name .. " Business Loop"IA.BL.link = IA.I.base .. " Business" .. suffixIA.BL.abbr = IA.I.abbr .. " Business Loop"

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

IA.US.name = "U.S. Highway %route%"IA.US.link =

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

for _,auxType in ipairs do local spec = IA[" aux "][auxType] for k, v in pairs(IA) do if k:find (auxType) then if k:find ("^US") then v.shield = IA["US 1961"].shield v.name = IA.US.name .. " " .. spec.name v.link = IA.US.base .. " " .. spec.name .. suffix end end endend

IA["US-Hist"].link = IA.US.link

IA["US 1926-City"] = IA["US 1948-City"] = IA["US 1926-City"]

IA["US-City-Bus"] =

IA["US 1961-Alt"] = IA["US 1971"].shield = IA["US 1961"].shield

IA.IA =

for _,type in ipairs do for _,year in ipairs do IA["IA " .. year] = endend

IA["IA 1948"].shield = IA["IA 1926"].shieldIA["IA 1961"].shield = IA["IA 1980"].shield = IA["IA 1980"].bannersuffix = "1971"

IA["IA-Bus"] =

IA.AOTS =

IA.Lincoln.link = "Lincoln Highway in Iowa"IA.Lincoln.abbr = "Lincoln Highway Heritage Byway"IA.Jefferson.abbr = "Jefferson Highway Heritage Byway"

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

IA["IA 1926"].maint = "Iowa State Highway Commission"IA["IA 1948"].maint = IA["IA 1926"].maintIA["IA 1961"].maint = IA["IA 1926"].maint

IA.CR.link = IA.CR.maint = "[county||%county% County Highway Department|]"

IA.Primary =

IA.Registered =

IA.Test = IA.IL = IA.MN = IA.MO = IA.NE = IA.SD = IA.WI =

return IA