Content deleted Content added
update |
modernize module Tag: Reverted |
||
Line 1:
--[==[
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))
]==]
--Missouri
local MO =
local util = require("Module:Road data/util")
local suffix = "" .. suffix
local maint = "[[Missouri Department of Transportation|MoDOT]]"
MO[" common "] = {
browse = {
{link = "Missouri State Highway System", bold = true},
{
noprint = true,
{link = "List of Interstate Highways in Missouri", name = "Interstate"},
{link = "List of U.S. Highways in Missouri", name = "U.S."},
{link = "List of state highways in Missouri", name = "State"},
{link = "Missouri supplemental route", name = "Supplemental"}
}
}
}
MO.I.link = {
["155"] = "Interstate 155 (Missouri–Tennessee)",
["170"] = "Interstate 170",
Line 15 ⟶ 43:
split = 100,
above = "Interstate %route% (Missouri)",
below = "Interstate %route% in Missouri"}}
MO.I.maint = maint
MO.BL.link = "Interstate %route% Business" .. suffix
MO
MO["I-Bus"] = MO.BL
MO["I-Future"].link = MO.I.link
MO.Future = MO["I-Future"]
MO.
MO.US.maint = maint
MO["US-Alt"].
MO["US-Alt"].maint = maint
MO["
MO["US-Bus"].maint = maint
MO
MO["US-Byp"].maint = maint
MO["US-
MO["US-City"].maint = maint
MO["US-
MO["US-Spur"].maint = maint
MO["US-
MO["US-
MO["US-Hist"].link = MO.US.link
MO["US 1961-Bus"] = {shield = "US %route% (1961).svg",
link = MO["US-Bus"].link,
Line 101 ⟶ 86:
MO.Route = {shield = "MO-%route%.svg",
base = "Missouri Route %route%",
link = "Missouri Route %route% [dab|| abbr = "Route %route%",
width = "expand"}
Line 107 ⟶ 93:
MO.MO = MO.Route
for _,year in ipairs({"1920", "1926", "1948"}) do
local oldMOmain = "Route " .. year
MO[oldMOmain].shield = "MO-%route% (".. year ..").svg"
MO[oldMOmain].link = MO.Route.link
MO[
end
MO["Route 1922"] = MO["Route 1920"]
MO["MO 1922"] = MO["Route 1920"]
MO["MO 1926"] = MO["Route 1926"]
MO["MO 1948"] = MO["Route 1948"]
Line 132 ⟶ 112:
MO["Route-Bus"] = {shield = MO.Route.shield,
link =
abbr =
banner = "Business plate.svg",
width = "expand"}
Line 142 ⟶ 122:
MO["Route-Spur"] = {shield = MO.Route.shield,
link =
abbr =
banner = "Spur plate.svg",
width = "expand"}
Line 152 ⟶ 132:
MO["Route-Alt"] = {shield = MO.Route.shield,
link =
abbr =
banner = "Alternate plate.svg",
width = "expand"}
Line 161 ⟶ 141:
MO.Supp = {shield = "MO-supp-%route%.svg",
link = {ifexists = true,
default =
abbr =
width = "MOSupp"}
Line 181 ⟶ 161:
banner = "Chicago-Kansas City Expressway plate.svg",
width = "wide"}
MO.LCT = {shield = "Lewis and Clark Trail.png",
link = "Lewis and Clark Trail",
abbr = "Lewis and Clark Trail"}
MO.USBR = {alias = {module = "USA", type = "USBR"}}
Line 216 ⟶ 186:
MO.TN = {alias = {module = "USA/TN", type = "SR"}}
MO["TN-Sec"] = {alias = {module = "USA/TN", type = "Sec"}}
return MO
|