Module:Road data/strings/USA/IN

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

-- Indiana local 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 local maint = "INDOT" local maint2 = "ITRCC"

IN.I.link = { ["164"] = "Interstate 164", ["265"] = "Interstate 265", ["275"] = "Interstate 275 (Ohio–Indiana–Kentucky)", ["294"] = "Interstate 294", ["465"] = "Interstate 465", ["469"] = "Interstate 469", ["865"] = "Interstate 865", default = { hook = "split", split = 100, above = "Interstate %route% (Indiana)", below = "Interstate %route% in Indiana" } } IN["I 1961"].link = IN.I.link

IN.US.link = "U.S. Route %route% in Indiana"

IN["US 1926"].shieldmain = "US %route% Indiana 1926.svg" IN["US 1926"].link = IN.US.link IN["US 1948"].shieldmain = "US %route% Indiana 1948.svg" IN["US 1948"].link = IN.US.link

IN["US-Bus"].link = "U.S. Route %route% Business ([dab||%dab%, |]Indiana)" IN["US-Bus"].abbr = "Bus. US %route%"

IN["US-Truck"].link = "U.S. Route %route% Truck ([dab||%dab%, |]Indiana)" IN["US-Truck"].abbr = "Truck US %route%"

IN.SR = { shield = "Indiana %route%.svg", base = "Indiana State Road %route%", name = "State Road %route%", link = "Indiana State Road %route% [dab||(%dab%)|]", abbr = "SR %route%", width = "expand" }

IN.IN = IN.SR

IN["SR-Bus"] = { shield = IN.SR.shield, name = "Business " .. IN.SR.abbr, link = IN.SR.base .. " Business [dab||(%dab%)|]", abbr = "Bus. " .. IN.SR.abbr, banner = "Business plate.svg", width = "expand" }

IN["IN-Bus"]=IN["SR-Bus"]

IN["SR-Truck"] = { shield = IN.SR.shield, name = "Truck " .. IN.SR.name, link = IN.SR.base .. " Truck [dab||(%dab%)|]", abbr = "Truck " .. IN.SR.abbr, banner = "Truck plate.svg", width = "expand"}

IN["IN-Truck"]=IN["SR-Truck"]

for _,year in ipairs({"1926", "1948", "1955"}) do IN["SR " .. year] = { shield = format("Indiana %%route%% (%s).svg", year), shieldmain = format("Indiana %%route%% (%s).svg", year), name = IN.SR.name, link = IN.SR.link, abbr = IN.SR.abbr, orientation = "upright" } end

IN["IN 1926"] = IN["SR 1926"] IN["IN 1940"] = IN["SR 1926"] IN["SR 1940"] = IN["SR 1926"] IN["IN 1948"] = IN["SR 1948"]

IN["SR 1955"].shield = { hook = "between", lower = 20, upper = 99, yes = IN.IN.shield, no = "Indiana %route% (1955).svg" } IN["SR 1955"].shieldmain = IN["SR 1955"].shield IN["IN 1955"] = IN["SR 1955"]

IN.Toll = { shield = "Indiana Toll Road jct.svg", name = "Indiana Toll Road", link = "Indiana Toll Road", abbr = "Indiana Toll Road", maint = maint2 }

IN.ITR = IN.Toll

IN.Lincoln.link = "Lincoln Highway in Indiana"

IN.CR.shield = { arg = "county", default   = "CR %route% jct.svg", Hendricks     = "" } IN.CR.link = { ["17"] = "[county|Elkhart|County Road 17 (Elkhart County, Indiana)|]", default = "" }

IN.IL = {alias = {module = "USA/IL", type = "IL"}} IN.Skyway = {alias = {module = "USA/IL", type = "Skyway"}} IN.KY = {alias = {module = "USA/KY", type = "KY"}} IN.MI = {alias = {module = "USA/MI", type = "M"}} IN.OH = {alias = {module = "USA/OH", type = "SR"}}

return IN