Module:Adjacent stations/SEPTA

local bsl = "%1 station (Broad Street Line)" local de = "%1 station (Delaware)" local lvrr = "%1 station (Lehigh Valley Railroad)" local mf = "%1 station (Market–Frankford Line)" local nhsl = "%1 station (Norristown High Speed Line)" local pa = "%1 station (Pennsylvania)" local phil = "%1 station (Philadelphia)" local raw = "%1" local route15 = "%1 station (SEPTA Route 15)" local route101 = "%1 station (SEPTA Route 101)" local route102 = "%1 station (SEPTA Route 102)" local septa = "%1 station (SEPTA)" local septarr = "%1 station (SEPTA Regional Rail)" local tc = "%1 Transportation Center"

local p = { ["lang"] = "en-US", ["system title"] = "SEPTA", ["system icon"] = "", ["name format"] = { "font-size: 120%;", ["SEPTA NHSL"] = "font-family:Helvetica;background-color:#781d7e;text-align:center;font-size:160%;color:white;padding:4px;line-height:95%;", ["SEPTA Trolley"] = "font-family:Helvetica;background-color:#5d9731;text-align:center;font-size:160%;color:white;padding:4px;line-height:95%;", ["SEPTA Regional Rail"] = "background-color:#104E8B;text-align:center;font-size:125%;color:white;padding:4px;line-height:95%;font-weight:bold;", },	["header background color"] = { "efefef", ["SEPTA NHSL"] = "781d7e", ["SEPTA Trolley"] = "5d9731", ["SEPTA Regional Rail"] = "104E8B", },	["station format"] = { "%1 station", ["11th Street"] = mf, ["13th Street"] = { "13th Street–Market", ["Market-Frankford"] = septa, },		["15th Street"] = septa, ["19th Street"] = septa, ["22nd Street"] = septa, ["2nd Street"] = mf, ["30th Street"] = { "30th Street Station", ["Market-Frankford"] = "30th Street station (SEPTA Subway)", ["Subway-Surface"] = "30th Street station (SEPTA Subway)", },		["33rd Street"] = septa, ["34th Street"] = { mf, ["Route 15"] = route15, },		["36th Street Portal"] = raw, ["36th Street"] = septa, ["37th Street"] = septa, ["40th Street"] = { mf, ["Route 15"] = route15, },		["40th Street Portal"] = raw, ["46th Street"] = mf, ["49th Street"] = septarr, ["52nd Street"] = { septarr, ["Market-Frankford"] = mf, },		["56th Street"] = mf, ["5th Street"] = mf, ["60th Street"] = mf, ["61st Street"] = septa, ["63rd Street"] = { mf, ["Route 15"] = route15, },		["69th Street"] = "69th Street Transportation Center", ["8th Street"] = phil, ["8th & Market"] = "8th Street station (Philadelphia)", ["9th Street"] = septa, ["AT&T"] = "AT&T Station", ["Airport"] = "Philadelphia International Airport stations", ["Allegheny"] = { septarr, ["Broad Street"] = bsl, },		["Allentown"] = lvrr, ["Ardmore"] = pa, ["Arrott"] = tc, ["Auburn"] = septa, ["Bala"] = septa, ["Barmouth"] = septa, ["Berwyn"] = septa, ["Bethlehem"] = "Bethlehem Union Station", ["Bridgeport"] = nhsl, ["Bristol"] = septa, ["Bryn Mawr"] = { nhsl, ["Paoli/Thorndale"] = septarr, },		["Cheltenham"] = septa, ["Chester"] = tc, ["Chinatown"] = bsl, ["City Hall"] = bsl, ["Colmar"] = septa, ["County Line"] = { nhsl, ["Newtown"] = septarr, },		["Croydon"] = septa, ["Cynwyd"] = septa, ["Darby"] = { tc, ["Wilmington/Newark"] = "%1 station", },		["Darlington"] = septa, ["Eastwick Loop"] = "80th Street–Eastwick station", ["Erie"] = bsl, ["Exton"] = pa, ["Fairmount"] = bsl, ["Fern Rock"] = tc, ["Forest Hills"] = septa, ["Frankford"] = tc, ["Franklin Street"] = pa, ["Germantown"] = septa, ["Girard"] = { ["Broad Street"] = bsl, ["Market-Frankford"] = mf, },		["Gladstone"] = septa, ["Haverford"] = { nhsl, ["Paoli/Thorndale"] = "%1 station", },		["Highland Avenue"] = septa, ["Highland"] = septa, ["Holland"] = septa, ["Huntingdon"] = mf, ["Jefferson"] = "Jefferson Station (SEPTA)", ["Lansdowne"] = septa, ["Lansdowne Avenue"] = "Lansdowne Avenue station (SEPTA Routes 101 and 102)", ["Locksley"] = pa, ["Main Street"] = septa, ["Malvern"] = septa, ["Meadowbrook"] = septa, ["Media"] = septa, ["Melrose Park "] = septa, ["Narberth"] = septa, ["Newark"] = de, ["Newark Penn Station"] = "Pennsylvania Station (Newark)", ["Newtown"] = septa, ["Norristown"] = tc, ["North Philadelphia"] = { "%1 station", ["Broad Street"] = bsl, },		["Olney"] = { septarr, ["Broad Street"] = tc, },		["Penfield"] = nhsl, ["Penllyn"] = septa, ["Prospect Park "] = septa, ["Providence Road"] = { ["Route 101"] = route101, ["Route 102"] = route102, },		["Radnor"] = { nhsl, ["Paoli/Thorndale"] = septarr, },		["Reading Terminal"] = raw, ["Rosemont"] = septa, ["Roslyn"] = septa, ["Sedgwick"] = septa, ["Sharon Hill"] = { route102, ["Wilmington/Newark"] = septarr, },		["Somerset"] = mf, ["Southampton"] = pa, ["Spring Garden"] = { ["Broad Street"] = { bsl, ["Ridge Spur"] = "Spring Garden station (Broad–Ridge Spur)", },			["Market-Frankford"] = mf, },		["Springfield Road"] = { ["Route 101"] = route101, ["Route 102"] = route102, },		["Suburban Station"] = raw, ["Thorndale"] = septa, ["Trenton"] = "Trenton Transit Center", ["Villanova"] = { nhsl, ["Paoli/Thorndale"] = septarr, },		["Wallingford"] = septa, ["Walnut Hill"] = septa, ["Walnut Street"] = septa, ["Warminster"] = septa, ["West Chester"] = septa, ["Wilmington"] = de, ["Wyoming"] = bsl, },	["lines"] = { ["Airport"] = { ["title"] = "Airport Line", ["color"] = "934e6f", ["left terminus"] = "Airport", ["right terminus"] = "Glenside", },		["Bethlehem"] = { ["title"] = "Bethlehem Line", ["color"] = "0255a1", ["left terminus"] = "Reading Terminal", ["right terminus"] = "Allentown", },		["Broad Street"] = { ["title"] = "Broad Street Line", ["color"] = "ff8f1c", ["left terminus"] = "NRG", ["right terminus"] = "Fern Rock", ["note-mid"] = "Local", ["types"] = { ["Express"] = { ["type"] = "", ["left terminus"] = "Walnut–Locust", ["note-mid"] = "Express", },				["Ridge Spur"] = { ["type"] = "", ["left terminus"] = "8th & Market", ["note-mid"] = "Ridge Spur", },				["Special"] = { ["type"] = "", ["note-mid"] = "Special", },			},		},		["Chestnut Hill East"] = { ["title"] = "Chestnut Hill East Line", ["color"] = "98783b", ["left terminus"] = "30th Street", ["right terminus"] = "Chestnut Hill East", },		["Chestnut Hill West"] = { ["title"] = "Chestnut Hill West Line", ["color"] = "00bbb3", ["left terminus"] = "", ["right terminus"] = "", },		["Cynwyd"] = { ["title"] = "Cynwyd Line", ["color"] = "775ca7", ["left terminus"] = "Cynwyd", ["right terminus"] = "Suburban Station", },		["Fox Chase"] = { ["title"] = "Fox Chase Line", ["color"] = "ff8942", ["left terminus"] = "30th Street", ["right terminus"] = "Fox Chase", },		["Ivy Ridge"] = { ["title"] = "Ivy Ridge Line", ["color"] = "049471", ["left terminus"] = "Ivy Ridge", ["right terminus"] = "Suburban Station", },		["Lansdale/Doylestown"] = { ["title"] = "Lansdale/&#8203;Doylestown Line", ["color"] = "7c5e4a", ["left terminus"] = "30th Street", ["right terminus"] = "Doylestown", },		["Manayunk/Norristown"] = { ["title"] = "Manayunk/&#8203;Norristown Line", ["color"] = "ee5067", ["left terminus"] = "University City", ["right terminus"] = "Elm Street", },		["Market-Frankford"] = { ["title"] = "Market–Frankford Line", ["color"] = "007dc3", ["left terminus"] = "69th Street", ["right terminus"] = "Frankford", },		["Media/Elwyn"] = { ["title"] = "Media/Elwyn Line", ["color"] = "0081c5", ["left terminus"] = "Elwyn", ["right terminus"] = "Temple University", },		["Newtown"] = { ["title"] = "Newtown Line", ["color"] = "cf731e", ["left terminus"] = "Reading Terminal", ["right terminus"] = "Newtown", },		["Norristown High Speed Line"] = { ["title"] = "Norristown High Speed Line", ["color"] = "781d7e", ["left terminus"] = "69th Street", ["right terminus"] = "Norristown", },		["Paoli/Thorndale"] = { ["title"] = "Paoli/&#8203;Thorndale Line", ["color"] = "238359", ["left terminus"] = "Thorndale", ["right terminus"] = "University City", },		["Parkesburg"] = { ["title"] = "Parkesburg Line", ["color"] = "0255a1", ["left terminus"] = "Parkesburg", ["right terminus"] = "Suburban Station", },		["Pottsville"] = { ["title"] = "Norristown Line", ["color"] = "049471", ["left terminus"] = "Reading Terminal", ["right terminus"] = "Pottsville", },		["Route 10"] = { ["title"] = "Route 10 Trolley", ["color"] = "5d9731", ["left terminus"] = "63rd Street and Malvern Avenue", ["right terminus"] = "13th Street", },		["Route 101"] = { ["title"] = "Route 101 Trolley", ["color"] = "5d9731", ["left terminus"] = "Media–Orange Street", ["right terminus"] = "69th Street", },		["Route 102"] = { ["title"] = "Route 102 Trolley", ["color"] = "5d9731", ["left terminus"] = "Sharon Hill", ["right terminus"] = "69th Street", },		["Route 11"] = { ["title"] = "Route 11 Trolley", ["color"] = "5d9731", ["left terminus"] = "Darby", ["right terminus"] = "13th Street", },		["Route 13"] = { ["title"] = "Route 13 Trolley", ["color"] = "5d9731", ["left terminus"] = {"Mount Moriah", "Yeadon Loop", "Darby"}, ["right terminus"] = "13th Street", },		["Route 15"] = { ["title"] = "Route 15 Trolley", ["color"] = "5d9731", ["left terminus"] = "63rd & Girard", ["right terminus"] = "Richmond & Westmoreland", },		["Route 15 Bus"] = { ["title"] = "Route 15", ["color"] = "000000", ["left terminus"] = "Front Street", ["right terminus"] = "Richmond & Westmoreland", },		["Route 34"] = { ["title"] = "Route 34 Trolley", ["color"] = "5d9731", ["left terminus"] = "61st Street", ["right terminus"] = "13th Street", },		["Route 36"] = { ["title"] = "Route 36 Trolley", ["color"] = "5d9731", ["left terminus"] = "80th Street–Eastwick", ["right terminus"] = "13th Street", },		["Subway-Surface"] = { ["title"] = "Subway–surface trolley lines", ["color"] = "5d9731", ["left terminus"] = {"36th Street Portal", "40th Street Portal"}, ["right terminus"] = "13th Street", },		["Trenton"] = { ["title"] = "Trenton Line", ["color"] = "f686c3", ["left terminus"] = "Trenton", ["right terminus"] = "Temple University", },		["Warminster"] = { ["title"] = "Warminster Line", ["color"] = "ffd457", ["left terminus"] = "University City", ["right terminus"] = "Warminster", },		["West Chester"] = { ["title"] = "West Chester Line", ["color"] = "f9812a", ["left terminus"] = "West Chester", ["right terminus"] = "Suburban Station", },		["West Trenton"] = { ["title"] = "West Trenton Line (SEPTA)", ["color"] = "233e99", ["left terminus"] = "University City", ["right terminus"] = "West Trenton", },		["West Trenton/Newark"] = { ["title"] = "|West Trenton/Newark", ["color"] = "f9812a", ["left terminus"] = "Reading Terminal", ["right terminus"] = "Newark Penn Station", },		["Wilmington/Newark"] = { ["title"] = "Wilmington/&#8203;Newark Line", ["color"] = "8ed16a", ["left terminus"] = "Newark", ["right terminus"] = "Temple University", },	},	["aliases"] = { ["10"] = "Route 10", ["11"] = "Route 11", ["13"] = "Route 13", ["15"] = "Route 15", ["34"] = "Route 34", ["36"] = "Route 36", ["101"] = "Route 101", ["102"] = "Route 102", ["ridge spur"] = "Broad Street", ["nhsl"] = "Norristown High Speed Line", ["route 100"] = "Norristown High Speed Line", ["subway-surface lines"] = "Subway-Surface", ["subway–surface lines"] = "Subway-Surface", ["west trenton/newark"] = "West Trenton", }, }

return p