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 T.C." local wcrr = "%1 station (West Chester Railroad)"

local p = { ["lang"] = "en-US", ["system title"] = "SEPTA", ["system icon"] = "", ["name format"] = { "font-size: 120%;", ["SEPTA Broad Street"] = "font-family:Helvetica;background-color:#ff8f1c;text-align:center;font-size:160%;color:white;padding:4px;line-height:95%;", ["SEPTA Former"] = "font-size: 200%; font-family:Arial, 'Liberation Sans', Arial, sans; font-weight: bolder; line-height: 150%; color:black;background-color:#DCDCDC;", ["SEPTA Market-Frankford"] = "font-family:Helvetica;background-color:#007dc3;text-align:center;font-size:160%;color:white;padding:4px;line-height:95%;", ["SEPTA Market-Frankford and Trolley"] = "font-family:Helvetica; background-image: linear-gradient(to right, #007dc3, #007dc3, #5d9731, #5d9731);text-align:center;font-size:160%;color:white;padding:4px;line-height:95%;", ["SEPTA Market-Frankford and PATCO"] = "font-family:Helvetica; background-image: linear-gradient(to right, #007dc3, #007dc3, #ef3e42, #ef3e42);text-align:center;font-size:160%;color:white;padding:4px;line-height:95%;", ["SEPTA Market-Frankford Broad Street and PATCO"] = "font-family:Helvetica; background-image: linear-gradient(to right, #007dc3, #ff8f1c, #ff8f1c, #ef3e42);text-align:center;font-size:160%;color:white;padding:4px;line-height:95%;", ["SEPTA Market-Frankford NHSL and Trolley"] = "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 NHSL"] = "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 Trolley"] = "font-family:Helvetica;background-color:#5d9731;text-align:center;font-size:160%;color:white;padding:4px;line-height:95%;", ["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);", ["SEPTA Regional Rail and Broad Street"] = "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 Regional Rail and NHSL"] = "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 Suburban Trolley"] = "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", ["2nd Street"] = septa, ["2nd & Girard"] = "SEPTA Route 15", ["5th Street"] = "5th Street/Independence Hall", ["5th Street / Independence Hall"] = "5th Street station (SEPTA)", ["8th Street"] = phil, ["8th & Market"] = "8th Street station (Philadelphia)", ["9th Street"] = septa, ["11th Street"] = septa, ["13th Street"] = septa, ["13th & Market"] = "13th Street", ["15th Street"] = septa, ["19th Street"] = septa, ["22nd Street"] = septa, ["30th Street"] = { "30th Street Station", ["subway"] = "30th Street", },		["30th Street subway"] = "30th Street", ["33rd Street"] = septa, ["34th Street"] = { mf, ["Route 15"] = route15, },		["36th Street Portal"] = raw, ["36th Street"] = septa, ["36th & Market"] = "36th & Market", ["37th Street"] = septa, ["40th Street"] = { mf, ["Route 15"] = route15, },		["40th Street Portal"] = raw, ["41st & Lancaster"] = "41st & Lancaster", ["42nd & Baltimore"] = "42nd & Baltimore", ["42nd & Chester"] = "42nd & Chester", ["42nd & Woodland"] = "42nd & Woodland", ["46th Street"] = septa, ["49th Street"] = septarr, ["52nd Street"] = { septarr, ["Market-Frankford"] = mf, },		["60th Street"] = septa, ["61st Street"] = "61st & Baltimore", ["63rd Street"] = { mf, ["Route 15"] = route15, },		["63rd & Girard"] = "SEPTA Route 15", ["63rd & Malvern"] = "63rd & Malvern", ["69th Street"] = tc, ["AT&T"] = "AT&T Station", ["Airport"] = "Philadelphia International Airport stations", ["Allegheny"] = { septarr, ["Broad Street"] = bsl, ["Market-Frankford"] = mf, },		["Allentown"] = lvrr, ["Ardmore"] = pa, ["Arrott"] = tc, ["Auburn"] = septa, ["Bala"] = septa, ["Barmouth"] = septa, ["Berwyn"] = septa, ["Bethlehem"] = "Bethlehem Union Station", ["Bridgeport"] = septa, ["Bristol"] = septa, ["Bryn Mawr"] = { nhsl, ["Paoli/Thorndale"] = septarr, },		["Cheltenham"] = septa, ["Chester"] = tc, ["Chinatown"] = septa, ["Church"] = phil, ["City Hall"] = septa, ["Clifton-Aldan"] = { septarr, ["Route 102"] = "Clifton–Aldan station#Trolley", },		["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", ["Elm Street"] = "Norristown–Elm Street", ["Erie"] = septa, ["Exton"] = pa, ["Fairmount"] = septa, ["Fern Rock"] = { tc, ["Broad Street"] = "Fern Rock T.C." },		["Frankford & Delaware"] = "Frankford and Delaware Avenue station", ["Franklin Street"] = pa, ["Forest Hills"] = septa, ["Fortuna"] = septa, ["Frankford"] = tc, ["Germantown"] = septa, ["Girard"] = { ["Broad Street"] = bsl, ["Broad Ridge"] = bsl, ["Market-Frankford"] = mf, },		["Gladstone"] = septa, ["Hatfield"] = pa, ["Haverford"] = { nhsl, ["Paoli/Thorndale"] = septarr, },		["Highland Avenue"] = septa, ["Highland"] = septa, ["Holland"] = septa, ["Huntingdon"] = septa, ["Jefferson"] = "Jefferson Station (SEPTA)", ["Lansdowne"] = septa, ["Lansdowne Avenue"] = "Lansdowne Avenue station (SEPTA Routes 101 and 102)", ["Locksley"] = pa, ["Main Street"] = "Norristown–Main Street", ["Malvern"] = septa, ["Meadowbrook"] = septa, ["Media"] = septa, ["Melrose Park"] = septa, ["Narberth"] = septa, ["Newark"] = de, ["Newark Penn Station"] = "Pennsylvania Station (Newark)", ["Newtown"] = septa, ["Norristown"] = "Norristown T.C.", ["North Philadelphia"] = { "%1 station", ["Broad Street"] = bsl, ["Broad Ridge"] = bsl, },		["Olney"] = { septarr, ["Broad Ridge"] = tc, ["Broad Street"] = tc, },		["Orange Street"] = "Media–Orange Street", ["Penfield"] = septa, ["Penllyn"] = septa, ["Prospect Park"] = septa, ["Providence Road"] = { ["Route 101"] = route101, ["Route 102"] = route102, },		["Radnor"] = { nhsl, ["Paoli/Thorndale"] = septarr, },		["Reading Terminal"] = raw, ["Richmond & Frankford"] = "SEPTA Route 15", ["Rosemont"] = septa, ["Roslyn"] = septa, ["Sedgwick"] = septa, ["Sharon Hill"] = { route102, ["Wilmington/Newark"] = septarr, },		["Somerset"] = septa, ["Southampton"] = pa, ["Spring Garden"] = { ["Broad Street"] = bsl, ["Broad Ridge"] = "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"] = wcrr, ["Westmoreland"] = septa, ["Wilmington"] = de, ["Wyoming"] = septa, },	["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"] = { ["title"] = "", ["left terminus"] = "Walnut–Locust", ["note-mid"] = " Express", },				["Broad-Ridge Spur"] = { ["title"] = "", ["left terminus"] = "8th & Market", ["note-mid"] = "Ridge Spur", },				["Special"] = { ["title"] = "", ["note-mid"] = " Special", },			},		},		["Broad Ridge"] = { ["title"] = "Broad–Ridge Spur", ["color"] = "ff8f1c", ["left terminus"] = "8th & Market", ["right terminus"] = {"Olney", "Fern Rock"}, },		["Bus"] = { ["title"] = "SEPTA City Transit Division surface routes", ["color"] = "41525b", },		["Chestnut Hill East"] = { ["title"] = "Chestnut Hill East Line", ["color"] = "98783b", ["left terminus"] = "Chestnut Hill East", ["right terminus"] = "30th Street", },		["Chestnut Hill West"] = { ["title"] = "Chestnut Hill West Line", ["color"] = "00bbb3", ["left terminus"] = "Chestnut Hill West", ["right terminus"] = "Temple University", },		["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", },		["Glenside"] = { ["title"] = "Glenside", ["color"] = "9e9ed4", },		["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"] = "Elm Street", ["right terminus"] = "Penn Medicine", },		["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"] = "Norristown", ["right terminus"] = "69th Street", },		["Paoli/Thorndale"] = { ["title"] = "Paoli/&#8203;Thorndale Line", ["color"] = "238359", ["left terminus"] = "Thorndale", ["right terminus"] = "Temple University", },		["Parkesburg"] = { ["title"] = "Parkesburg Line", ["color"] = "0255a1", ["left terminus"] = "Parkesburg", ["right terminus"] = "Suburban Station", },		["Pottsville"] = { ["title"] = "Pottsville Line", ["color"] = "049471", ["left terminus"] = "Pottsville", ["right terminus"] = "Reading Terminal", },		["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", },		["Regional Rail"] = { ["title"] = "SEPTA Regional Rail", ["color"] = "45647b", },		["Route 6"] = { ["title"] = "Route 6 Trolley", ["color"] = "5d9731", },		["Route 6 Bus"] = { ["title"] = "Route 6", ["color"] = "41525b", },		["Route 10"] = { ["title"] = "Route 10", ["color"] = "5d9731", ["left terminus"] = "63rd & Malvern", ["right terminus"] = "13th Street", },		["Route 11"] = { ["title"] = "Route 11", ["color"] = "5d9731", ["left terminus"] = "Darby", ["right terminus"] = "13th Street", },		["Route 13"] = { ["title"] = "Route 13", ["color"] = "5d9731", ["left terminus"] = {"Yeadon Loop", "Darby"}, ["right terminus"] = "13th Street", },		["Route 15"] = { ["title"] = "Route 15", ["color"] = "5d9731", ["left terminus"] = "63rd & Girard", ["right terminus"] = "Frankford & Delaware", },		["Route 15 Bus"] = { ["title"] = "Route 15", ["color"] = "41525b", ["left terminus"] = "Front Street", ["right terminus"] = "Richmond & Westmoreland", },		["Route 23"] = { ["title"] = "Route 23 Trolley", ["color"] = "5d9731", },		["Route 23 Bus"] = { ["title"] = "Route 23", ["color"] = "41525b", },		["Route 34"] = { ["title"] = "Route 34", ["color"] = "5d9731", ["left terminus"] = "61st & Baltimore", ["right terminus"] = "13th Street", },		["Route 36"] = { ["title"] = "Route 36", ["color"] = "5d9731", ["left terminus"] = "80th Street–Eastwick", ["right terminus"] = "13th Street", },		["Route 50"] = { ["title"] = "Route 50 Trolley", ["color"] = "5d9731", },		["Route 50 Bus"] = { ["title"] = "Route 50", ["color"] = "41525b", },		["Route 53"] = { ["title"] = "Route 53 Trolley", ["color"] = "5d9731", },		["Route 53 Bus"] = { ["title"] = "Route 53", ["color"] = "41525b", },		["Route 56"] = { ["title"] = "Route 56 Trolley", ["color"] = "5d9731", },		["Route 56 Bus"] = { ["title"] = "Route 56", ["color"] = "41525b", },		["Route 60"] = { ["title"] = "Route 60 Trolley", ["color"] = "5d9731", },		["Route 60 Bus"] = { ["title"] = "Route 60", ["color"] = "41525b", },		["Route 101"] = { ["title"] = "Route 101", ["color"] = "5d9731", ["left terminus"] = "Orange Street", ["right terminus"] = "69th Street", },		["Route 102"] = { ["title"] = "Route 102", ["color"] = "5d9731", ["left terminus"] = "Sharon Hill", ["right terminus"] = "69th 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"] = "Temple University", ["right terminus"] = "Trenton", },		["Warminster"] = { ["title"] = "Warminster Line", ["color"] = "ffd457", ["left terminus"] = "Penn Medicine", ["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", ["color"] = "233e99", ["left terminus"] = "Penn Medicine", ["right terminus"] = "West Trenton", },		["West Trenton/Newark"] = { ["title"] = "West Trenton Line", ["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"] = { ["6"] = "Route 6", ["10"] = "Route 10", ["11"] = "Route 11", ["13"] = "Route 13", ["15"] = "Route 15", ["23"] = "Route 23", ["34"] = "Route 34", ["36"] = "Route 36", ["50"] = "Route 50", ["53"] = "Route 53", ["56"] = "Route 56", ["60"] = "Route 60", ["101"] = "Route 101", ["102"] = "Route 102", ["air"] = "Airport", ["bsl"] = "Broad Street", ["broad"] = "Broad Street", ["che"] = "Chestnut Hill East", ["chw"] = "Chestnut Hill West", ["city bus"] = "bus", ["cyn"] = "Cynwyd", ["doy"] = "Lansdale/Doylestown", ["doylestown"] = "Lansdale/Doylestown", ["elw"] = "Media/Elwyn", ["elwyn"] = "Media/Elwyn", ["fox"] = "Fox Chase", ["gln"] = "Glenside", ["main"] = "Glenside", ["main line"] = "Glenside", ["market–frankford"] = "Market-Frankford", ["media"] = "Media/Elwyn", ["mfl"] = "Market-Frankford", ["newark"] = "Wilmington/Newark", ["nhsl"] = "Norristown High Speed Line", ["nor"] = "Manayunk/Norristown", ["norristown"] = "Manayunk/Norristown", ["nwk"] = "Wilmington/Newark", ["paoli"] = " Paoli/Thorndale", ["ridge spur"] = "Broad Street", ["route 100"] = "Norristown High Speed Line", ["subway-surface lines"] = "Subway-Surface", ["subway–surface lines"] = "Subway-Surface", ["tho"] = " Paoli/Thorndale", ["thorndale"] = " Paoli/Thorndale", ["tre"] = "Trenton", ["war"] = "Warminster", ["wilmington"] = "Wilmington/Newark", ["wtn"] = "West Trenton/Newark", ["wtr"] = "West Trenton", }, }

return p