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

Content deleted Content added
update module
update module
Line 14:
 
local util = require("Module:Road data/util")
local format = mw.ustring.format
 
local suffix = " ([dab||%dab%, |]Missouri)"
Line 31 ⟶ 32:
}
 
MO.I.link = {
["72"] = "Interstate 72",
["155"] = "Interstate 155 (Missouri–Tennessee)",
["170"] = "Interstate 170",
["244"] = "Interstate 270 (Missouri–Illinois)",
["255"] = "Interstate 255",
["270"] = "Interstate 270 (Missouri–Illinois)",
["435"] = "Interstate 435",
["635"] = "Interstate 635 (Kansas–Missouri)",
["670"] = "Interstate 670 (Kansas–Missouri)",
default = {hook = "split",
hook = "split",
split = 100,
split = 100,
above = "Interstate %route% (Missouri)",
below above = "Interstate %route% in (Missouri)"}},
above below = "Interstate %route% (in Missouri)",
}
}
MO.I.maint = maint
Line 70 ⟶ 75:
MO["US-Byp"].maint = maint
 
MO["US-City"] = {
shield = "US %route% (1961).svg",
link = "U.S. Route %route% City" .. suffix,
abbr = MO.US.abbr .. " City",
banner = "City plate.svg"
}
 
MO["US-Spur"].link = "U.S. Route %route% Spur" .. suffix
Line 83 ⟶ 90:
MO["US-Hist"].link = MO.US.link
 
MO["US 1961-Bus"] = {
shield = "US %route% (1961).svg",
name = MO["US-Bus"].name,
link = MO["US-Bus"].link,
abbr = MO["US-Bus"].abbr,
banner = "Business plate.svg"},
width = "square"}
}
 
MO["US 1961-Spur"] = {
shield = "US %route% (1961).svg",
name = MO["US-Spur"].name,
link = MO["US-Spur"].link,
abbr = MO["US-Spur"].abbr,
banner = "Spur plate.svg"
}
 
MO["US 1978"] = {
shield = {
hook = "splitlen",
split = 3,
above = "US %route% square.svg",
below = "US %route%.svg"
},
name = MO.US.name,
link = MO.US.link,
abbr = MO.US.abbr,
maint = maint,
width = "square"
}
 
MO.Route = {shield = "MO-%route%.svg",
name base = "Missouri Route %route%",
link shield = "Missouri Route MO-%route% [dab||(%dab%)|].svg",
abbr name = "Route  %route%",
link = "Missouri Route %route% [dab||(%dab%)|]",
width = "expand"}
abbr = "Route %route%",
width = "expand"}
}
 
MO.MO = MO.Route
 
for _,year in ipairs({"1922", "1926", "1948", "1960"}) do
MO["Route 1922"] = {shield = "MO-%route% (1922).svg",
MO["Route " .. year] = {
name = MO.Route.name,
MO["Route 1922"] = { shield = format("MO-%%route%% (1922%s).svg", year),
link = MO.Route.link,
shieldmain = format("MO-%%route%% (%s).svg", year),
abbr = MO.Route.abbr}
MO["MO 1922"] name = MO[".Route 1922"].name,
link = MO.Route.link,
abbr = MO.Route.abbr},
width = "square",
}
end
 
MO["RouteMO 19261922"] = {shield = MO["MO-%route%Route (1926).svg1922",]
name = MO.Route.name,
link = MO.Route.link,
abbr = MO.Route.abbr}
MO["MO 1926"] = MO["Route 1926"]
 
MO["Route 1948"] = {shield = "MO-%route% (1948).svg",
name = MO.Route.name,
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
 
MO["Route 1960"] = {shield = MO.Route.shield, --until squares are made
name = MO.Route.name,
link = MO.Route.link,
abbr = MO.Route.abbr}
MO["MO 1960"] = MO["Route 1960"]
 
MO["Route-Bus"] = {
shield = MO.Route.shield,
name = MO.Route.name.." Business",
link = "Missouri Route %route% Business [dab||(%dab%)|]",
abbr = MO.Route.abbr.." Bus.",
banner = "Business plate.svg",
width = "expand"}
}
 
MO["MO-Bus"] = MO["Route-Bus"]
 
MO.Bus = MO["Route-Bus"]
 
MO["Route-Spur"] = {
shield = MO.Route.shield,
name = MO.Route.name.." Spur",
link = "Missouri Route %route% Spur [dab||(%dab%)|]",
abbr = MO.Route.abbr.." Spur",
banner = "Spur plate.svg",
width = "expand"}
}
 
MO["MO-Spur"] = MO["Route-Spur"]
 
MO.Spur = MO["Route-Spur"]
 
MO["Route-Alt"] = {
shield = MO.Route.shield,
name = MO.Route.name.." Alternate",
link = "Missouri Route %route% Alternate [dab||(%dab%)|]",
abbr = MO.Route.abbr.." Alt.",
banner = "Alternate plate.svg",
width = "expand"}
}
 
MO["MO-Alt"] = MO["Route-Alt"]
 
MO.Supp = {
shield = "MO-supp-%route%.svg",
name = MO.Route.name,
link = {
ifexists = true,
default = "Missouri Route %route% (%county% County)"
},
abbr = MO.Route.abbr,
width = "MOSupp"}
}
 
MO.AOTS = {shield = {["27"] = "MO-27.svg",
["61"] = "US 61.svg"},
link = { ["27"] = "Avenue of the Saints",
["61"] = "U.S. Route 61 in Missouri"},
abbr = { ["27"] = "Route 27",
["61"] = "US 61"},
banner = "Avenue of the Saints banner.svg",
width = "square"}
 
MO.AOTS = {
shield = {
MO.AOTS = {shield = { ["27"] = "MO-27.svg",
["61"] = "US 61.svg"},
},
link = {
link = { ["27"] = "Avenue of the Saints",
["61"] = "U.S. Route 61 in Missouri"},
},
abbr = {
abbr = { ["27"] = "Route 27",
["61"] = "US 61"},
},
banner = "Avenue of the Saints banner.svg",
width = "square"
}
MO["US-AOTS"] = MO.AOTS
 
MO.CKC = {
shield = "MO-110.svg",
name = "Chicago–Kansas City Expressway",
link = "Chicago–Kansas City Expressway",
abbr = "Route 110 (CKC)",
banner = "Chicago-Kansas City Expressway plate.svg",
width = "wide"}
}
 
MO.LCT = {
shield = "Lewis and Clark Trail.png",
name = "Lewis and Clark Trail",
link = "Lewis and Clark Trail",
abbr = "Lewis and Clark Trail"
}
 
MO.Branson = {
shield = "Branson %route% Route.svg",
name = "%route% Route",
link = "",
abbr = "%route% Route"
}
 
MO.CR.link = {
ifexists = true,
default = "County Road %route% (%county% County, Missouri)",
otherwise = ""}
}
 
MO.AR = {alias = {module = "USA/AR", type = "AR"}}