Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Module:Adjacent stations/SEPTA

Permanently protected module
From Wikipedia, the free encyclopedia

local pa = "%1 station (Pennsylvania)"
local septa = "%1 station (SEPTA)"
local septarr = "%1 station (SEPTA Regional Rail)"

local p = {
	["lang"] = "en-US",
	["system title"] = "[[SEPTA]]",
	["system icon"] = "[[File:SEPTA.svg|15px|link=SEPTA]]",
	["name format"] = {
		"font-size: 120%;",
		["SEPTA Bus"] = "font-family:Helvetica;background-color:#104E8B;text-align: left;font-size:160%;color:white;padding:4px;line-height:95%;background-image: linear-gradient(to right, #104E8B, #104E8B, #104E8B, #104E8B, #104E8B, #FF2C00);",
		["SEPTA Former"] = "font-size: 200%; font-family:Arial, 'Liberation Sans', Arial, sans; font-weight: bolder; line-height: 150%; color:black;background-color:#DCDCDC;",
		["SEPTA Regional Rail"] = "font-family:Helvetica;background-color:#104E8B;text-align: left;font-size:160%;color:white;padding:4px;line-height:95%;background-image: linear-gradient(to right, #104E8B, #104E8B, #104E8B, #104E8B, #104E8B, #FF2C00);",
	},
	["header background color"] = {
		"104E8B",
		["SEPTA Former"] = "DCDCDC",
	},
	["header text color"] = { 
		"ffffff",
		["SEPTA Former"] = "000000",
	},
	["station format"] = {
		"%1 station",
		["9th Street"] = septa,
		["11th Street"] = septa,
		["30th Street"] = "[[30th Street Station]]",
		["30th Street Station"] = "[[30th Street Station]]",
		["49th Street"] = septarr,
		["52nd Street"] = septarr,
		["Airport"] = "Airport Terminal stations (SEPTA)",
		["Allegheny"] = septarr,
		["Allentown"] = "Allentown station (Lehigh Valley Railroad)",
		["Ardmore"] = pa,
		["Auburn"] = septa,
		["Bala"] = septa,
		["Barmouth"] = septa,
		["Berwyn"] = septa,
		["Bethlehem"] = "Bethlehem Union Station",
		["Birdsboro"] = "Birdsboro station (Reading Railroad)",
		["Bristol"] = septa,
		["Bryn Mawr"] = septarr,
		["Cheltenham"] = septa,
		["Chester"] = "Chester Transit Center",
		["Colmar"] = septa,
		["County Line"] = septarr,
		["Croydon"] = septa,
		["Cynwyd"] = septa,
		["Darlington"] = septa,
		["Delaware Valley Univ."] = "Delaware Valley University station",
		["Elm Street"] = "[[Elm Street station|Norristown–Elm Street]]",
		["Exton"] = pa,
		["Fern Rock"] = "Fern Rock Transit Center",
		["Franklin Street"] = pa,
		["Forest Hills"] = septa,
		["Fortuna"] = septa,
		["Germantown"] = septa,
		["Gladstone"] = septa,
		["Hamburg"] = pa,
		["Hatfield"] = pa,
		["Haverford"] = septarr,
		["Highland Avenue"] = septa,
		["Highland"] = septa,
		["Holland"] = septa,
		["Jefferson"] = "[[Jefferson Station (SEPTA)|Jefferson Station]]",
		["Jefferson Station"] = "[[Jefferson Station (SEPTA)|Jefferson Station]]",
		["Lansdowne"] = septa,
		["Lansdowne Avenue"] = "[[Lansdowne Avenue station|Lansdowne Avenue]]",
		["Locksley"] = pa,
		["Main Street"] = "[[Main Street station (SEPTA)|Norristown–Main Street]]",
		["Malvern"] = septa,
		["Meadowbrook"] = septa,
		["Media"] = septa,
		["Melrose Park"] = septa,
		["Monocacy"] = pa,
		["Narberth"] = septa,
		["Newark"] = "Newark station (Delaware)",
		["Newark Penn Station"] = "%1",
		["Newtown"] = septa,
		["Norristown"] = "Norristown Transit Center",
		["Norristown T.C."] = "Norristown Transit Center",
		["Olney"] = { 
			septa,
			["Broad Ridge"] = "Olney Transit Center",
		},
		["Penllyn"] = septa,
		["Penn Medicine"] = "[[Penn Medicine Station]]",
		["Penn Medicine Station"] = "[[Penn Medicine Station]]",
		["Prospect Park"] = septa,
		["Radnor"] = septarr,
		["Reading Terminal"] = "%1",
		["Rosemont"] = septa,
		["Roslyn"] = septa,
		["Sedgwick"] = septa,
		["Sharon Hill"] = septarr,
		["Southampton"] = pa,
		["Suburban"] = "[[Suburban Station]]",
		["Suburban Station"] = "[[Suburban Station]]",
		["Terminal A"] = "Airport Terminal stations (SEPTA)#Airport Terminal A",
		["Terminal B"] = "Airport Terminal stations (SEPTA)#Airport Terminal B",
		["Terminals C & D"] = "Airport Terminal stations (SEPTA)#Airport Terminals C & D",
		["Terminals E & F"] = "Airport Terminal stations (SEPTA)#Airport Terminals E & F",
		["Thorndale"] = septa,
		["Trenton"] = "Trenton Transit Center",
		["Villanova"] = septarr,
		["Wallingford"] = septa,
		["Walnut Hill"] = septa,
		["Warminster"] = septa,
		["Wawa"] = "[[Wawa Station]]",
		["Wawa Station"] = "[[Wawa Station]]",
		["West Chester"] = "West Chester station (West Chester Railroad)",
		["Westmoreland"] = septa,
		["Wilmington"] = "Wilmington station (Delaware)",

		-- For former services in station infoboxes
		["Chinatown"] = septa,
		["Fairmount"] = septa,
		["Spring Garden"] = "Spring Garden station (Broad–Ridge Spur)",
	},
	["lines"] = {
		-- Current Regional Rail
		["Airport"] = {
			["title"] = "[[Airport Line (SEPTA)|Airport Line]]",
			["color"] = "4C748C",
			["left terminus"] = "Airport",
			["right terminus"] = "Glenside",
			["icon"] = "[[File:SEPTA Regional AIR.svg|24px|link=Airport Line (SEPTA)]]",
		},
		["Chestnut Hill East"] = {
			["title"] = "[[Chestnut Hill East Line]]",
			["color"] = "4C748C",
			["left terminus"] = "Chestnut Hill East",
			["right terminus"] = "30th Street",
			["icon"] = "[[File:SEPTA Regional CHE.svg|24px|link=Chestnut Hill East Line]]",
		},
		["Chestnut Hill West"] = {
			["title"] = "[[Chestnut Hill West Line]]",
			["color"] = "4C748C",
			["left terminus"] = "Chestnut Hill West",
			["right terminus"] = "Temple University",
			["icon"] = "[[File:SEPTA Regional CHW.svg|24px|link=Chestnut Hill West Line]]",
		},
		["Cynwyd"] = {
			["title"] = "[[Cynwyd Line]]",
			["color"] = "4C748C",
			["left terminus"] = "Cynwyd",
			["right terminus"] = "Suburban Station",
			["icon"] = "[[File:SEPTA Regional CYN.svg|24px|link=Cynwyd Line]]",
		},
		["Fox Chase"] = {
			["title"] = "[[Fox Chase Line]]",
			["color"] = "4C748C",
			["left terminus"] = "Penn Medicine",
			["right terminus"] = "Fox Chase",
			["icon"] = "[[File:SEPTA Regional FOX.svg|24px|link=Fox Chase Line]]",
		},
		["Glenside"] = {
			["title"] = "[[SEPTA Main Line|Glenside Combined]]",
			["color"] = "4C748C",
			["icon"] = "[[File:Glenside Combined (SEPTA).svg|24px|link=SEPTA Main Line]]",
		},
		["Lansdale/Doylestown"] = {
			["title"] = "[[Lansdale/Doylestown Line|Lansdale/​Doylestown Line]]",
			["color"] = "4C748C",
			["left terminus"] = "Penn Medicine",
			["right terminus"] = "Doylestown",
			["icon"] = "[[File:SEPTA Regional LAN.svg|24px|link=Lansdale/Doylestown Line]]",
		},
		["Manayunk/Norristown"] = {
			["title"] = "[[Manayunk/Norristown Line|Manayunk/​Norristown Line]]",
			["color"] = "4C748C",
			["left terminus"] = "Elm Street",
			["right terminus"] = "Penn Medicine",
			["icon"] = "[[File:SEPTA Regional NOR.svg|24px|link=Manayunk/Norristown Line]]",
		},
		["Media/Wawa"] = {
			["title"] = "[[Media/Wawa Line]]",
			["color"] = "4C748C",
			["left terminus"] = "Wawa",
			["right terminus"] = "Temple University",
			["icon"] = "[[File:SEPTA Regional MED.svg|24px|link=Media/Wawa Line]]",
		},
		["Paoli/Thorndale"] = {
			["title"] = "[[Paoli/Thorndale Line|Paoli/​Thorndale Line]]",
			["color"] = "4C748C",
			["left terminus"] = "Thorndale",
			["right terminus"] = "Temple University",
			["icon"] = "[[File:SEPTA Regional PAO.svg|24px|link=Paoli/Thorndale Line]]",
		},
		["Regional Rail"] = {
			["title"] = "SEPTA Regional Rail",
			["color"] = "4C748C",	
		},
		["Trenton"] = {
			["title"] = "[[Trenton Line]]",
			["color"] = "4C748C",
			["left terminus"] = "Temple University",
			["right terminus"] = "Trenton",
			["icon"] = "[[File:SEPTA Regional TRE.svg|24px|link=Trenton Line]]",
		},
		["Warminster"] = {
			["title"] = "[[Warminster Line]]",
			["color"] = "4C748C",
			["left terminus"] = "Penn Medicine",
			["right terminus"] = "Warminster",
			["icon"] = "[[File:SEPTA Regional WAR.svg|24px|link=Warminster Line]]",
		},
		["West Trenton"] = {
			["title"] = "[[West Trenton Line]]",
			["color"] = "4C748C",
			["text color"] = "FFFFFF",
			["left terminus"] = "Penn Medicine",
			["right terminus"] = "West Trenton",
			["icon"] = "[[File:SEPTA Regional WTR.svg|24px|link=West Trenton Line]]",
		},
		["Wilmington/Newark"] = {
			["title"] = "[[Wilmington/Newark Line|Wilmington/​Newark Line]]",
			["color"] = "4C748C",
			["left terminus"] = "Newark",
			["right terminus"] = "Temple University",
			["icon"] = "[[File:SEPTA Regional WIL.svg|24px|link=Wilmington/Newark Line]]",
		},

		-- Former Regional Rail
		["Bethlehem"] = {
			["title"] = "[[Bethlehem Line]]",
			["color"] = "0255a1",
			["left terminus"] = "Reading Terminal",
			["right terminus"] = "Allentown",
		},
		["Chestnut Hill East Reading"] = {
			["title"] = "[[Chestnut Hill East Line]]",
			["color"] = "98783b",
			["left terminus"] = "Reading Terminal",
			["right terminus"] = "Chestnut Hill East",
		},
		["Chestnut Hill West pre-2025"] = {
			["title"] = "[[Chestnut Hill West Line]]",
			["color"] = "00bbb3",
			["left terminus"] = "Chestnut Hill West",
			["right terminus"] = "Temple University",
		},
		["Cynwyd pre-2025"] = {
			["title"] = "[[Cynwyd Line]]",
			["color"] = "775ca7",
			["left terminus"] = "Cynwyd",
			["right terminus"] = "Suburban Station",
		},
		["Fox Chase pre-2025"] = {
			["title"] = "[[Fox Chase Line]]",
			["color"] = "ff8942",
			["left terminus"] = "30th Street",
			["right terminus"] = "Fox Chase",
		},
		["Ivy Ridge"] = {
			["title"] = "[[Cynwyd Line|Ivy Ridge Line]]",
			["color"] = "049471",
			["left terminus"] = "Ivy Ridge",
			["right terminus"] = "Suburban Station",
		},
		["Lansdale/Doylestown Reading"] = {
			["title"] = "[[Lansdale/Doylestown Line|Lansdale/​Doylestown Line]]",
			["color"] = "7c5e4a",
			["left terminus"] = "Reading Terminal",
			["right terminus"] = "Doylestown",
		},
		["Norristown Reading"] = {
			["title"] = "[[Manayunk/Norristown Line|Manayunk/​Norristown Line]]",
			["color"] = "ee5067",
			["left terminus"] = "Reading Terminal",
			["right terminus"] = "Elm Street",
		},

		["Media/Elwyn pre-2025"] = {
			["title"] = "[[Media/Elwyn Line]]",
			["color"] = "0081c5",
			["left terminus"] = "Elwyn",
			["right terminus"] = "Temple University",
		},
		
		["Newtown"] = {
			["title"] = "[[Fox Chase Line|Newtown Line]]",
			["color"] = "cf731e",
			["left terminus"] = "Reading Terminal",
			["right terminus"] = "Newtown",
		},

		["Paoli/Thorndale pre-2025"] = {
			["title"] = "[[Paoli/Thorndale Line|Paoli/​Thorndale Line]]",
			["color"] = "238359",
			["left terminus"] = "Thorndale",
			["right terminus"] = "Temple University",
		},
		
		["Parkesburg"] = {
			["title"] = "[[Paoli/Thorndale Line|Parkesburg Line]]",
			["color"] = "0255a1",
			["left terminus"] = "Parkesburg",
			["right terminus"] = "Suburban Station",
		},
		["Pottsville"] = {
			["title"] = "[[Pottsville Line]]",
			["color"] = "049471",
			["left terminus"] = "Pottsville",
			["right terminus"] = "Reading Terminal",
		},
		["Warminster Reading"] = {
			["title"] = "[[Warminster Line]]",
			["color"] = "ffd457",
			["left terminus"] = "Reading Terminal",
			["right terminus"] = "Warminster",
		},
		["West Chester"] = {
			["title"] = "[[Media/Wawa Line|West Chester Line]]",
			["color"] = "f9812a",
			["left terminus"] = "West Chester",
			["right terminus"] = "Suburban Station",
		},
		["West Trenton/Newark"] = {
			["title"] = "[[West Trenton Line]]",
			["color"] = "f9812a",
			["left terminus"] = "Reading Terminal",
			["right terminus"] = "Newark Penn Station",
		},
		["R1 Airport"] = {
			["title"] = "R1 Airport",
			["color"] = "f9ef02",	
		},
		["R2 Warminster"] = {
			["title"] = "R2 Warminster",
			["color"] = "a80058",	
		},
		["R2 Wilmington/Newark"] = {
			["title"] = "R2 Wilmington/Newark",
			["color"] = "a80058",	
		},
		["R3 Media/Elwyn"] = {
			["title"] = "R3 Media/Elwyn",
			["color"] = "f9812a",	
		},
		["R3 West Trenton"] = {
			["title"] = "R3 West Trenton",
			["color"] = "f9812a",	
		},
		["R5 Lansdale/Doylestown"] = {
			["title"] = "R5 Lansdale/Doylestown",
			["color"] = "0255a1",	
		},
		["R5 Paoli/Thorndale"] = {
			["title"] = "R5 Paoli/Thorndale",
			["color"] = "0255a1",	
		},
		["R6 Cynwyd"] = {
			["title"] = "R6 Cynwyd",
			["color"] = "049471",	
		},
		["R6 Norristown"] = {
			["title"] = "R6 Norristown",
			["color"] = "049471",	
		},
		["R7 Chestnut Hill East"] = {
			["title"] = "R7 Chestnut Hill East",
			["color"] = "e63641",	
		},
		["R7 Trenton"] = {
			["title"] = "R7 Trenton",
			["color"] = "e63641",	
		},
		["R8 Chestnut Hill West"] = {
			["title"] = "R8 Chestnut Hill West",
			["color"] = "cf731e",	
		},
		["R8 Fox Chase"] = {
			["title"] = "R8 Fox Chase",
			["color"] = "cf731e",	
		},
		-- Former subway
		["Broad Ridge"] = {
			["title"] = "[[Broad Street Line#Broad–Ridge Spur|Broad–Ridge Spur]]",
			["color"] = "ff8f1c",
			["left terminus"] = "8th & Market",
			["right terminus"] = {"Olney", "Fern Rock"},
		},
		["Bus"] = {
			["title"] = "[[SEPTA City Transit Division surface routes]]",
			["color"] = "41525b",
		},
		["Route 6"] = {
			["title"] = "[[SEPTA Route 6|Route 6 Trolley]]",
			["color"] = "5d9731",
		},
		["Route 6 Bus"] = {
			["title"] = "[[SEPTA Route 6|Route 6]]",
			["color"] = "41525b",
		},
		["Route 15 Bus"] = {
			["title"] = "[[SEPTA Route 15|Route 15]]",
			["color"] = "41525b",
			["left terminus"] = "Front Street",
			["right terminus"] = "Richmond & Westmoreland",
				},
		["Route 23"] = {
			["title"] = "[[SEPTA Route 23|Route 23 Trolley]]",
			["color"] = "5d9731",
		},
		["Route 23 Bus"] = {
			["title"] = "[[SEPTA Route 23|Route 23]]",
			["color"] = "41525b",
		},
		["Route 50"] = {
			["title"] = "[[SEPTA Route 50|Route 50 Trolley]]",
			["color"] = "5d9731",
		},
		["Route 50 Bus"] = {
			["title"] = "[[SEPTA Route 50|Route 50]]",
			["color"] = "41525b",
		},
		["Route 53"] = {
			["title"] = "[[SEPTA Route 53|Route 53 Trolley]]",
			["color"] = "5d9731",
		},
		["Route 53 Bus"] = {
			["title"] = "[[SEPTA Route 53|Route 53]]",
			["color"] = "41525b",
		},
		["Route 56"] = {
			["title"] = "[[SEPTA Route 56|Route 56 Trolley]]",
			["color"] = "5d9731",
		},
		["Route 56 Bus"] = {
			["title"] = "[[SEPTA Route 56|Route 56]]",
			["color"] = "41525b",
		},
		["Route 60"] = {
			["title"] = "[[SEPTA Route 60|Route 60 Trolley]]",
			["color"] = "5d9731",
		},
		["Route 60 Bus"] = {
			["title"] = "[[SEPTA Route 60|Route 60]]",
			["color"] = "41525b",
		},
	},
	["aliases"] = {
		["6"] = "Route 6",
		["23"] = "Route 23",
		["50"] = "Route 50",
		["53"] = "Route 53",
		["56"] = "Route 56",
		["60"] = "Route 60",
		["air"] = "Airport",
		["che"] = "Chestnut Hill East",
		["chw"] = "Chestnut Hill West",
		["city bus"] = "bus",
		["cyn"] = "Cynwyd",
		["doy"] = "Lansdale/Doylestown",
		["doylestown"] = "Lansdale/Doylestown",
		["elw"] = "Media/Wawa",
		["elwyn"] = "Media/Wawa",
		["fox"] = "Fox Chase",
		["gln"] = "Glenside",
		["lan"] = "Lansdale/Doylestown",
		["main"] = "Glenside",
		["main line"] = "Glenside",
		["med"] = "Media/Wawa",
		["media"] = "Media/Wawa",
		["media/elwyn"] = "Media/Wawa",
		["newark"] = "Wilmington/Newark",
		["nor"] = "Manayunk/Norristown",
		["norristown"] = "Manayunk/Norristown",
		["nwk"] = "Wilmington/Newark",
		["pao"] = "Paoli/Thorndale",
		["paoli"] = " Paoli/Thorndale",
		["tho"] = " Paoli/Thorndale",
		["thorndale"] = " Paoli/Thorndale",
		["tre"] = "Trenton",
		["war"] = "Warminster",
		["wil"] = "Wilmington/Newark",
		["wilmington"] = "Wilmington/Newark",
		["wtn"] = "West Trenton/Newark",
		["wtr"] = "West Trenton",
	},
}

return p