Jump to content

Module:Road data/strings/USA/MD

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Fredddie (talk | contribs) at 18:01, 13 February 2021 (lol oops). 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"]`.
]==]

-- Maryland
local MD = {}

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

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

MD.I.link = {["68"] = "Interstate 68",
                ["97"] = "Interstate 97",
                ["295"] = "Interstate 295 (Maryland–District of Columbia)",
                ["370"] = "Interstate 370",
                ["495"] = "Interstate 495 (Capital Beltway)",
                ["495X"] = "Cabin John Parkway",
                default = {hook = "split",
                           split = 100,
                           above = "Interstate %route% (Maryland)",
                           below = "Interstate %route% in Maryland"}}

MD["I-Spur"] = {shield = MD.I.shield,
                link = "Interstate %route% Spur (Maryland)",
                abbr = "I-%route% Spur",
                banner = "Spur plate blue.svg",
                width = "expand"}

MD["I 1957"].link = MD.I.link
MD["I 1961"].link = MD.I.link
MD["I-Toll"].link = MD.I.link
			
MD["I-Express"] = {shield = MD.I.shield,
                   link = "Interstate %route% Express (Maryland)",
                   abbr = MD.I.abbr .. " Express",
                   width = "expand",
                   banner = "Toll plate yellow.svg",
	               bannersuffix = "blue"}

MD.US.link = "U.S. Route %route% in Maryland"

MD["US-Bus"].shield = "US %route% Business (MD).svg"
MD["US-Bus"].link = "U.S. Route %route% Business ([dab||%dab%, |]Maryland)"
MD["US-Bus"].banner = ""
MD["US-Bus"].bannersuffix = "Vermont"

MD["US-Alt"].link = "U.S. Route %route% Alternate ([dab||%dab%, |]Maryland)"

MD["US-Truck"].link = "U.S. Route %route% Truck ([dab||%dab%, |]Maryland)"
                  
MD["US-Byp"].link = "U.S. Route %route% Bypass ([dab||%dab%, |]Maryland)"

MD["US-Scenic"].link = "U.S. Route %route% Scenic ([dab||%dab%, |]Maryland)"

MD["US 1926"].shieldmain = "US %route% Maryland 1926.svg"
MD["US 1926"].link = MD.US.link

MD["US 1948"].shieldmain = "US %route% Maryland 1948.svg"
MD["US 1948"].link = MD.US.link

MD["US 1961"].link = MD.US.link
                 
MD.SR = {shield = "MD Route %route%.svg",
		 name = "Maryland Route %route%",
         link = "Maryland Route %route% [dab||(%dab%)|]",
         abbr = "MD %route%",
         width = "expand"}

MD.MD = MD.SR

MD["SR-Bus"] = {shield = "MD Route %route% Business.svg",
				name = MD.SR.name .. " Business",
                link = "Maryland Route %route% Business [dab||(%dab%)|]",
                abbr = "MD %route% Bus.",
                width = "expand",
                bannersuffix = "Vermont"}

MD["MD-Bus"] = MD["SR-Bus"]

MD["MD-Byp"] = {shield = MD.SR.shield,
				name = MD.SR.name .. " Bypass",
                link = "Maryland Route %route% Bypass [dab||(%dab%)|]",
                abbr = "MD %route% Byp.",
                banner = "By-pass plate.svg",
                width = "expand"}

MD["SR-Alt"] = {shield = MD.SR.shield,
				name = MD.SR.name .. " Alternate",
                link = "Maryland Route %route% Alternate [dab||(%dab%)|]",
                abbr = "MD %route% Alt.",
                banner = "Alt plate.svg",
                width = "expand"}

MD["MD-Alt"] = MD["SR-Alt"]

MD["SR-Truck"] = {shield = MD.SR.shield,
				  name = MD.SR.name .. " Truck",
                  link = "Maryland Route %route% Truck [dab||(%dab%)|]",
                  abbr = "MD %route% Truck",
                  banner = "Truck plate.svg",
                  width = "expand"}

MD["MD-Truck"] = MD["SR-Truck"]


MD["MD-Toll"] = {shield = MD.MD.shield,
				name = MD.SR.name,
                link = MD.MD.link,
                abbr = "MD %route% Toll",
                banner = "Toll plate yellow.svg",
                width = "expand"}
                
MD.Dual = {shield = {"Elongated circle %route%.svg", "MD Route %route%.svg"},
           link = "Route %route% (Delaware–Maryland)",
           abbr = "DE / MD %route%",
           width = 40}

MD.DEMD = MD.Dual

MD.MDJFK = {shield = "MD JFK Highway.svg",
			name = "John F. Kennedy Memorial Highway",
            link = "John F. Kennedy Memorial Highway (Maryland)",
            abbr = "JFK Memorial Highway"}

MD.BWP = {shield = "",
		  name = "Baltimore–Washington Parkway",
		  link = "Baltimore–Washington Parkway",
		  abbr = "Baltimore–Washington Parkway"}

MD.CBP = {shield = "",
		  name = "Clara Barton Parkway",
		  link = "Clara Barton Parkway",
		  abbr = "Clara Barton Parkway"}

MD.CJP = {shield = "",
		  name = "Cabin John Parkway",
		  link = "Cabin John Parkway",
		  abbr = "Cabin John Parkway"}

MD.COC = {shield = "MD scenic byway.svg",
        	 name = "Chesapeake and Ohio Canal Scenic Byway",
        	 link = "Chesapeake and Ohio Canal Scenic Byway",
        	 abbr = "C&O Canal Scenic Byway",
    		 }

MD.PA = {alias = {module = "USA/PA", type = "PA"}}

MD.WV = {alias = {module = "USA/WV", type = "WV"}}

return MD