Module:Road data/strings/USA/UT

MyWikiBiz, Author Your Legacy — Thursday November 28, 2024
Jump to navigationJump to search

Documentation for this module may be created at Module:Road data/strings/USA/UT/doc

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

-- Utah
local UT = {}

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

local suffix = " ([dab||%dab%, |]Utah)"
local suffix2 = " [dab||(%dab%)|]"
local maint = "[[Utah Department of Transportation|Utah DOT]]"


UT.I.link = {
	hook = "splitlen",
	split = 3,
	above = "Interstate %route% (Utah)",
	below = "Interstate %route% in Utah"
}

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

UT.US.link = "U.S. Route %route% in Utah"

UT["US 1926"].shieldmain = "US %route% Utah 1926.svg"
UT["US 1926"].link = UT.US.link
UT["US 1948"].shieldmain = "US %route% Utah 1948.svg"
UT["US 1948"].link = UT.US.link
UT["US 1961"].link = UT.US.link

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

UT.UT = {
	shield = {
		default = "Utah %route%.svg",
        ["281-320"] = ""
	},
	name = "State Route %route%",
	link = {
		default = "Utah State Route %route% [dab||(%dab%)|]",
		["281-320"] = "List of state highways serving Utah state parks and institutions"},
	abbr = {
		default = "SR-%route%",
		["281-320"] = "SR-281 to SR-320"
	}
}

UT.SR = UT.UT 

UT["UT 1962"] = {
	shield = {
		default = "Utah SR %route%.svg",
        ["281-320"] = ""
	},
	name = UT.UT.name,
	link = UT.UT.link,
	abbr = UT.UT.abbr
}

UT["SR 1962"] = UT["UT 1962"]
UT["UT 1966"] = UT["UT 1962"]
UT["SR 1966"] = UT["UT 1962"]

UT["UT 1954"] = {
	shield = "Utah %route% (1954).svg",
	name = UT.UT.name,
	link = UT.UT.link,
	abbr = "SR-%route%"
}

UT["SR 1954"] = UT["UT 1954"]

UT["UT 1926"] = {
	shield = "Utah %route% (1926).svg",
	name = UT.UT.name,
	link = UT.UT.link,
	abbr = UT["UT 1954"].abbr
}

UT["SR 1926"] = UT["UT 1926"]

UT.BLSR = {
	shieldmain = {
		["19"] = {"Business Loop 70.svg", "Utah %route%.svg"},
		["120"] = {"Business Loop 70.svg", "Utah %route%.svg"},
		default = {"Business Loop 15.svg", "Utah %route%.svg"},
},
	name = UT.UT.name,
	link = "",
	abbr = UT.UT.abbr
}

UT.BIA = {
	shield = "Indian Route&nbsp;%route%.svg",
	name = "BIA Route&nbsp;%route%",
	link = "BIA Route&nbsp;%route%",
	abbr = "BIA Route&nbsp;%route%"
}

UT.AZ = {alias = {module = "USA/AZ", type = "AZ"}}
UT.CO = {alias = {module = "USA/CO", type = "SH"}}
UT.ID = {alias = {module = "USA/ID", type = "SH"}}
UT.NM = {alias = {module = "USA/NM", type = "NM"}}
UT.NV = {alias = {module = "USA/NV", type = "SR"}}
UT.WY = {alias = {module = "USA/WY", type = "WY"}}
          
return UT