Jump to content

Module:Road data/strings/USA/IL

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by R'n'B (talk | contribs) at 02:10, 27 September 2020 (restore I-Toll section; removal was causing incorrect I-88 links in articles). 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"]`.
]==]

-- Illinois
local IL = {}

local util = require("Module:Road data/util")
util.addAll(IL, require("Module:Road data/strings/USA"))

local suffix = " ([dab||%dab%, |]Illinois)"
local maint = "[[Illinois Department of Transportation|IDOT]]"

IL[" common "] = {
	browse = {
		{link = "Illinois State Highway System", bold = true},
		{
			noprint = true,
			{link = "List of Interstate Highways in Illinois", name = "Interstate"},
			{link = "List of U.S. Highways in Illinois", name = "U.S."},
			{link = "List of state routes in Illinois", name = "State"},
			{link = "Illinois State Toll Highway Authority", name = "Tollways"}
		}
	}
}

IL.I.maint = maint
IL.I.link = {	["39"] = "Interstate 39",
                ["41"] = "Interstate 41",
                ["44"] = "Interstate 44 in Missouri",
                ["72"] = "Interstate 72",
                ["88"] = "Interstate 88 (Illinois)",
                ["172"] = "Interstate 172",
                ["255"] = "Interstate 255",
                ["270"] = "Interstate 270 (Missouri–Illinois)",
                ["280"] = "Interstate 280 (Illinois–Illinois)",
                ["294"] = "Interstate 294",
                ["355"] = "Interstate 355",
                ["474"] = "Interstate 474",
                default = {hook = "split",
                           split = 100,
                           above = "Interstate %route% (Illinois)",
                           below = "Interstate %route% in Illinois"}}

IL.BL.link = IL.I.base .. " Business" .. suffix
IL["I-Bus"]=IL.BL

IL["I-Toll"] = {shield = IL.I.shield,
link = IL.I.link,
abbr = IL.I.abbr,
banner = "Toll plate yellow.svg",
width = "expand"}

IL["I 1957"].link = IL.I.link
IL["I 1961"].link = IL.I.link           

IL.US.maint = maint

IL["US-Bus"].link = IL.US.base .. " Business" .. suffix
IL["US-Byp"].link = IL.US.base .. " Bypass" .. suffix
IL["US-Truck"].link = IL.US.base .. " Truck" .. suffix

for _,year in ipairs({"1926", "1948", "1961"}) do
	local oldUSmain = "US " .. year
	IL[oldUSmain].name = IL.US.name
	IL[oldUSmain].link = IL.US.link
end

IL["US-City"] = {shield = IL.US.shield,
                link = "U.S. Route %route% City ([dab||%dab%, |]Illinois)",
                abbr = "US&nbsp;%route% City",
                banner = "City plate.svg",
                width = "expand"}

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

IL.IL = {shield = "Illinois %route%.svg",
         link = "Illinois Route %route%",
         abbr = "IL&nbsp;%route%",
         width = "expand"}

IL["IL-Truck"] = {shield = IL.IL.shield,
                link = "Illinois Route %route% Truck ([dab||%dab%|])",
                abbr = IL.IL.abbr .. " Truck",
                banner = "Truck plate.svg",
                width = "expand"}

IL["IL-Toll"] = {shield = IL.IL.shield,
                link = IL.IL.link,
                abbr = IL.IL.abbr,
                banner = "Toll plate yellow.svg",
                width = "expand"}

IL["IL 1926"] = {shield = "Illinois %route% (1926).svg",
         		link = IL.IL.link,
         		abbr = IL.IL.abbr}

IL["IL 1950"] = {shield = "Illinois %route% (1950).svg",
         		link = IL.IL.link,
         		abbr = IL.IL.abbr}

IL["IL 1960"] = {shield = "Illinois %route% (1960).svg",
         		link = IL.IL.link,
         		abbr = IL.IL.abbr}         	

IL.Toll = {shield = "Indiana Toll Road logo 1968.svg",
           link = "Indiana Toll Road",
           abbr = "Indiana Toll Road"}

IL.Skyway = {shield = "Chicago Skyway logo.svg",
             link = "Chicago Skyway",
             abbr = "Chicago Skyway",
             bannersuffix = "blue"}

IL.Lincoln = {shield = "LincolnHighwayMarker.svg",
              link = "Lincoln Highway in Illinois",
              abbr = "Lincoln Highway",
              width = 14}

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

IL["GRR-Spur"] = {shield = "GreatRiverRoad brown.svg",
                  link = "Great River Road",
                  abbr = "Great River Road Spur",
                  banner = "Spur plate brown.svg",
                  bannersuffix = "brown"}

IL.LHT = {shield = "Lincoln Heritage Trail.png",
          link = "Lincoln Heritage Trail",
          abbr = "Lincoln Heritage Trail [route||(%route%)|]"}

IL.MGR = {shield = "",
          link = "Meeting of the Great Rivers Scenic Route",
          abbr = "Meeting of the Great Rivers"}

IL.IRR = {shield = "",
          link = "Illinois River Road",
          abbr = "Illinois River Road"}

IL.CR = {shield = "CR %route% jct.svg",
         link = "County Road %route% ([county||%county% County, |]Illinois)",
         abbr = "CR&nbsp;%route%"}

IL.CKC = {shield = "Illinois 110.svg",
          link = "Chicago–Kansas City Expressway",
          abbr = "IL&nbsp;110 (CKC)",
          banner = "CKC plate.svg",
          width = "square"}

IL.IA = {alias = {module = "USA/IA", type = "IA"}}
IL.IN = {alias = {module = "USA/IN", type = "IN"}}
IL.KY = {alias = {module = "USA/KY", type = "KY"}}
IL.MO = {alias = {module = "USA/MO", type = "MO"}}
IL.WI = {alias = {module = "USA/WI", type = "WI"}}
IL['I-MO'] = {alias = {module = "USA/MO", type = "I"}}

return IL