Module:Road data/strings/USA/MA

MyWikiBiz, Author Your Legacy — Monday September 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/MA/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"]`.
]==]

-- Massachusetts
local MA = {}

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

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

MA.I.link = "Interstate %route% (Massachusetts)"
	      
MA.BL.link = "Interstate %route% Business ([dab||%dab%, |]Massachusetts)"
         
MA.US.link = "U.S. Route %route% in Massachusetts"
         
MA["US 1926"].shieldmain = "US %route% Massachusetts 1926.svg"
MA["US 1926"].link = MA.US.link

MA.Route = {
	shield = "MA Route %route%.svg",
	shieldmain = {
		["71"] = {"MA Route %route%.svg", "NY-%route%.svg"},
		["121"] = {"MA Route %route%.svg", "Rhode Island %route%.svg"},
		["152"] = {"MA Route %route%.svg", "Rhode Island %route%.svg"},
		["286"] = {"MA Route %route%.svg", "NH Route %route%.svg"},
		default = "MA Route %route%.svg",
	},
	name = "Route %route%",
	link = "Massachusetts Route %route%",
	abbr = "Route&nbsp;%route%",
	width = "expand"
	
}
MA.MA = MA.Route
MA.SR = MA.Route

MA["Route-Conn"] = {
	shield = "",
	name = MA.Route.name .. " Connector",
	link = MA.Route.link .. " Connector",
	abbr = MA.Route.abbr .. " Conn."
	
}
MA["MA-Conn"] = MA["Route-Conn"]

MA.MATP = {
	shield = "",
	name = "Massachusetts Turnpike",
	link = "Massachusetts Turnpike",
	abbr = "Mass&nbsp;Pike"
	
}

MA.CT = {alias = {module = "USA/CT", type = "CT"}}
MA.NH = {alias = {module = "USA/NH", type = "NH"}}
MA.NY = {alias = {module = "USA/NY", type = "NY"}}
MA.RI = {alias = {module = "USA/RI", type = "RI"}}
MA.VT = {alias = {module = "USA/VT", type = "VT"}}

return MA