Module:Road data/strings/USA/MO: Difference between revisions

Content deleted Content added
fix
Tag: Reverted
Reverted to revision 995038086 by Fredddie (talk): Rv
Tags: Twinkle Undo 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 = require("Module:Road data/strings/USA"){}
 
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 = { ["72"]shield = "Interstate 72I-%route%.svg",
link = {["72"] = "Interstate 72",
["155"] = "Interstate 155 (Missouri–Tennessee)",
["170"] = "Interstate 170",
Line 43 ⟶ 15:
split = 100,
above = "Interstate %route% (Missouri)",
below = "Interstate %route% in Missouri"}},
abbr = "I-%route%",
width = "expand"}
MO.I.maint = maint
 
MO.BL.link = "Interstate %route% Business" .. suffix
MO.BS.link["I-Future"] = {shield = "Interstate I-%route% Business.svg" .. suffix,
link = "Interstate %route% (Missouri)",
MO["I-Bus"] = MO.BL
abbr = "Future I-%route%",
MO["I-Future"].link = MO.I.link
width = "expand"}
 
MO.Future = MO["I-Future"]
 
MO.US.linkBL = {shield = "U.S.Business RouteLoop %route% in Missouri.svg",
link = "Interstate %route% Business ([dab||%dab%, |]Missouri)",
MO.US.maint = maint
abbr = "BL I-%route%",
width = "expand"}
 
MO["US-Alt"].linkBS = {shield = "U.S.Business RouteSpur %route% Alternate.svg" .. suffix,
link = "Interstate %route% Business ([dab||%dab%, |]Missouri)",
MO["US-Alt"].maint = maint
abbr = "BS I-%route%",
width = "expand"}
 
MO["USI-Bus"].link = "UMO.S. Route %route% Business" .. suffixBL
MO["US-Bus"].maint = maint
 
MO[".US-Byp"].link = {shield = "U.S. RouteUS %route% Bypass.svg" .. suffix,
link = "U.S. Route %route% in Missouri",
MO["US-Byp"].maint = maint
abbr = "US&nbsp;%route%",
width = "expand"}
 
MO["US-CityAlt"].link = "U.S.{shield Route %route% City"= MO.US. suffixshield,
link = "U.S. Route %route% Alternate ([dab||%dab%, |]Missouri)",
MO["US-City"].maint = maint
abbr = "US&nbsp;%route% Alt.",
banner = "Alternate plate.svg",
width = "expand"}
 
MO["US-SpurBus"].link = "U.S.{shield Route %route% Spur"= MO.US. suffixshield,
link = "U.S. Route %route% Business ([dab||%dab%, |]Missouri)",
MO["US-Spur"].maint = maint
abbr = "US&nbsp;%route% Bus.",
banner = "Business plate.svg",
width = "expand"}
 
MO["US-TruckByp"].link = "U.S.{shield Route %route% Truck"= MO.US. suffixshield,
link = "U.S. Route %route% Bypass ([dab||%dab%, |]Missouri)",
abbr = "US&nbsp;%route% Byp.",
banner = "By-pass plate.svg",
width = "expand"}
 
MO["US-HistCity"].shield = "US{shield %route%= (MO historic).svg"US.shield,
link = "U.S. Route %route% City ([dab||%dab%, |]Missouri)",
MO["US-Hist"].link = MO.US.link
abbr = "US&nbsp;%route% City",
banner = "City plate.svg",
width = "expand"}
 
MO["US-Spur"] = {shield = MO.US.shield,
link = "U.S. Route %route% Spur ([dab||%dab%, |]Missouri)",
abbr = "US&nbsp;%route% Spur",
banner = "Spur plate.svg",
width = "expand"}
 
MO["US-Truck"] = {shield = MO.US.shield,
link = "U.S. Route %route% Truck ([dab||%dab%, |]Missouri)",
abbr = "US&nbsp;%route% Truck",
banner = "Truck plate.svg",
width = "expand"}
 
 
MO["US 1926"] = {shield = "US %route% Missouri 1926.svg",
link = MO.US.link,
abbr = MO.US.abbr,
width = "US1926"}
 
MO["US 1961"] = {shield = "US %route% (1961).svg",
link = MO.US.link,
abbr = MO.US.abbr,
width = "US1961"}
MO["US 1961-Bus"] = {shield = "US %route% (1961).svg",
link = MO["US-Bus"].link,
Line 86 ⟶ 101:
 
MO.Route = {shield = "MO-%route%.svg",
base link = "Missouri Route %route%[dab|| (%dab%)|]",
link = "Missouri Route %route% [dab||(%dab%)|]",
abbr = "Route&nbsp;%route%",
width = "expand"}
 
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[oldMOmain].abbr = MO.Route.abbr
end
 
MO["Route 1922"] = {shield = "MO-%route% (1920).svg",
link = MO.Route.link,
abbr = MO.Route.abbr}
 
MO["MO 1922"] = MO["Route 1922"]
 
MO["Route 1926"] = {shield = "MO-%route% (1926).svg",
link = MO.Route.link,
abbr = MO.Route.abbr}
 
MO["Route 1922"] = MO["Route 1920"]
MO["MO 1922"] = MO["Route 1920"]
MO["MO 1926"] = MO["Route 1926"]
 
MO["MO 1948"] = MO["Route 1948"] ]==]--
MO["Route 1948"] = {shield = "MO-%route% (1948).svg",
link = MO.Route.link,
abbr = MO.Route.abbr}
 
MO["MO 1948"] = MO["Route 1948"]
 
MO["Route 1960"] = {shield = MO.Route.shield, --until squares are made
Line 113 ⟶ 132:
 
MO["Route-Bus"] = {shield = MO.Route.shield,
link = MO."Missouri Route.base .. "%route% Business [dab||(%dab%)|]",
abbr = MO.Route.abbr.."Route&nbsp;%route% Bus.",
banner = "Business plate.svg",
width = "expand"}
Line 123 ⟶ 142:
 
MO["Route-Spur"] = {shield = MO.Route.shield,
link = MO."Missouri Route.base .. "%route% Spur [dab||(%dab%)|]",
abbr = MO.Route.abbr.."Route&nbsp;%route% Spur",
banner = "Spur plate.svg",
width = "expand"}
Line 133 ⟶ 152:
 
MO["Route-Alt"] = {shield = MO.Route.shield,
link = MO."Missouri Route.base .. "%route% Alternate [dab||(%dab%)|]",
abbr = MO.Route.abbr.."Route&nbsp;%route% Alt.",
banner = "Alternate plate.svg",
width = "expand"}
Line 142 ⟶ 161:
MO.Supp = {shield = "MO-supp-%route%.svg",
link = {ifexists = true,
default = MO."Missouri Route.base .. "%route% (%county% County)"},
abbr = MO."Route.abbr&nbsp;%route%",
width = "MOSupp"}
 
Line 162 ⟶ 181:
banner = "Chicago-Kansas City Expressway plate.svg",
width = "wide"}
 
MO.GRR = {shield = "GreatRiverRoad.svg",
link = "Great River Road",
abbr = "Great River Road"}
 
MO.LCT = {shield = "Lewis and Clark Trail.png",
link = "Lewis and Clark Trail",
abbr = "Lewis and Clark Trail"}
 
MO["US-Hist"] = {shield = {["66"] = "US 66 (MO historic).svg",
default = ""},
link = "U.S. Route %route% in Missouri",
abbr = "Historic US&nbsp;%route%[dab|| (%dab%)|]",
width = 16}
 
MO.USBR = {alias = {module = "USA", type = "USBR"}}
Line 187 ⟶ 216:
MO.TN = {alias = {module = "USA/TN", type = "SR"}}
MO["TN-Sec"] = {alias = {module = "USA/TN", type = "Sec"}}
MO.road = {alias = {module = "USA", type = "road"}}
 
return MO