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

From blackwiki
Jump to navigation Jump to search
blackwiki>Szqecs
blackwiki>Szqecs
Line 1: Line 1:
 
-- Template not yet implemented
 
-- Template not yet implemented
  
local a = "%1 station (Washington Metro)"
+
local x = "%1 station (Washington Metro)"
  
 
local p = {
 
local p = {
Line 8: Line 8:
 
["name format"] = "font-family:Helvetica;background-color:#241F20;text-align:center;font-size:115%;color:#FFF;padding:0px;line-height:100%",
 
["name format"] = "font-family:Helvetica;background-color:#241F20;text-align:center;font-size:115%;color:#FFF;padding:0px;line-height:100%",
 
["header background color"] = "241F20",
 
["header background color"] = "241F20",
["color"] = "241F20",
+
["line color"] = "241F20",
 
["station format"] = {
 
["station format"] = {
 
"%1 station",
 
"%1 station",
["Ashburn"] = a,
+
["Ashburn"] = x,
["Crystal City"] = a,
+
["Crystal City"] = x,
["Greensboro"] = a,
+
["Greensboro"] = x,
["Huntington"] = a,
+
["Huntington"] = x,
["Medical Center"] = a,
+
["Medical Center"] = x,
["Vienna"] = a,
+
["Vienna"] = x,
["Waterfront"] = a,
+
["Waterfront"] = x,
 
["Route 772"] = "[[Ashburn station (Washington Metro)|Ashburn]]",
 
["Route 772"] = "[[Ashburn station (Washington Metro)|Ashburn]]",
 
["Route 606"] = "[[Loudoun Gateway station|Loudoun Gateway]]",
 
["Route 606"] = "[[Loudoun Gateway station|Loudoun Gateway]]",
Line 25: Line 25:
 
["lines"] = {
 
["lines"] = {
 
["Red"] = {
 
["Red"] = {
["line title"] = "[[Red Line (Washington Metro)|Red Line]]",
+
["title"] = "[[Red Line (Washington Metro)|Red Line]]",
 
["color"] = "E31837",
 
["color"] = "E31837",
 
["left terminus"] = "Shady Grove",
 
["left terminus"] = "Shady Grove",
Line 31: Line 31:
 
},
 
},
 
["Blue"] = {
 
["Blue"] = {
["line title"] = "[[Blue Line (Washington Metro)|Blue Line]]",
+
["title"] = "[[Blue Line (Washington Metro)|Blue Line]]",
 
["color"] = "0076C0",
 
["color"] = "0076C0",
 
["left terminus"] = "Franconia–Springfield",
 
["left terminus"] = "Franconia–Springfield",
Line 37: Line 37:
 
},
 
},
 
["Orange"] = {
 
["Orange"] = {
["line title"] = "[[Orange Line (Washington Metro)|Orange Line]]",
+
["title"] = "[[Orange Line (Washington Metro)|Orange Line]]",
 
["color"] = "F7941D",
 
["color"] = "F7941D",
 
["left terminus"] = "Vienna",
 
["left terminus"] = "Vienna",
Line 43: Line 43:
 
},
 
},
 
["Yellow"] = {
 
["Yellow"] = {
["line title"] = "[[Yellow Line (Washington Metro)|Yellow Line]]",
+
["title"] = "[[Yellow Line (Washington Metro)|Yellow Line]]",
 
["color"] = "FFD200",
 
["color"] = "FFD200",
 
["left terminus"] = "Huntington",
 
["left terminus"] = "Huntington",
Line 52: Line 52:
 
},
 
},
 
["Green"] = {
 
["Green"] = {
["line title"] = "[[Green Line (Washington Metro)|Green Line]]",
+
["title"] = "[[Green Line (Washington Metro)|Green Line]]",
 
["color"] = "00A94F",
 
["color"] = "00A94F",
 
["left terminus"] = "Branch Avenue",
 
["left terminus"] = "Branch Avenue",
Line 58: Line 58:
 
},
 
},
 
["Silver"] = {
 
["Silver"] = {
["line title"] = "[[Silver Line (Washington Metro)|Silver Line]]",
+
["title"] = "[[Silver Line (Washington Metro)|Silver Line]]",
 
["color"] = "A1A2A1",
 
["color"] = "A1A2A1",
 
["left terminus"] = {
 
["left terminus"] = {

Revision as of 10:43, 18 August 2018

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


-- Template not yet implemented

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

local p = {
	["lang"] = "en-US",
	["system title"] = "[[File:WMATA Metro Logo.svg|18px|link=Washington Metro]] [[Washington Metro]]",
	["name format"] = "font-family:Helvetica;background-color:#241F20;text-align:center;font-size:115%;color:#FFF;padding:0px;line-height:100%",
	["header background color"] = "241F20",
	["line color"] = "241F20",
	["station format"] = {
		"%1 station",
		["Ashburn"] = x,
		["Crystal City"] = x,
		["Greensboro"] = x,
		["Huntington"] = x,
		["Medical Center"] = x,
		["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"] = {
		["Red"] = {
			["title"] = "[[Red Line (Washington Metro)|Red Line]]",
			["color"] = "E31837",
			["left terminus"] = "Shady Grove",
			["right terminus"] = "Glenmont"
		},
		["Blue"] = {
			["title"] = "[[Blue Line (Washington Metro)|Blue Line]]",
			["color"] = "0076C0",
			["left terminus"] = "Franconia–Springfield",
			["right terminus"] = "Largo Town Center"
		},
		["Orange"] = {
			["title"] = "[[Orange Line (Washington Metro)|Orange Line]]",
			["color"] = "F7941D",
			["left terminus"] = "Vienna",
			["right terminus"] = "New Carrollton"
		},
		["Yellow"] = {
			["title"] = "[[Yellow Line (Washington Metro)|Yellow Line]]",
			["color"] = "FFD200",
			["left terminus"] = "Huntington",
			["right terminus"] = {
				"Fort Totten",
				["Weekday rush hour service"] = "Mount Vernon Square",
			}
		},
		["Green"] = {
			["title"] = "[[Green Line (Washington Metro)|Green Line]]",
			["color"] = "00A94F",
			["left terminus"] = "Branch Avenue",
			["right terminus"] = "Greenbelt"
		},
		["Silver"] = {
			["title"] = "[[Silver Line (Washington Metro)|Silver Line]]",
			["color"] = "A1A2A1",
			["left terminus"] = {
				"Wiehle–Reston East",
				["Ashburn"] = "Ashburn"
			},
			["right terminus"] = "Largo Town Center"
		}
	}
}

return p