Difference between revisions of "Module:Adjacent stations/Washington Metro"

From blackwiki
Jump to navigation Jump to search
blackwiki>Jc86035
m (+ open-source fonts)
blackwiki>Jc86035
m (not necessary)
Line 47: Line 47:
 
["color"] = "FFD200",
 
["color"] = "FFD200",
 
["left terminus"] = "Huntington",
 
["left terminus"] = "Huntington",
["right terminus"] = {"Fort Totten", "Mount Vernon Square"},
+
["right terminus"] = {"Fort Totten", "Mount Vernon Square"}
 
},
 
},
 
["Green"] = {
 
["Green"] = {
Line 56: Line 56:
 
["Silver"] = {
 
["Silver"] = {
 
["color"] = "A1A2A1",
 
["color"] = "A1A2A1",
["left terminus"] = {
+
["left terminus"] = "Wiehle–Reston East",
"Wiehle–Reston East",
 
["Ashburn"] = "Ashburn"
 
},
 
 
["right terminus"] = "Largo Town Center"
 
["right terminus"] = "Largo Town Center"
 
}
 
}

Revision as of 13:21, 20 July 2019

This is a data module for Module:Adjacent stations. It supports services operated by the Washington Metro, of Washington DC and the Maryland and Virginia suburbs. For the Metroway bus rapid transit service, use Module:Adjacent stations/Metroway.

It may be invoked by either "Washington Metro" or "WMATA".

Lines

Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc


local x = "%1 station (Washington Metro)"

local p = {
	["lang"] = "en-US",
	["system title"] = "[[Washington Metro]]",
	["system icon"] = "[[File:WMATA Metro Logo.svg|18px|link=Washington Metro]]",
	["name format"] = "font-family: Helvetica, Liberation Sans, Arimo, Microsoft Sans Serif, Arial; background-color: #241f20; font-size: 160%; color: white; padding: 0.4em 4px; margin: 0.25em;",
	["header background color"] = "241F20",
	["system color"] = "241F20",
	["station format"] = {
		"%1 station",
		["Ashburn"] = x,
		["College Park"] = "[[College Park–University of Maryland station|College Park]]",
		["Crystal City"] = x,
		["Greensboro"] = x,
		["Huntington"] = x,
		["Medical Center"] = x,
		["National Airport"] = "[[Ronald Reagan Washington National Airport station|National Airport]]",
		["Ronald Reagan Washington National Airport"] = "[[Ronald Reagan Washington National Airport station|National Airport]]",
		["Vienna"] = x,
		["Waterfront"] = x,
		["Route 772"] = "[[Ashburn station (Washington Metro)|Ashburn]]",
		["Route 606"] = "[[Loudoun Gateway station|Loudoun Gateway]]",
		["Silver Spring"] = "%1 station (Maryland)",
		["Union Station"] = "Union Station (Washington Metro)"
	},
	["lines"] = {
		["_default"] = {
			["title"] = "[[%1 Line (Washington Metro)|%1 Line]]"
		},
		["Red"] = {
			["color"] = "E31837",
			["left terminus"] = "Shady Grove",
			["right terminus"] = "Glenmont"
		},
		["Blue"] = {
			["color"] = "0076C0",
			["left terminus"] = "Franconia–Springfield",
			["right terminus"] = "Largo Town Center"
		},
		["Orange"] = {
			["color"] = "F7941D",
			["left terminus"] = "Vienna",
			["right terminus"] = "New Carrollton"
		},
		["Yellow"] = {
			["color"] = "FFD200",
			["left terminus"] = "Huntington",
			["right terminus"] = {"Fort Totten", "Mount Vernon Square"}
		},
		["Green"] = {
			["color"] = "00A94F",
			["left terminus"] = "Branch Avenue",
			["right terminus"] = "Greenbelt"
		},
		["Silver"] = {
			["color"] = "A1A2A1",
			["left terminus"] = "Wiehle–Reston East",
			["right terminus"] = "Largo Town Center"
		}
	}
}

return p