--[==[ 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))To inspect a particular route type, change `p` above to include the route type,e.g., `p.I` and `p["US-Hist"]`.]
-- Mississippilocal MS =
local util = require("Module:Road data/util")util.addAll(MS, require("Module:Road data/strings/USA"))
local suffix = " ([dab||%dab%, |]Mississippi)"
MS.I.link =
for k, v in pairs(MS) do if k:find ("^I") then v.link = MS.I.link endend
MS.US.name = "U.S. Highway %route%"MS.US.link = "U.S. Route %route% in Mississippi"
for k, v in pairs(MS) do if k:find ("^US %d") then v.name = MS.US.name v.link = MS.US.link endend
for _,auxType in ipairs do local spec = MS[" aux "][auxType] for k, v in pairs(MS) do if k:find (auxType) then if k:find ("^US") then v.banner = spec.banneralt .. " plate.svg" v.name = MS.US.name .. " " .. spec.name v.link = MS.US.base .. " " .. spec.name .. " ([dab||%dab%, |]Mississippi)" end end endend
MS.MS =
for _,type in ipairs do for _,auxType in ipairs do local spec = MS[" aux "][auxType] MS["MS-" .. auxType] = endend
MS["MS-Scenic"].shield = "Ellipse sign %route% blue.svg"MS["MS-Scenic"].shieldmain = MS["MS-Scenic"].shieldMS["MS-Scenic"].banner = "Scenic Route plate blue.svg"MS["MS-Scenic"].bannersuffix = "blue" MS.FR.shield = ""MS.FR.link = ""
MS["MS 1960"] =
-- add new types above this line if you want it to have the state highway browse and maintfor k, v in pairs(MS) do if k:find ("^%a") then v.maint = "MDOT" endend
MS.AL =
return MS