Module:Road data/strings/USA/MS

MyWikiBiz, Author Your Legacy — Saturday November 23, 2024
< Module:Road data‎ | strings‎ | USA
Revision as of 05:47, 16 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Documentation for this module may be created at Module:Road data/strings/USA/MS/doc

--[==[
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"
		}
	},
	name = "Mississippi Highway %route%",
	link = "Mississippi Highway %route%[dab|| (%dab%)|]",
	abbr = "MS&nbsp;%route%",
	width = "expand"}

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

MS["MS-Spur"] = {
	shield = MS.MS.shield,
	name = MS.MS.name .. " Spur",
	link = MS.MS.name .. " Spur[dab|| (%dab%)|]",
	abbr = "MS&nbsp;%route% Spur",
	banner = "Spur plate.svg",
	width = "expand"
}

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

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

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