Module:Road data/strings/USA/MO explained

--[==[ To inspect the content of this data module, use [[Special:ExpandTemplates]]and enter the following input text:

To inspect the content of this data module when editing, enter the followinginto the Debug console: local util = require("Module:Road data/util") print(util.arrayToString(p))]

]

--Missourilocal MO = require("Module:Road data/strings/USA")

local util = require("Module:Road data/util")local format = mw.ustring.format

local suffix = " ([dab||%dab%, |]Missouri)"

MO.I.link =

for k, v in pairs(MO) do if k:find ("^I") then v.link = MO.I.link endend MO.BL.link = "Interstate %route% Business" .. suffix

for k, v in pairs(MO) do if k:find ("^B%a") then v.link = MO.BL.link endendMO["I-Bus"] = MO.BL

MO.US.link = "U.S. Route %route% in Missouri"

for k, v in pairs(MO) do if k:find ("^US %d") then v.name = MO.US.name v.link = MO.US.link endend

MO["US 1978"] =

for _,auxType in ipairs do local spec = MO[" aux "][auxType] for k, v in pairs(MO) do if k:find (auxType) then if k:find ("^US") then v.link = MO.US.base .. " " .. spec.name .. " ([dab||%dab%, |]Missouri)" end end endend

for _,year in ipairs do for _,auxType in ipairs do local type = "US " .. year local spec = MO[" aux "][auxType] MO[type .. "-" .. auxType] = endendMO["US 1926-City"].shield = "US %route% City 1926.svg"MO["US 1926-City"].shieldmain = "US %route% City 1926.svg"MO["US 1926-City"].banner = ""

MO["US-Bus-Alt"] =

MO["US-Hist"].link = MO.US.link

MO.Route =

MO.MO = MO.Route

for _,type in ipairs do for _,year in ipairs do MO[type .. " " .. year] = endend

MO["Route 1960"].shield = MO.Route.shield --until squares are madeMO["MO 1960"] = MO["Route 1960"]

for _,type in ipairs do for _,auxType in ipairs do local spec = MO[" aux "][auxType] MO[type .. "-" .. auxType] = endendMO.Bus = MO["Route-Bus"]MO.Spur = MO["Route-Spur"]

MO.Supp =

MO.AOTS = MO["US-AOTS"] = MO.AOTS

MO.CKC =

-- add new types above this line if you want it to have the state highway browse and maintfor k, v in pairs(MO) do if k:find ("^%a") then v.maint = "MoDOT" v.browse = "Missouri State Highway System" v.browselinks = endend

MO.Branson =

MO.CR.link = MO.CR.maint = ""

MO.SRCR =

MO.AR = MO.IL = MO.IA = MO.KS = MO.KY = MO.OK = MO.TN = MO["TN-Sec"] =

MO.list =

return MO