Module:Adjacent stations/SEPTA

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",

["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"] = "Philadelphia International Airport stations",

["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"] = "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",

["Jefferson Station"] = "Jefferson Station",

["Lansdowne"] = septa,

["Lansdowne Avenue"] = "Lansdowne Avenue",

["Locksley"] = pa,

["Main Street"] = "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,

["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"] = "Philadelphia International Airport stations#Airport Terminal A",

["Terminal B"] = "Philadelphia International Airport stations#Airport Terminal B",

["Terminals C & D"] = "Philadelphia International Airport stations#Airport Terminals C & D",

["Terminals E & F"] = "Philadelphia International Airport stations#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",

["color"] = "4C748C",

["left terminus"] = "Airport",

["right terminus"] = "Glenside",

["icon"] = "File:Airport Line (SEPTA).svg",

},

["Chestnut Hill East"] = {

["title"] = "Chestnut Hill East Line",

["color"] = "4C748C",

["left terminus"] = "Chestnut Hill East",

["right terminus"] = "30th Street",

["icon"] = "File:Chestnut Hill East Line.svg",

},

["Chestnut Hill West"] = {

["title"] = "Chestnut Hill West Line",

["color"] = "4C748C",

["left terminus"] = "Chestnut Hill West",

["right terminus"] = "Temple University",

["icon"] = "File:Chestnut Hill West Line.svg",

},

["Cynwyd"] = {

["title"] = "Cynwyd Line",

["color"] = "4C748C",

["left terminus"] = "Cynwyd",

["right terminus"] = "Suburban Station",

["icon"] = "File:Cynwyd Line.svg",

},

["Fox Chase"] = {

["title"] = "Fox Chase Line",

["color"] = "4C748C",

["left terminus"] = "Penn Medicine",

["right terminus"] = "Fox Chase",

["icon"] = "File:Fox Chase Line.svg",

},

["Glenside"] = {

["title"] = "Glenside Combined",

["color"] = "4C748C",

["icon"] = "File:Glenside Combined (SEPTA).svg",

},

["Lansdale/Doylestown"] = {

["title"] = "Lansdale/​Doylestown Line",

["color"] = "4C748C",

["left terminus"] = "Penn Medicine",

["right terminus"] = "Doylestown",

["icon"] = "File:Lansdale Doylestown Line.svg",

},

["Manayunk/Norristown"] = {

["title"] = "Manayunk/​Norristown Line",

["color"] = "4C748C",

["left terminus"] = "Elm Street",

["right terminus"] = "Penn Medicine",

["icon"] = "File:Manayunk Norristown Line.svg",

},

["Media/Wawa"] = {

["title"] = "Media/Wawa Line",

["color"] = "4C748C",

["left terminus"] = "Wawa",

["right terminus"] = "Temple University",

["icon"] = "File:Media Wawa Line.svg",

},

["Paoli/Thorndale"] = {

["title"] = "Paoli/​Thorndale Line",

["color"] = "4C748C",

["left terminus"] = "Thorndale",

["right terminus"] = "Temple University",

["icon"] = "File:Paoli Thorndale Line.svg",

},

["Regional Rail"] = {

["title"] = "SEPTA Regional Rail",

["color"] = "4C748C",

},

["Trenton"] = {

["title"] = "Trenton Line",

["color"] = "4C748C",

["left terminus"] = "Temple University",

["right terminus"] = "Trenton",

["icon"] = "File:Trenton Line (SEPTA).svg",

},

["Warminster"] = {

["title"] = "Warminster Line",

["color"] = "4C748C",

["left terminus"] = "Penn Medicine",

["right terminus"] = "Warminster",

["icon"] = "File:Warminster Line.svg",

},

["West Trenton"] = {

["title"] = "West Trenton Line",

["color"] = "4C748C",

["text color"] = "FFFFFF",

["left terminus"] = "Penn Medicine",

["right terminus"] = "West Trenton",

["icon"] = "File:West Trenton Line (SEPTA).svg",

},

["Wilmington/Newark"] = {

["title"] = "Wilmington/​Newark Line",

["color"] = "4C748C",

["left terminus"] = "Newark",

["right terminus"] = "Temple University",

["icon"] = "File:Wilmington Newark Line.svg",

},

-- Former Regional Rail

["Bethlehem"] = {

["title"] = "Bethlehem Line",

["color"] = "0255a1",

["left terminus"] = "Reading Terminal",

["right terminus"] = "Allentown",

},

["Ivy Ridge"] = {

["title"] = "Ivy Ridge Line",

["color"] = "049471",

["left terminus"] = "Ivy Ridge",

["right terminus"] = "Suburban Station",

},

["Newtown"] = {

["title"] = "Newtown Line",

["color"] = "cf731e",

["left terminus"] = "Reading Terminal",

["right terminus"] = "Newtown",

},

["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",

},

["West Chester"] = {

["title"] = "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–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"] = "Route 6 Trolley",

["color"] = "5d9731",

},

["Route 6 Bus"] = {

["title"] = "Route 6",

["color"] = "41525b",

},

["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 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",

},

},

["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