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

From blackwiki
Jump to navigation Jump to search
blackwiki>Jc86035
m (ce)
blackwiki>Szqecs
Line 25: Line 25:
 
},
 
},
 
["lines"] = {
 
["lines"] = {
 +
["_default"] = {
 +
["title"] = "[[%1 Line (Washington Metro)|%1 Line]]"
 +
},
 
["Red"] = {
 
["Red"] = {
["title"] = "[[Red Line (Washington Metro)|Red Line]]",
 
 
["color"] = "E31837",
 
["color"] = "E31837",
 
["left terminus"] = "Shady Grove",
 
["left terminus"] = "Shady Grove",
Line 32: Line 34:
 
},
 
},
 
["Blue"] = {
 
["Blue"] = {
["title"] = "[[Blue Line (Washington Metro)|Blue Line]]",
 
 
["color"] = "0076C0",
 
["color"] = "0076C0",
 
["left terminus"] = "Franconia–Springfield",
 
["left terminus"] = "Franconia–Springfield",
Line 38: Line 39:
 
},
 
},
 
["Orange"] = {
 
["Orange"] = {
["title"] = "[[Orange Line (Washington Metro)|Orange Line]]",
 
 
["color"] = "F7941D",
 
["color"] = "F7941D",
 
["left terminus"] = "Vienna",
 
["left terminus"] = "Vienna",
Line 44: Line 44:
 
},
 
},
 
["Yellow"] = {
 
["Yellow"] = {
["title"] = "[[Yellow Line (Washington Metro)|Yellow Line]]",
 
 
["color"] = "FFD200",
 
["color"] = "FFD200",
 
["left terminus"] = "Huntington",
 
["left terminus"] = "Huntington",
Line 53: Line 52:
 
},
 
},
 
["Green"] = {
 
["Green"] = {
["title"] = "[[Green Line (Washington Metro)|Green Line]]",
 
 
["color"] = "00A94F",
 
["color"] = "00A94F",
 
["left terminus"] = "Branch Avenue",
 
["left terminus"] = "Branch Avenue",
Line 59: Line 57:
 
},
 
},
 
["Silver"] = {
 
["Silver"] = {
["title"] = "[[Silver Line (Washington Metro)|Silver Line]]",
 
 
["color"] = "A1A2A1",
 
["color"] = "A1A2A1",
 
["left terminus"] = {
 
["left terminus"] = {

Revision as of 12:46, 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"] = "[[Washington Metro]]",
	["system icon"] = "[[File:WMATA Metro Logo.svg|18px|link=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",
	["system 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"] = {
		["_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",
				["Weekday rush hour service"] = "Mount Vernon Square",
			}
		},
		["Green"] = {
			["color"] = "00A94F",
			["left terminus"] = "Branch Avenue",
			["right terminus"] = "Greenbelt"
		},
		["Silver"] = {
			["color"] = "A1A2A1",
			["left terminus"] = {
				"Wiehle–Reston East",
				["Ashburn"] = "Ashburn"
			},
			["right terminus"] = "Largo Town Center"
		}
	}
}

return p