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

Content deleted Content added
Reverted to revision 995038086 by Fredddie (talk)
3rd try
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 = " ([dab||%dab%, |]Missouri)"
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 = {shield ["72"] = "I-%route%.svgInterstate 72",
link = {["72"] = "Interstate 72",
["155"] = "Interstate 155 (Missouri–Tennessee)",
["170"] = "Interstate 170",
Line 15 ⟶ 43:
split = 100,
above = "Interstate %route% (Missouri)",
below = "Interstate %route% in Missouri"}},
abbr = "I-%route%",
MO.I.maint = maint
width = "expand"}
MO.BL.link = "Interstate %route% Business" .. suffix
 
MO["I-Future"] = {shield.BS.link = "I-Interstate %route%.svg Business", .. suffix
MO["I-Bus"] = MO.BL
link = "Interstate %route% (Missouri)",
MO["I-Future"].link = MO.I.link
abbr = "Future I-%route%",
width = "expand"}
 
MO.Future = MO["I-Future"]
 
MO.BL = {shieldUS.link = "BusinessU.S. LoopRoute %route%.svg in Missouri",
MO.US.maint = maint
link = "Interstate %route% Business ([dab||%dab%, |]Missouri)",
abbr = "BL I-%route%",
width = "expand"}
 
MO["US-Alt"].BS = {shieldlink = "BusinessU.S. SpurRoute %route%.svg Alternate", .. suffix
MO["US-Alt"].maint = maint
link = "Interstate %route% Business ([dab||%dab%, |]Missouri)",
abbr = "BS I-%route%",
width = "expand"}
 
MO["IUS-Bus"].link = MO"U.BLS. Route %route% Business" .. suffix
MO["US-Bus"].maint = maint
 
MO.["US = {shield-Byp"].link = "USU.S. Route %route%.svg Bypass", .. suffix
MO["US-Byp"].maint = maint
link = "U.S. Route %route% in Missouri",
abbr = "US&nbsp;%route%",
width = "expand"}
 
MO["US-AltCity"].link = {shield"U.S. =Route %route% City" MO.US.shield, suffix
MO["US-City"].maint = maint
link = "U.S. Route %route% Alternate ([dab||%dab%, |]Missouri)",
abbr = "US&nbsp;%route% Alt.",
banner = "Alternate plate.svg",
width = "expand"}
 
MO["US-BusSpur"].link = {shield"U.S. =Route %route% Spur" MO.US.shield, suffix
MO["US-Spur"].maint = maint
link = "U.S. Route %route% Business ([dab||%dab%, |]Missouri)",
abbr = "US&nbsp;%route% Bus.",
banner = "Business plate.svg",
width = "expand"}
 
MO["US-BypTruck"].link = {shield"U.S. =Route %route% Truck" MO.US.shield, suffix
link = "U.S. Route %route% Bypass ([dab||%dab%, |]Missouri)",
abbr = "US&nbsp;%route% Byp.",
banner = "By-pass plate.svg",
width = "expand"}
 
MO["US-CityHist"].shield = {shield"US =%route% (MO historic).US.shield,svg"
MO["US-Hist"].link = MO.US.link
link = "U.S. Route %route% City ([dab||%dab%, |]Missouri)",
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 101 ⟶ 86:
 
MO.Route = {shield = "MO-%route%.svg",
link = "Missouri Route %route% [dab|| (%dab%)|]",
abbr = "Route&nbsp;%route%",
width = "expand"}
Line 107 ⟶ 92:
MO.MO = MO.Route
 
MO["Route 1922"] = {shield = "MO-%route% (19201922).svg",
link = MO.Route.link,
abbr = MO.Route.abbr}
 
MO["MO 1922"] = MO["Route 1922"]
 
Line 116 ⟶ 100:
link = MO.Route.link,
abbr = MO.Route.abbr}
 
MO["MO 1926"] = MO["Route 1926"]
 
Line 122 ⟶ 105:
link = MO.Route.link,
abbr = MO.Route.abbr}
 
MO["MO 1948"] = MO["Route 1948"]
 
Line 128 ⟶ 110:
link = MO.Route.link,
abbr = MO.Route.abbr}
 
MO["MO 1960"] = MO["Route 1960"]
 
MO["Route-Bus"] = {shield = MO.Route.shield,
link = "Missouri Route %route% Business [dab||(%dab%)|]",
abbr = "MO.Route&nbsp;%route%.abbr.." Bus.",
banner = "Business plate.svg",
width = "expand"}
Line 143 ⟶ 124:
MO["Route-Spur"] = {shield = MO.Route.shield,
link = "Missouri Route %route% Spur [dab||(%dab%)|]",
abbr = "MO.Route&nbsp;%route%.abbr.." Spur",
banner = "Spur plate.svg",
width = "expand"}
Line 153 ⟶ 134:
MO["Route-Alt"] = {shield = MO.Route.shield,
link = "Missouri Route %route% Alternate [dab||(%dab%)|]",
abbr = "MO.Route&nbsp;%route%.abbr.." Alt.",
banner = "Alternate plate.svg",
width = "expand"}
Line 162 ⟶ 143:
link = {ifexists = true,
default = "Missouri Route %route% (%county% County)"},
abbr = "MO.Route&nbsp;%route%".abbr,
width = "MOSupp"}
 
Line 181 ⟶ 162:
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"}}
 
MO.Branson = {shield = "Branson %route% Route.svg",
Line 216 ⟶ 185:
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