Jump to content

Module:Road data/strings/USA/IN

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Fredddie (talk | contribs) at 07:43, 11 February 2021 (merge). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

--[==[
To inspect the content of this data module, use [[Special:ExpandTemplates]]
and enter the following input text:
  {{#invoke:Road data/dump|dump|module=Module:<name-of-this-module>}}

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 maint = "[[Indiana Department of Transportation|INDOT]]"
local maint2 = "[[Indiana Toll Road Concession Company|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"].shield = "US %route% Indiana 1926.svg"
IN["US 1926"].link = IN.US.link

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

IN["US-Truck"].link = "U.S. Route %route% Truck ([dab||%dab%, |]Indiana)"
IN["US-Truck"].abbr = "Truck US&nbsp;%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&nbsp;%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"]

IN["IN 1926"] = {	shield = "Indiana %route% (1926).svg",
					name = IN.SR.name,
					link = IN.SR.link,
					abbr = IN.SR.abbr,
					width = 14}

IN["SR 1926"] = IN["IN 1926"]

IN["IN 1940"] = IN["IN 1926"]

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

IN["IN 1948"] = {	shield = "Indiana %route% (1948).svg",
					name = IN.SR.name,
					link = IN.SR.link,
					abbr = IN.SR.abbr,
					width = 14}

IN["SR 1948"] = IN["IN 1948"]

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

IN["SR 1955"] = IN["IN 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 = {	shield = "LincolnHighwayMarker.svg",
				name = "Lincoln Highway",
				link = "Lincoln Highway in Indiana",
				abbr = "Lincoln Highway",
				width = 14}

IN.National = {	shield = "National Road Sign cropped.JPG", --should be improved
				name = "National Road",
				link = "National Road",
				abbr = "Historic National Road"}

IN.Dixie = {shield = "Dixie Highway marker.svg",
            name = "Dixie Highway",
            link = "Dixie Highway",
            abbr = "Dixie Highway",
            width = 12}

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