Module:Adjacent stations/MBTA/sandbox

MyWikiBiz, Author Your Legacy — Friday November 15, 2024
Jump to navigationJump to search

Documentation for this module may be created at Module:Adjacent stations/MBTA/sandbox/doc

local depot = "%1 Depot"
local ma = "%1 station (Massachusetts)"
local mbta = "%1 station (MBTA)"
local raw = "%1"
local ri = "%1 station (Rhode Island)"
local stn = "%1 station"
local union = "Union Station (%1, Massachusetts)"

local p = {
	["lang"] = "en-US",
	["system title"] = "[[Massachusetts Bay Transportation Authority|MBTA]]",
	["system icon"] = "[[File:MBTA.svg|16px|link=Massachusetts Bay Transportation Authority]]",
	["system color"] = "80276C",
	["name format"] = {
		"background-color: #80276C; font-size: 175%; font-family: helvetica; color: white; padding:5px;",
		["CapeFLYER"] = "background-color: #78BC42; font-size: 175%; font-family: helvetica; color: white; padding:5px;",
		["Green"] = "background-color: #00843D; font-size: 175%; font-family: helvetica; color: white; padding:5px;",
		["Green and Blue"] = "font-size: 175%; font-family: helvetica; color: white; padding:5px; background-image: linear-gradient(to right, #00843D, #00843D, #003DA5, #003DA5)",
		["Green and Orange"] = "font-size: 175%; font-family: helvetica; color: white; padding:5px; background-image: linear-gradient(to right, #00843D, #00843D, #ED8B00, #ED8B00)",
		["Green and Red"] = "font-size: 175%; font-family: helvetica; color: white; padding:5px; background-image: linear-gradient(to right, #00843D, #00843D, #DA291C, #DA291C)",
		["Blue and Silver"] = "font-size: 175%; font-family: helvetica; color: white; padding:5px; background-image: linear-gradient(to right, #003DA5, #003DA5, #7C878E, #7C878E)",
		["Red and Purple"] = "font-size: 175%; font-family: helvetica; color: white; padding:5px; background-image: linear-gradient(to right, #DA291C, #DA291C, #80276C, #80276C)",
		["Red and Orange"] = "font-size: 175%; font-family: helvetica; color: white; padding:5px; background-image: linear-gradient(to right, #DA291C, #DA291C, #ED8B00, #ED8B00)",
	},
	["infobox station"] = {
		["_header"] = {
			["background-color"] = "#80276C",
			["font-size"] = "175%",
			["font-family"] = "Helvetica",
			["color"] = "#FFFFFF",
			["padding"] = "5px"
		},
		["CapeFLYER"]= {
			["background-color"] = "#78BC42",
		},
		["Green"]= {
			["background-color"] = "#00843D",
		},
		["Green and Blue"]= {
			["background-image"] = "linear-gradient(to right, #00843D, #00843D, #003DA5, #003DA5)",
		},
		["Green and Orange"]= {
			["background-image"] = "linear-gradient(to right, #00843D, #00843D, #ED8B00, #ED8B00)",
		},
		["Green and Red"]= {
			["background-image"] = "linear-gradient(to right, #00843D, #00843D, #003DA5, #003DA5)",
		},
		["Blue and Silver"]= {
			["background-image"] = "linear-gradient(to right, #003DA5, #003DA5, #7C878E, #7C878E)",
		},
		["Red and Purple"]= {
			["background-image"] = "linear-gradient(to right, #003DA5, #003DA5, #80276C, #80276C)",
		},
		["Red and Orange"]= {
			["background-image"] = "linear-gradient(to right, #003DA5, #003DA5, #ED8B00, #ED8B00)",
		}
	},	
	["station format"] = {
		stn,
		["Alcorn Street"] = "Babcock Street station",
		["Amory Street"] = "Boston University West station",
		["Anderson"] = "[[Anderson Regional Transportation Center|Anderson/​Woburn]]",
		["Andover"] = mbta,
		["Aquarium"] = mbta,
		["Arlington"] = {
			["Green"] = mbta,
			["Lexington"] = "[[Arlington Centre station|Arlington Centre]]",
		},
		["Ashland"] = mbta,
		["Attleboro"] = ma,
		["Auburndale"] = mbta,
		["Auditorium"] = "Hynes Convention Center station",
		["BU Central old"] = "Boston University Central station",
		["Beaconsfield"] = mbta,
		["Bedford"] = depot,
		["Bellevue"] = mbta,
		["Beverly"] = depot,
		["Bird's Hill"] = "Hersey station#History",
		["Boston University"] = "Boston University East station",
		["Bourne"] = "Bourne Railroad Station",
		["Braintree"] = mbta,
		["Bridgewater"] = mbta,
		["Broadway"] = mbta,
		["Brockton"] = mbta,
		["Buick Street"] = "Pleasant Street station (MBTA)",
		["Butler"] = mbta,
		["Cambridge"] = "Porter station#History",
		["Central Avenue"] = mbta,
		["Central Station"] = "Aquarium station (MBTA)",
		["Central"] = mbta,
		["Chelsea"] = mbta,
		["Chester Street"] = raw,
		["Chestnut Hill"] = mbta,
		["Chinatown"] = mbta,
		["City Point"] = "City Point Bus Terminal",
		["College Avenue"] = mbta,
		["Concord"] = ma,
		["Courthouse"] = mbta,
		["Davis"] = mbta,
		["Dover"] = {
			["Millis"] = "Dover station (MBTA Millis Branch)",
			["Orange"] = mbta,
		},
		["Essex"] = "Chinatown station (MBTA)",
		["Everett"] = mbta,
		["Fairmount"] = mbta,
		["Fordham Road"] = mbta,
		["Forest Hills"] = mbta,
		["Gloucester"] = mbta,
		["Government Center"] = mbta,
		["Grafton"] = mbta,
		["Greenwood"] = mbta,
		["Halifax"] = mbta,
		["Harbor"] = mbta,
		["Hastings"] = mbta,
		["Haverhill"] = ma,
		["Haymarket"] = mbta,
		["Highland"] = mbta,
		["Hyannis"] = "Hyannis Transportation Center",
		["Hyde Park"] = mbta,
		["Ipswich"] = mbta,
		["Islington"] = mbta,
		["King's Highway"] = mbta,
		["Kingston"] = {
			["Plymouth"] = "[[Kingston/Route 3 station|Kingston/​Route 3]]",
			["Providence"] = ri,
		},
		["Lake Street"] = {
			["Green"] = "[[Boston College station|Boston College]]",
			["Lexington"] = "Lake Street station (Arlington, Massachusetts)",
		},
		["Lexington"] = depot,
		["Lincoln"] = mbta,
		["Littleton"] = "Littleton/Route 495 station#History",
		["Logan Airport"] = "Logan International Airport#Ground transportation",
		["Longwood"] = mbta,
		["Manchester"] = "Union Station (Manchester, New Hampshire)",
		["Manchester"] = mbta,
		["Mansfield"] = mbta,
		["Massachusetts Avenue"] = {
			["Orange"] = stn,
			["Silver"] = "Northampton station (MBTA)",
		},
		["Medfield"] = "Medfield Junction",
		["Middleborough/Lakeville"] = "[[Middleborough/Lakeville station|Middleborough/​Lakeville]]",
		["Milton"] = mbta,
		["Monument"] = mbta,
		["Munroe"] = mbta,
		["Museum of Fine Arts"] = mbta,
		["Nashua"] = "Union Station (Nashua, New Hampshire)",
		["Newmarket"] = mbta,
		["Norfolk"] = mbta,
		["North Easton"] = mbta,
		["North Station"] = raw,
		["Northampton"] = mbta,
		["Park Street"] = mbta,
		["Pawtucket–Central Falls"] = "Pawtucket/Central Falls station#History",
		["Pleasant Street"] = mbta,
		["Plymouth"] = mbta,
		["Reading"] = mbta,
		["Reservoir"] = mbta,
		["Riverside"] = mbta,
		["Riverview"] = ma,
		["Rowley"] = mbta,
		["Science Park"] = mbta,
		["Shirley"] = mbta,
		["South Acton"] = mbta,
		["South Station"] = {
			raw,
			["Silver Line"] = "South Station (subway)",
		},
		["South Street"] = mbta,
		["Southborough"] = mbta,
		["St. Paul Street"] = {
			["Green Line"] = {
				"St. Paul Street station (MBTA Green Line \"B\" Branch)",
				["C"] = "St. Paul Street station (MBTA Green Line \"C\" Branch)",
			},
		},
		["Stony Brook"] = mbta,
		["Summit Avenue"] = {
			["Green Line"] = {
				"Summit Avenue station (MBTA Green Line \"C\" Branch)",
				["B"] = "Summit Avenue station (MBTA Green Line \"B\" Branch)",
			}
		},
		["Tufts University"] = "College Avenue station (MBTA)#Commuter rail stations",
		["Union Square"] = "Union Square station (MBTA %2 Line \"%3\" Branch)",
		["University Road"] = raw,
		["VA Medical Center"] = mbta,
		["Wakefield"] = mbta,
		["Walpole"] = union,
		["Warren Street"] = mbta,
		["Washington Square"] = mbta,
		["Washington Street"] = mbta,
		["Watertown"] = "Watertown Yard",
		["Waverley"] = mbta,
		["Wellington"] = mbta,
		["West Acton"] = mbta,
		["Weston"] = mbta,
		["Wilmington "] = mbta,
		["Woburn old"] = "Woburn station (1844–1981)",
		["Worcester"] = union,
		["World Trade Center"] = mbta,
	},
	["lines"] = {
		["_default"] = {
			["color"] = "80276C",	
		},
		["Blue"] = {
			["title"] = "[[Blue Line (MBTA)|Blue Line]]",
			["color"] = "003DA5",
			["left terminus"] = "Bowdoin",
			["right terminus"] = "Wonderland",
		},
		["Boat"] = {
			["title"] = "[[MBTA Boat]]",
			["color"] = "008EAA",
		},	
		["Bus"] = {
			["title"] = "[[MBTA Bus]]",
			["color"] = "FFC72C",
		},
		["CapeFLYER"] = {
			["title"] = "[[CapeFlyer|CapeFLYER]]",
			["color"] = "78BC42",
			["left terminus"] = "South Station",
			["right terminus"] = "Hyannis",
		},
		["Central Mass"] = {
			["title"] = "[[Central Massachusetts Railroad|Central Mass Branch]]",
			["left terminus"] = "South Sudbury",
			["right terminus"] = "North Station",
		},
		["Dedham"] = {
			["title"] = "[[Dedham Branch]]",
			["left terminus"] = "Dedham",
			["right terminus"] = "South Station",
		},
		["Fairmount"] = {
			["title"] = "[[Fairmount Line]]",
			["left terminus"] = "Readville",
			["right terminus"] = "South Station",
		},
		["Fitchburg"] = {
			["title"] = "[[Fitchburg Line]]",
			["left terminus"] = "Wachusett",
			["right terminus"] = "North Station",
		},
		["Framingham"] = {
			["title"] = "[[Framingham/Worcester Line|Framingham/​Worcester Line]]",
			["left terminus"] = "Worcester",
			["right terminus"] = "South Station",
		},
		["Franklin"] = {
			["title"] = "[[Franklin Line]]",
			["left terminus"] = "Forge Park/495",
			["right terminus"] = "South Station",
		},
		["Green"] = {
			["title"] = "[[Green Line (MBTA)|Green Line]]",
			["color"] = "00843D",
			["types"] = {
				["A"] = {
					["title"] = "",
					["note-mid"] = "[[Green Line \"A\" Branch|\"A\" Branch]]",
					["left terminus"] = "Watertown",
					["right terminus"] = "Park Street",
				},
				["B"] = {
					["title"] = "",
					["note-mid"] = "[[Green Line \"B\" Branch|\"B\" Branch]]",
					["left terminus"] = "Boston College",
					["right terminus"] = "Park Street",
				},
				["C"] = {
					["title"] = "",
					["note-mid"] = "[[Green Line \"C\" Branch|\"C\" Branch]]",
					["left terminus"] = "Cleveland Circle",
					["right terminus"] = "North Station",
				},
				["D"] = {
					["title"] = "",
					["note-mid"] = "[[Green Line \"D\" Branch|\"D\" Branch]]",
					["left terminus"] = "Riverside",
					["right terminus"] = "Government Center",
				},
				["E"] = {
					["title"] = "",
					["note-mid"] = "[[Green Line \"E\" Branch|\"E\" Branch]]",
					["left terminus"] = "Heath Street",
					["right terminus"] = "Lechmere",
				},
			},
		},
		["Greenbush"] = {
			["title"] = "[[Greenbush Line]]",
			["left terminus"] = "South Station",
			["right terminus"] = "Greenbush",
		},
		["Haverhill"] = {
			["title"] = "[[Haverhill Line]]",
			["left terminus"] = "North Station",
			["right terminus"] = "Haverhill",
		},
		["Lexington"] = {
			["title"] = "[[Lexington and West Cambridge Railroad|Lexington Branch]]",
			["left terminus"] = "Bedford",
			["right terminus"] = "North Station",
		},
		["Lowell"] = {
			["title"] = "[[Lowell Line]]",
			["left terminus"] = "North Station",
			["right terminus"] = "Lowell",
		},
		["Mattapan"] = {
			["title"] = "[[Ashmont–Mattapan High Speed Line]]",
			["color"] = "DA291C",
			["left terminus"] = "Mattapan",
			["right terminus"] = "Ashmont",
		},
		["Middleborough"] = {
			["title"] = "[[Old Colony Lines (MBTA)|Middleborough/​Lakeville Line]]",
			["left terminus"] = "South Station",
			["right terminus"] = "Middleborough/Lakeville",
		},
		["Millis"] = {
			["title"] = "[[Millis Branch]]",
			["left terminus"] = "Millis",
			["right terminus"] = "South Station",
		},
		["Needham"] = {
			["title"] = "[[Needham Line]]",
			["left terminus"] = "Needham Heights",
			["right terminus"] = "South Station",
		},
		["Newburyport/Rockport"] = {
			["title"] = "[[Newburyport/Rockport Line|Newburyport/​Rockport Line]]",
			["left terminus"] = "North Station",
			["right terminus"] = {"Newburyport", "Rockport"},
		},
		["Orange"] = {
			["title"] = "[[Orange Line (MBTA)|Orange Line]]",
			["color"] = "ED8B00",
			["left terminus"] = "Forest Hills",
			["right terminus"] = "Oak Grove",
		},
		["Plymouth"] = {
			["title"] = "[[Old Colony Lines (MBTA)|Kingston/​Plymouth Line]]",
			["left terminus"] = "South Station",
			["right terminus"] = {"Kingston", "Plymouth"},
		},
		["Providence/Stoughton"] = {
			["title"] = "[[Providence/Stoughton Line|Providence/​Stoughton Line]]",
			["left terminus"] = {"Wickford Junction", "Stoughton"},
			["right terminus"] = "South Station",
		},
		["Red"] = {
			["title"] = "[[Red Line (MBTA)|Red Line]]",
			["color"] = "DA291C",
			["left terminus"] = "Alewife",
			["right terminus"] = {"Ashmont", "Braintree"},
		},
		["Ride"] = {
			["title"] = "[[The Ride (MBTA)|The Ride]]",
			["color"] = "52BBC5",
		},
		["Silver"] = {
			["title"] = "[[Silver Line (MBTA)|Silver Line]]",
			["color"] = "7C878E",
			["types"] = {
				["SL1"] = {
					["title"] = "",
					["notemid"] = "[[Silver Line (MBTA)#Waterfront: SL1 and SL2|SL1]]",
					["left terminus"] = "South Station",
					["right terminus"] = "Logan Airport",
				},
				["SL2"] = {
					["title"] = "",
					["notemid"] = "[[Silver Line (MBTA)#Waterfront: SL1 and SL2|SL2]]",
					["left terminus"] = "South Station",
					["right terminus"] = "Design Center",
				},
				["SL3"] = {
					["title"] = "",
					["notemid"] = "[[Silver Line (MBTA)#Extension to Chelsea|SL3]]",
					["left terminus"] = "South Station",
					["right terminus"] = "Chelsea",
				},
				["SL4"] = {
					["title"] = "",
					["notemid"] = "[[Silver Line (MBTA)#Washington Street: SL4 and SL5|SL4]]",
					["left terminus"] = "Dudley Square",
					["right terminus"] = "South Station",
				},
				["SL5"] = {
					["title"] = "",
					["notemid"] = "[[Silver Line (MBTA)#Washington Street: SL4 and SL5|SL5]]",
					["left terminus"] = "Dudley Square",
					["right terminus"] = "Downtown Crossing",
				},
			},
		},
		["South Coast Rail"] = {
			["title"] = "[[South Coast Rail]]",
			["left terminus"] = {"Battleship Cove", "Whale's Tooth"},
			["right terminus"] = "South Station",
		},
	},
	["aliases"] = {
		["framingham/worcester"] = "Framingham",
		["middleborough-nobreak"] = "Middleborough",
		["newburyport"] = "Newburyport/Rockport",
		["providence"] = "Providence/Stoughton",
		["south coast"] = "South Coast Rail",
		["stoughton"] = "Providence/Stoughton",
	},
}

return p