Module:Road data/strings/USA/MD
MyWikiBiz, Author Your Legacy — Saturday November 23, 2024
< Module:Road data | strings | USA
Jump to navigationJump to searchDocumentation for this module may be created at Module: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"] = "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, name = MD.I.name .. " Spur", 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, name = "Interstate %route% Express", 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"].shieldmain = "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 = { base = "Maryland Route %route%", shield = "MD Route %route%.svg", name = "Maryland Route %route%", link = "Maryland Route %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"].shieldmain = "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 = "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.SB = { shield = { default = "MD scenic byway.svg", ["1"] = "MUTCD D6-4.svg", ["5"] = "MUTCD D6-4.svg", ["11"] = "MUTCD D6-4.svg", ["16"] = "MUTCD D6-4.svg", ["17"] = {"MUTCD D6-4.svg", "MD scenic byway.svg"}, ["18"] = "MUTCD D6-4.svg", }, name = { arg = "route", ["1"] = "#1: Historic National Road", ["2"] = "#2: Mountain Maryland", ["3"] = "#3: Chesapeake and Ohio Canal", ["4"] = "#4: Antietam Campaign", ["5"] = "#5: Journey Through Hallowed Ground", ["6"] = "#6: Old Main Streets", ["7"] = "#7: Mason and Dixon", ["8"] = "#8: Falls Road", ["9"] = "#9: Horses and Hounds", ["10"] = "#10: Lower Susquehanna", ["11"] = "#11: Charles Street", ["12"] = "#12: National Historic Seaport", ["13"] = "#13: Star-Spangled Banner", ["14"] = "#14: Booth's Escape", ["15"] = "#15: Roots and Tides", ["16"] = "#16: Religious Freedom", ["17"] = "#17: Chesapeake Country", ["18"] = "#18: Harriet Tubman Underground Railroad", ["19"] = "#19: Cape to Cape" }, link = "List of Maryland Scenic Byways", abbr = { arg = "route", ["1"] = "#1: Historic National Road", ["2"] = "#2: Mountain Maryland", ["3"] = "#3: Chesapeake and Ohio Canal", ["4"] = "#4: Antietam Campaign", ["5"] = "#5: Journey Through Hallowed Ground", ["6"] = "#6: Old Main Streets", ["7"] = "#7: Mason and Dixon", ["8"] = "#8: Falls Road", ["9"] = "#9: Horses and Hounds", ["10"] = "#10: Lower Susquehanna", ["11"] = "#11: Charles Street", ["12"] = "#12: National Historic Seaport", ["13"] = "#13: Star-Spangled Banner", ["14"] = "#14: Booth's Escape", ["15"] = "#15: Roots and Tides", ["16"] = "#16: Religious Freedom", ["17"] = "#17: Chesapeake Country", ["18"] = "#18: Harriet Tubman Underground Railroad", ["19"] = "#19: Cape to Cape" } } 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