Module:Adjacent stations/Pennsylvania Railroad

local amtrak = "%1 station (Amtrak)" local de = "%1 station (Delaware)" local il = "%1 station (Illinois)" local ind = "%1 station (Indiana)" local marc = "%1 station (MARC)" local md = "%1 station (Maryland)" local nj = "%1 station (New Jersey)" local njt = "%1 station (NJ Transit)" local ny = "%1 station (New York)" local oh = "%1 station (Ohio)" local pa = "%1 station (Pennsylvania)" local prr = "%1 station (Pennsylvania Railroad)" local septa = "%1 station (SEPTA)" local septarr = "%1 station (SEPTA Regional Rail)" local tc = "%1 Transportation Center" local union = "%1 Union Station" local wcrr = "%1 station (West Chester Railroad)"

local p = { ["lang"] = "en-US", ["system title"] = "Pennsylvania Railroad", ["system icon"] = "", ["system color"] = "#d10000", ["name format"] = "background-color: #B52424; text-transform: uppercase; font-family: Copperplate, Copperplate Gothic Light, serif; color: gold; border: .18em solid gold; font-size: 190%; font-weight: bolder; padding: .36em; border-radius: 0.5em;", ["station format"] = { "%1 station", ["Fifth Avenue"] = prr, ["28th Street"] = prr, ["34th Street"] = prr, ["40th Street"] = prr, ["49th Street"] = septarr, ["52nd Street"] = septarr, ["Aberdeen"] = md, ["Albion"] = prr, ["Alpha"] = prr, ["Altoona"] = tc, ["Ambridge"] = pa, ["Anderson"] = prr, ["Aqueduct"] = prr, ["Arbutus"] = prr, ["Ardmore"] = pa, ["Ashtabula"] = prr, ["Atwood"] = prr, ["Austin"] = prr, ["Baden"] = prr, ["Bala"] = septa, ["Baldwin"] = prr, ["Baltimore"] = "Baltimore Penn Station", ["Barmouth"] = septa, ["Bay View"] = prr, ["Bellwood"] = pa, ["Berlin"] = prr, ["Berwyn"] = septa, ["Birmingham"] = pa, ["Bolivar"] = prr, ["Bowie"] = "Bowie Railroad Buildings", ["Bridgeport"] = prr, ["Bristol"] = septa, ["Broad Street"] = "Broad Street Station (Philadelphia)", ["Broadway"] = prr, ["Brownsville"] = prr, ["Bryn Mawr"] = septarr, ["Buffalo"] = "Buffalo Central Terminal", ["Calvert Street"] = "Calvert Street Station", ["Cambridge"] = md, ["Camden"] = prr, ["Canton"] = oh, ["Carnegie"] = prr, ["Cape May"] = prr, ["Centerville"] = prr, ["Chester"] = tc, ["Chestnut Hill"] = "Chestnut Hill West station", ["Chicago"] = union, ["Cincinnati"] = "Cincinnati Union Terminal", ["Clarendon"] = prr, ["Clarke"] = prr, ["Clayton"] = de, ["Clearfield"] = prr, ["Cleveland"] = "Cleveland Union Depot", ["Clifton"] = "Clifton–Aldan station", ["Columbia City"] = prr, ["Columbus"] = "Union Station (Columbus, Ohio)", ["Conshohocken"] = prr, ["Cortlandt Street"] = "Cortlandt Street", ["Croydon"] = septa, ["Cumberland"] = prr, ["Cynwyd"] = septa, ["Darlington"] = septa, ["Dauphin"] = prr, ["Davis"] = prr, ["Dayton"] = prr, ["Detroit"] = "Fort Street Union Depot", ["Delmar"] = prr, ["Dover"] = prr, ["Dunkirk"] = prr, ["Eaton"] = prr, ["Edgewood"] = { marc, ["Main Line Local"] = pa, },		["Elizabeth"] = njt, ["Elmira"] = prr, ["Englewood"] = "Englewood station (Chicago)", ["Erie"] = "Union Station (Erie, Pennsylvania)", ["Euclid Avenue"] = prr, ["Exchange Place"] = prr, ["Exton"] = pa, ["Farmdale"] = il, ["Federal Street"] = prr, ["Fernwood"] = "Fernwood–Yeadon station", ["Flemington"] = prr, ["Florin"] = pa, ["Fourth Avenue"] = prr, ["Frankford"] = prr, ["Frederick"] = prr, ["Gap"] = prr, ["Garfield"] = oh, ["Gardner"] = prr, ["Gary"] = prr, ["Girard"] = prr, ["Gladstone"] = septa, ["Glendale"] = prr, ["Graham"] = prr, ["Granville"] = prr, ["Hagerstown"] = prr, ["Hamlet"] = prr, ["Harrington"] = prr, ["Harrisburg"] = tc, ["Harrison"] = prr, ["Haverford"] = septarr, ["Highland Avenue"] = septa, ["Highland"] = { septa, ["Main Line"] = prr, },		["Hillside"] = pa, ["Hobart"] = ind, ["Homewood"] = prr, ["Houston"] = prr, ["Huntingdon"] = amtrak, ["Indianapolis"] = "Indianapolis Union Station", ["Inwood"] = prr, ["Irwin"] = pa, ["Jericho Park"] = "Bowie State station", ["Journal Square"] = tc, ["Kenton"] = de, ["Lafayette"] = prr, ["Lancaster"] = pa, ["Landover"] = "Landover station#PRR", ["Lansdowne"] = septa, ["Laurel"] = de, ["Lawrence"] = prr, ["Lebanon"] = { ind, ["Lebanon Branch"] = prr, },		["Lima"] = prr, ["Linden"] = njt, ["Liverpool"] = prr, ["Locksley"] = pa, ["Louisville"] = "Union Station (Louisville)", ["Louisville, Ohio"] = "Louisville", ["Malvern"] = septa, ["Manayunk"] = "Manayunk West station", ["Mansfield"] = prr, ["Marion"] = prr, ["Marysville"] = prr, ["Mayville"] = ny, ["Maywood"] = prr, ["Media"] = septa, ["Menlo Park"] = nj, ["Mesta"] = prr, ["Mexico"] = prr, ["Middletown"] = pa, ["Milford"] = de, ["Moline"] = prr, ["Monocacy"] = pa, ["Monroe"] = prr, ["Mont Clare"] = prr, ["Mount Joy"] = pa, ["Narberth"] = septa, ["New Brighton"] = pa, ["New York"] = "Pennsylvania Station (1910–1963)", ["Newark, Delaware"] = "Newark", ["Newark, New Jersey"] = "Newark", ["Newport"] = { de, ["Main Line"] = pa, },		["Niles"] = prr, ["Oak Grove"] = prr, ["Oxford"] = md, ["Patapsco"] = prr, ["Penn"] = pa, ["Petersburg"] = prr, ["Petoskey"] = prr, ["Philadelphia"] = "30th Street Station", ["Phoenixville"] = prr, ["Pittsburgh"] = "Union Station (Pittsburgh)", ["Plymouth"] = prr, ["Portage"] = pa, ["Pottsville"] = prr, ["Portland"] = prr, ["Princeton"] = njt, ["Prospect Park"] = septa, ["Radnor"] = septarr, ["Richmond"] = "Richmond Railroad Station Historic District", ["Riverview"] = prr, ["Rochester"] = pa, ["Rockdale"] = prr, ["Rockville"] = prr, ["Rosemont"] = septa, ["Salem"] = oh, ["Sandusky"] = prr, ["Seaford"] = de, ["Sebring"] = oh, ["Sharon Hill"] = septarr, ["Shawmont"] = prr, ["Shrewsbury"] = prr, ["Snow Hill"] = prr, ["South Bend"] = prr, ["South Street"] = prr, ["Southport"] = prr, ["St. Louis"] = "Union Station (St. Louis)", ["Stelton"] = "Edison station", ["Stockton"] = nj, ["Suburban Station"] = "Suburban Station", ["Summit"] = prr, ["Summit Avenue"] = "Journal Square Transportation Center", ["Thorndale"] = prr, ["Tipton"] = pa, ["Toledo"] = "Summit Street Station", ["Trenton"] = "Trenton Transit Center", ["Upland"] = prr, ["Upton"] = prr, ["Villanova"] = septarr, ["Vincennes"] = ind, ["Vineyard"] = prr, ["Wallingford"] = septa, ["Warren"] = prr, ["Warren Street"] = prr, ["Warsaw"] = ind, ["Washington, D.C."] = "Washington Union Station", ["Washington, Pennsylvania"] = "Washington", ["Wayland"] = prr, ["West Chester"] = wcrr, ["Westmoreland"] = septa, ["Wheeler"] = ind, ["Wheeling"] = prr, ["Whiting"] = prr, ["Wilmington"] = de, ["Winchester"] = prr, ["Woodbridge"] = njt, ["Woodbine"] = prr, ["Woodland"] = prr, ["Woodland Avenue"] = prr, ["Woodside"] = prr, ["Worthington"] = prr, ["Wyoming"] = de, },	["lines"] = { ["_default"] = { ["color"] = "d10000", },		["Alliance-Mahoningtown"] = { ["title"] = "Alliance – Mahoningtown", ["left terminus"] = "Alliance", ["right terminus"] = "Mahoningtown", },		["Ashtabula-Pittsburgh"] = { ["title"] = "Ashtabula – Pittsburgh", ["left terminus"] = "Ashtabula", ["right terminus"] = "Pittsburgh", },		["Baltimore, Chesapeake and Atlantic Railway"] = { ["title"] = "Baltimore, Chesapeake and Atlantic Railway", ["left terminus"] = "Claiborne", ["right terminus"] = "Ocean City", },		["Belvidere Branch"] = { ["title"] = "Belvidere Delaware Railroad", ["left terminus"] = "Manunka Chunk", ["right terminus"] = "Trenton", },		["Bonhampton Branch"] = { ["title"] = "Bonhampton Branch", ["left terminus"] = "Metuchen", ["right terminus"] = "Bonhampton", },		["Buffalo-Emporium"] = { ["title"] = "Buffalo – Emporium", ["left terminus"] = "Buffalo", ["right terminus"] = "Emporium", },		["Buffalo-Oil City"] = { ["title"] = "Buffalo – Oil City", ["left terminus"] = "Buffalo", ["right terminus"] = "Oil City", },		["Bustleton Branch"] = { ["title"] = "Bustleton Branch", ["left terminus"] = "Holmesburg Junction", ["right terminus"] = "Bustleton", },		["Cambridge Branch"] = { ["title"] = "Cambridge Branch", ["left terminus"] = "Cambridge", ["right terminus"] = "Seaford", },		["Cape May Division"] = { ["title"] = "Cape May Division", ["left terminus"] = "Camden", ["right terminus"] = "Cape May", },		["Chartiers Branch"] = { ["title"] = "Chartiers Branch", ["left terminus"] = "Washington, Pennsylvania", ["right terminus"] = "Pittsburgh", },		["Chester Creek Branch"] = { ["title"] = "Chester Creek Branch", ["left terminus"] = "Lenni", ["right terminus"] = "Lamokin Street", },		["Chestertown Branch"] = { ["title"] = "Chestertown Branch", ["left terminus"] = "Chestertown", ["right terminus"] = "Townsend", },		["Chestnut Hill Line"] = { ["title"] = "Chestnut Hill Line", ["left terminus"] = "Chestnut Hill", ["right terminus"] = "Suburban Station", },		["Chicago-Cincinnati"] = { ["title"] = "Chicago – Cincinnati", ["left terminus"] = "Chicago", ["right terminus"] = "Cincinnati", },		["Chicago-Columbus"] = { ["title"] = "Chicago – Columbus", ["left terminus"] = "Chicago", ["right terminus"] = "Columbus", },		["Chicago-Louisville"] = { ["title"] = "Chicago – Louisville", ["left terminus"] = "Chicago", ["right terminus"] = "Louisville", },		["Cincinnati-Columbus"] = { ["title"] = "Cincinnati – Columbus", ["left terminus"] = "Cincinnati", ["right terminus"] = "Columbus", },		["Cincinnati-Cleveland"] = { ["title"] = "Cincinnati – Cleveland", ["left terminus"] = "Cincinnati", ["right terminus"] = "Cleveland", },		["Clearfield Branch"] = { ["title"] = "Clearfield Branch", ["left terminus"] = "Tyrone", ["right terminus"] = "Gramplan", },		["Columbus-Cleveland"] = { ["title"] = "Columbus – Cleveland", ["left terminus"] = "Columbus", ["right terminus"] = "Cleveland", },		["Cleveland-Pittsburgh via Alliance"] = { ["title"] = "Cleveland – Pittsburgh via Alliance", ["left terminus"] = "Cleveland", ["right terminus"] = "Pittsburgh", },		["Cleveland-Pittsburgh via Youngstown"] = { ["title"] = "Cleveland – Pittsburgh via Youngstown", ["left terminus"] = "Cleveland", ["right terminus"] = "Pittsburgh", },		["Delmarva Division"] = { ["title"] = "Delmarva Division", ["left terminus"] = "Cape Charles", ["right terminus"] = "Wilmington", },		["Enon-Pittsburgh"] = { ["title"] = "Enon – Pittsburgh", ["left terminus"] = "Enon", ["right terminus"] = "Pittsburgh", },		["Erie-Harrisburg"] = { ["title"] = "Erie – Harrisburg", ["left terminus"] = "Erie", ["right terminus"] = "Harrisburg", },		["Erie-Pittsburgh"] = { ["title"] = "Erie – Pittsburgh", ["left terminus"] = "Erie", ["right terminus"] = "Pittsburgh", },		["Flemington Branch"] = { ["title"] = "Flemington Branch", ["left terminus"] = "Lambertville", ["right terminus"] = "Flemington", },		["Fort Washington Branch"] = { ["title"] = "Fort Washington Branch", ["left terminus"] = "White Marsh", ["right terminus"] = "Suburban Station", },		["Frazer-West Chester"] = { ["title"] = "Frazer – West Chester", ["left terminus"] = "Frazer", ["right terminus"] = "West Chester", },		["Frederick-Lancaster"] = { ["title"] = "Frederick – Lancaster", ["left terminus"] = "Frederick", ["right terminus"] = "Lancaster", },		["Harbor Springs Branch"] = { ["title"] = "Harbor Springs Branch", ["left terminus"] = "Harbor Springs", ["right terminus"] = "Petoskey", },		["Harrington-Franklin City"] = { ["title"] = "Harrington – Franklin City", ["left terminus"] = "Harrington", ["right terminus"] = "Franklin City", },		["Harrisburg-Baltimore"] = { ["title"] = "Northern Central Railway Baltimore Division", ["left terminus"] = "Harrisburg", ["right terminus"] = "Calvert Street", },		["Hempfield Branch"] = { ["title"] = "Hempfield Branch", ["left terminus"] = "Greensburg", ["right terminus"] = "Gratztown", },		["Hempstead Branch"] = { ["title"] = "Cincinnati, Lebanon and Northern Railway", ["left terminus"] = "Cincinnati", ["right terminus"] = "Lebanon", },		["Jamesburg Branch"] = { ["title"] = "Jamesburg Branch", ["left terminus"] = "Monmouth Junction", ["right terminus"] = "Jamesburg Junction", },		["Jersey City Ferry"] = { ["title"] = "Jersey City Ferry", ["left terminus"] = "Exchange Place", ["right terminus"] = "Cortlandt Street", },		["Kittanning Local"] = { ["title"] = "Kittanning Local", ["left terminus"] = "Pittsburgh", ["right terminus"] = "Kittanning", },		["Lebanon Branch"] = { ["title"] = "Lebanon Branch", ["left terminus"] = "Conewago", ["right terminus"] = "Lebanon", },		["Mackinaw City-Richmond"] = { ["title"] = "Grand Rapids & Indiana Railway", ["left terminus"] = "Mackinaw City", ["right terminus"] = "Richmond", },		["Main Line"] = { ["title"] = "Main Line", ["left terminus"] = "Chicago", ["right terminus"] = {"New York", "Exchange Place"}, },		["Main Line Local"] = { ["title"] = "Pitcairn Local", ["left terminus"] = "Pittsburgh", ["right terminus"] = "North Trafford", },		["Millstone Branch"] = { ["title"] = "Millstone Branch", ["left terminus"] = "East Millstone", ["right terminus"] = "New Brunswick", },		["Monongahela Division"] = { ["title"] = "Monongahela Division", ["left terminus"] = "Brownsville", ["right terminus"] = "Pittsburgh", },		["New Brunswick Line"] = { ["title"] = "New Brunswick Line", ["left terminus"] = "New Brunswick", ["right terminus"] = {"New York", "Exchange Place"}, },		["Norristown Line"] = { ["title"] = "Norristown Line", ["left terminus"] = "Norristown–Haws Avenue", ["right terminus"] = "Suburban Station", },		["Octoraro Branch"] = { ["title"] = "Octoraro Branch", ["left terminus"] = "Octoraro", ["right terminus"] = "Wawa", },		["Oil City-Olean"] = { ["title"] = "Oil City – Olean", ["left terminus"] = "Oil City", ["right terminus"] = "Olean", },		["Oxford Branch"] = { ["title"] = "Oxford Branch", ["left terminus"] = "Oxford", ["right terminus"] = "Clayton", },		["Paoli Line"] = { ["title"] = "Paoli Line", ["left terminus"] = "Paoli", ["right terminus"] = "Suburban Station", },		["Parkesburg Line"] = { ["title"] = "Parkesburg Line", ["left terminus"] = "Parkesburg", ["right terminus"] = "Suburban Station", },		["Pemberton Branch"] = { ["title"] = "Camden and Burlington County Railway Pemberton Branch", ["left terminus"] = "Birmingham", ["right terminus"] = "Rahway", },		["Perth Amboy and Woodbridge Branch"] = { ["title"] = "Perth Amboy and Woodbridge Branch", ["left terminus"] = "Perth Amboy", ["right terminus"] = "Rahway", },		["Philadelphia and Long Branch Railroad"] = { ["title"] = "Philadelphia and Long Branch Railroad", ["left terminus"] = "Camden", ["right terminus"] = "Bay Head", },		["Pittsburgh-Oil City"] = { ["title"] = "Pittsburgh – Oil City", ["left terminus"] = "Pittsburgh", ["right terminus"] = "Oil City", },		["Pittsburgh-Torrance"] = { ["title"] = "Pittsburgh – Torrance", ["left terminus"] = "Pittsburgh", ["right terminus"] = "Torrance", },		["Princeton Branch"] = { ["title"] = "Princeton Branch", ["left terminus"] = "Princeton", ["right terminus"] = "Princeton Junction", },	   ["Rocky Hill Branch"] = { ["title"] = "Rocky Hill Branch", ["left terminus"] = "Rocky Hill", ["right terminus"] = "Monmouth Junction", },		["Sandusky Branch"] = { ["title"] = "Sandusky Branch", ["left terminus"] = "Columbus", ["right terminus"] = "Sandusky", },		["Schuylkill Branch"] = { ["title"] = "Schuylkill Branch", ["left terminus"] = "Pottsville", ["right terminus"] = "Suburban Station", },		["Smyrna Branch"] = { ["title"] = "Smyrna Branch", ["left terminus"] = "Clayton", ["right terminus"] = "Smyrna", },		["South Bend-Indianapolis"] = { ["title"] = "South Bend – Indianapolis", ["left terminus"] = "South Bend", ["right terminus"] = "Indianapolis", },		["St. Louis-Columbus"] = { ["title"] = "St. Louis – Columbus", ["left terminus"] = "St. Louis", ["right terminus"] = "Columbus", },		["St. Louis-Pittsburgh"] = { ["title"] = "St. Louis – Pittsburgh", ["left terminus"] = "St. Louis", ["right terminus"] = "Pittsburgh", },		["Terre Haute-Peoria"] = { ["title"] = "Terre Haute – Peoria", ["left terminus"] = "Terre Haute", ["right terminus"] = "Peoria", },		["Toledo Division"] = { ["title"] = "Toledo Division", ["left terminus"] = "Detroit", ["right terminus"] = "Mansfield", },		["Trenton Line"] = { ["title"] = "Trenton Line", ["left terminus"] = "Suburban Station", ["right terminus"] = "Trenton", },		["Tyrone-Lock Haven"] = { ["title"] = "Tyrone – Lock Haven", ["left terminus"] = "Tyrone", ["right terminus"] = "Lock Haven", },		["Valparaiso Local"] = { ["title"] = "Valparaiso Local", ["left terminus"] = "Chicago", ["right terminus"] = "Valparaiso", },		["Vincennes-Indianapolis"] = { ["title"] = "Vincennes – Indianapolis", ["left terminus"] = "Vincennes", ["right terminus"] = "Indianapolis", },		["Washington-Philadelphia"] = { ["title"] = "Philadelphia, Wilmington and Baltimore Railroad", ["left terminus"] = "Washington, D.C.", ["right terminus"] = "Philadelphia", },		["West Chester Line"] = { ["title"] = "West Chester Line", ["left terminus"] = "West Chester", ["right terminus"] = "Suburban Station", },		["Wheeling-Pittsburgh"] = { ["title"] = "Wheeling – Pittsburgh", ["left terminus"] = "Wheeling", ["right terminus"] = "Pittsburgh", },		["Williamsport Division"] = { ["title"] = "Northern Central Railway Susquehanna & Elmira Division", ["left terminus"] = "Canandelaigua", ["right terminus"] = "Harrisburg", },		["Wilmington Line"] = { ["title"] = "Wilmington Line", ["left terminus"] = "Wilmington", ["right terminus"] = "Suburban Station", },		["Winchester-Harrisburg"] = { ["title"] = "Winchester – Harrisburg", ["left terminus"] = "Winchester", ["right terminus"] = "Harrisburg", },	},	["aliases"] = { ["main"] = "Main Line", }, }

return p