Jump to content

Module:Road data/strings/USA/MS

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Fredddie (talk | contribs) at 05:30, 12 February 2021 (update module). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

--[==[
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))
To inspect a particular route type, change `p` above to include the route type,
e.g., `p.I` and `p["US-Hist"]`.
]==]

-- Mississippi
local MS = {}

local util = require("Module:Road data/util")
util.addAll(MS, require("Module:Road data/strings/USA"))

local suffix = " ([dab||%dab%, |]Mississippi)"
local maint = "[[Mississippi Department of Transportation|MDOT]]"

MS.I.link = {	["14"] = "Interstate 14",
                ["22"] = "Interstate 22",
                ["269"] = "Interstate 269",
                default = {hook = "splitlen",
                           split = 3,
                           above = "Interstate %route% (Mississippi)",
                           below = "Interstate %route% in Mississippi"}}

MS["I-Future"].link = MS.I.link

MS.US.name = "U.S. Highway %route%"
MS.US.link = "U.S. Route %route% in Mississippi"

MS["US-Alt"].link = "U.S. Route %route% Alternate ([dab||%dab%, |]Mississippi)"
MS["US-Bus"].link = "U.S. Route %route% Business ([dab||%dab%, |]Mississippi)"

MS["US 1926"].shieldmain = "US %route% Mississippi 1926.svg"
MS["US 1926"].name = MS.US.name
MS["US 1926"].link = MS.US.link
MS["US 1948"].shieldmain = "US %route% Mississippi 1948.svg"
MS["US 1948"].name = MS.US.name
MS["US 1948"].link = MS.US.link
MS["US 1961"].name = MS.US.name
MS["US 1961"].link = MS.US.link

MS.MS = {shield = {hook = "splitlen",
                   split = 3,
                   above = "Ellipse sign %route%.svg",
                   below = {hook = "split",
                            split = 20,
                            above = "Elongated circle %route%.svg",
                            below = "Ellipse sign %route%.svg"}},
         link = "Mississippi Highway %route%[dab|| (%dab%)|]",
         abbr = "MS&nbsp;%route%",
         width = "expand"}

MS["MS-Bus"] = {shield = MS.MS.shield,
                name = "Mississippi Highway %route%",
                link = "Mississippi Highway %route% Business",
                abbr = "MS&nbsp;%route%&nbsp;Bus.",
                banner = "Business plate.svg",
                width = "expand"}

MS["MS-Scenic"] = {shield = "Ellipse sign %route% blue.svg",
                name = MS.MS.name .. " Scenic",
                link = "Mississippi Highway %route% Scenic",
                abbr = "MS&nbsp;%route%&nbsp;Scenic",
                banner = "Scenic Route plate blue.svg",
                bannersuffix = "blue",
                width = "expand"}
MS.FR = {shield = "",
         link = "",
         abbr = "FR %route%"}

MS["MS 1960"] = {shield = "Mississippi %route%.svg",
         name = MS.MS.name,
         link = MS.MS.link,
         abbr = MS.MS.abbr}

MS.NTP = {shield = "Natchez Trace Parkway Logo.gif",
          link = "Natchez Trace Parkway",
          abbr = "Natchez Trace Parkway"}         

MS.AL = {alias = {module = "USA/AL", type = "SR"}}

return MS