--[==[ 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"]`.]
-- Indianalocal IN =
local util = require("Module:Road data/util")util.addAll(IN, require("Module:Road data/strings/USA"))
local suffix = " ([dab||%dab%, |]Indiana)"local format = mw.ustring.format
IN.I.link =
for k, v in pairs(IN) do if k:find ("^I") then v.link = IN.I.link endend
IN.US.link = "U.S. Route %route% in Indiana"
for k, v in pairs(IN) do if k:find ("^US %d") then v.link = IN.US.link endend
for _,auxType in ipairs do local spec = IN[" aux "][auxType] for k, v in pairs(IN) do if k:find (auxType) then if k:find ("^US") then v.link = IN.US.base .. " " .. spec.name .. " ([dab||%dab%, |]Indiana)" end end endend
for _,type in ipairs do for _,auxType in ipairs do local spec = IN[" aux "][auxType] IN[type .. "-" .. auxType] = endend
IN.SR = IN.IN = IN.SR
for _,type in ipairs do for _,auxType in ipairs do local spec = IN[" aux "][auxType] IN[type .. "-" .. auxType] = endend
for _,type in ipairs do for _,year in ipairs do IN[type .. " " .. year] = endendIN["IN 1940"] = IN["SR 1926"]IN["SR 1940"] = IN["SR 1926"]
IN["SR 1955"].shield = IN["IN 1955"] = IN["SR 1955"]
-- add new types above this line if you want it to have the state highway maintfor k, v in pairs(IN) do if k:find ("^%a") then v.maint = "INDOT" endend
IN.Lincoln.link = "Lincoln Highway in Indiana"
IN.Toll = IN.ITR = IN.Toll
IN.CR.shield = IN.CR.link = IN.CR.maint = "%county% County Roads"
IN.Airport =
IN.IL = IN.Skyway = IN.KY = IN.MI = IN.OH =
return IN