Modul:Road data/strings/USA/MD

Daripada Wikipedia, ensiklopedia bebas.

Pendokumenan untuk modul ini boleh diciptakan di Modul:Road data/strings/USA/MD/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"]`.
]==]

-- 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"] = "Laluan Antara Negeri 68",
	["97"] = "Laluan Antara Negeri 97",
	["295"] = "Laluan Antara Negeri 295 (Maryland–District of Columbia)",
	["370"] = "Laluan Antara Negeri 370",
	["495"] = "Laluan Antara Negeri 495 (Capital Beltway)",
	["495X"] = "Cabin John Parkway",
	default = {
		hook = "split",
		split = 100,
		above = "Laluan Antara Negeri %route% (Maryland)",
		below = "Laluan Antara Negeri %route% di Maryland"
		
	}
	
}

MD["I-Spur"] = {
	shield = MD.I.shield,
	link = "Laluan Bukit Antara Negeri %route% (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,
	name = "Laluan Ekspres Antara Negeri %route%",
	link = "Laluan Ekspres Antara Negeri %route% (Maryland)",
	abbr = MD.I.abbr .. " Express",
	width = "expand",
	banner = "Toll plate yellow.svg",
	bannersuffix = "blue"
	
}

MD.US.link = "Laluan A.S. %route% di Maryland"

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

MD["US-Alt"].link = "Laluan Alternatif A.S. %route% ([dab||%dab%, |]Maryland)"

MD["US-Truck"].link = "Laluan Trak A.S. %route% ([dab||%dab%, |]Maryland)"
	  
MD["US-Byp"].link = "Laluan Pintasan A.S. %route% ([dab||%dab%, |]Maryland)"

MD["US-Scenic"].link = "Laluan Indah A.S. %route% ([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 = {
	base = "Laluan Maryland %route%",
	shield = "MD Route %route%.svg",
	name = "Laluan Maryland %route%",
	link = "Laluan Maryland %route% [dab||(%dab%)|]",
	abbr = "MD %route%",
	width = "expand"
	
}

MD.MD = MD.SR

for _,type in ipairs({'SR'}) do
	for _,auxType in ipairs({"Alt", "Bus", "Byp", "Conn", "Spur", "Truck"}) do
		local spec = MD[" aux "][auxType]
		MD["SR-" .. auxType] = {
	shield = MD.SR.shield,
	shieldmain = MD.SR.shield,
	name = MD.SR.name .. " " .. spec.name,
	link = MD.SR.base .. " " .. spec.name .. MD[" dab "],
	abbr = MD.SR.abbr .. " " .. spec.abbrsuffix,
	banner = spec.bannerprefix .. " plate.svg",
	aux = spec.aux,
	width = "expand",
		}
	end
end

MD["SR-Bus"].shield = "MD Route %route% Business.svg"
MD["SR-Bus"].banner = ""
MD["SR-Bus"].bannersuffix = "Vermont"
MD["MD-Alt"] = MD["SR-Alt"]
MD["MD-Bus"] = MD["SR-Bus"]
MD["MD-Byp"] = MD["SR-Byp"]
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.MDJFK = {
	shield = "MD JFK Highway.svg",
	name = "Lebuhraya Peringatan John F. Kennedy",
	link = "Lebuhraya Peringatan John F. Kennedy (Maryland)",
	abbr = "JFK Memorial Highway"
	
}

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

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

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

MD.COC = {
	shield = "MD scenic byway.svg",
	name = "Jalan kecil Indah Kanal Chesapeake dan Ohio",
	link = "Jalan kecil Indah Kanal Chesapeake dan Ohio",
	abbr = "Jalan kecil Indah Kanal C&O",
}

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

return MD