Jump to content

Module:Road data/strings/USA/CO

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Fredddie (talk | contribs) at 21:08, 11 February 2021 (fix). 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))
]==]

--Colorado
local CO = require("Module:Road data/strings/USA")

local util = require("Module:Road data/util")

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

CO[" common "] = {
	browse = {
		{link = "Colorado State Highway System", bold = true},
		{
			noprint = true,
			{link = "List of Interstate Highways in Colorado", name = "Interstate"},
			{link = "List of U.S. Highways in Colorado", name = "U.S."},
			{link = "List of state highways in Colorado", name = "State"},
			{link = "List of Colorado Scenic and Historic Byways", name = "Scenic"}
		}
	}
}

CO.I.link = {	["76"] = "Interstate 76 (Colorado–Nebraska)",
                ["225"] = "Interstate 225",
                ["270"] = "Interstate 270 (Colorado)",
                ["425"] = "Interstate 425",
                ["470"] = "Interstate 470 (Colorado)",
                default = "Interstate %route% in Colorado"}

CO.BL.link = "Interstate %route% Business ([dab||%dab%, |]Colorado)"
CO.BS.link = CO.BL.link

CO.US.name = "U.S. Highway %route%"
CO.US.link = {["138"] = "U.S. Route 138",
                 ["350"] = "U.S. Route 350",
                 ["400"] = "U.S. Route 400",
                 ["491"] = "U.S. Route 491",
                 ["550"] = "U.S. Route 550",
                 ["650"] = "U.S. Route 650",
                 default = "U.S. Route %route% in Colorado"}
                 
CO["US 1926"].shieldmain = "US %route% Colorado 1926.svg"
CO["US 1926"].name = CO.US.name
CO["US 1926"].link = CO.US.link
CO["US 1948"].shieldmain = "US %route% Colorado 1948.svg"
CO["US 1948"].name = CO.US.name
CO["US 1948"].link = CO.US.link

CO["US-Alt"].name = CO.US.name .. " Alternate"
CO["US-Alt"].link = CO.US.base .. " Alternate" .. suffix
            
CO["US-Bus"].name = CO.US.name .. "Business"
CO["US-Bus"].link = CO.US.base .. "Business" .. suffix


CO["US-Spur"].name = CO.US.name .. " Spur"
CO["US-Spur"].link = CO.US.base .. " Spur" .. suffix


CO.SH = {	shield = "Colorado %route%.svg",
			shieldmain = "Colorado %route%.svg",
			name = "State Highway %route%",
			link = "Colorado State Highway %route% [dab||(%dab%)|]",
			abbr = "SH&nbsp;%route%"}

CO.CO = CO.SH

CO["SH 1926"] = {	shield = "Colorado %route% (1926).svg",
					shieldmain = "Colorado %route% (1926).svg",
					name = CO.SH.name,
					link = CO.SH.link,
					abbr = CO.SH.abbr}
CO["CO 1926"] = CO["SH 1926"]
        
CO["SH 1946"] = {	shield = "Colorado %route% (1946).svg",
					shieldmain = "Colorado %route% (1946).svg",
					name = CO.SH.name,
					link = CO.SH.link,
					abbr = CO.SH.abbr}
				
CO["CO 1946"] = CO["SH 1946"]

CO["SH 1952"] = {	shield = "Colorado %route% (1952).svg",
					shieldmain = "Colorado %route% (1952).svg",
					name = CO.SH.name,
					link = CO.SH.link,
					abbr = CO.SH.abbr}
				
CO["CO 1952"] = CO["SH 1952"]
        
CO["SH-Bus"] = {shield = CO.SH.shield,
				shieldmain = CO.SH.shield,
				name = CO.SH.name .. " Business",
				link = "Colorado State Highway %route% Business [dab||(%dab%)|]",
				abbr = "SH&nbsp;%route% Bus.",
				banner = "Business plate.svg"}         

CO["CO-Bus"] = CO["SH-Bus"]

CO.E = {shield = "E%route%.svg",
		shieldmain = "E%route%.svg",
		name = "E-%route%",
        link = "E-%route%",
        abbr = "E-%route%"}

CO.AZ = {alias = {module = "USA/AZ", type = "SR"}}
CO.KS = {alias = {module = "USA/KS", type = "K"}}
CO.NE = {alias = {module = "USA/NE", type = "N"}}
CO["I-NE"] = {alias = {module = "USA/NE", type = "I"}}
CO.NM = {alias = {module = "USA/NM", type = "NM"}}
CO.OK = {alias = {module = "USA/OK", type = "SH"}}
CO.UT = {alias = {module = "USA/UT", type = "UT"}}
CO.WY = {alias = {module = "USA/WY", type = "WY"}}

return CO