Module:Adjacent stations/Pennsylvania Railroad

Documentation for this module may be created at Module:Adjacent stations/Pennsylvania Railroad/doc

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"] = "d30303",
	["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,
                ["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"] = prr,
		["Berlin"] = prr,
		["Berwyn"] = septa,
		["Birmingham"] = prr,
		["Bowie"] = "Bowie Railroad Buildings",
		["Bridgeport"] = prr,
		["Bristol"] = septa,
		["Broad Street"] = "Broad Street Station (Philadelphia)",
		["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,
		["Cleveland"] = "Cleveland Union Depot",
		["Clifton"] = "Clifton–Aldan station",
		["Columbus"] = "Union Station (Columbus, Ohio)",
		["Conshohocken"] = prr,
		["Cortlandt Street"] = "[[Cortlandt Street Ferry Depot|Cortlandt Street]]",
		["Croydon"] = septa,
		["Cumberland"] = prr,
		["Cynwyd"] = septa,
		["Darlington"] = septa,
		["Dauphin"] = 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",
		["Florin"] = pa,
		["Fourth Avenue"] = prr,
		["Frankford"] = prr,
		["Frederick"] = prr,
		["Gary"] = prr,
		["Girard"] = prr,
		["Gladstone"] = septa,
		["Glendale"] = prr,
		["Granville"] = prr,
		["Hagerstown"] = prr,
		["Harrington"] = prr,
		["Harrisburg"] = tc,
		["Harrison"] = prr,
		["Haverford"] = septarr,
		["Highland Avenue"] = septa,
		["Highland"] = septa,
		["Hobart"] = ind,
		["Homewood"] = prr,
		["Houston"] = prr,
		["Huntingdon"] = amtrak,
		["Indianapolis"] = "Indianapolis Union Station",
		["Jericho Park"] = "Bowie State station",
		["Journal Square"] = tc,
		["Kenton"] = de,
		["Lafayette"] = prr,
		["Lancaster"] = pa,
		["Landover"] = prr,
		["Lansdowne"] = septa,
		["Laurel"] = de,
		["Lebanon"] = {
			ind,
			["Lebanon Branch"] = prr,
		},
		["Lima"] = prr,
		["Linden"] = njt,
		["Liverpool"] = prr,
		["Locksley"] = pa,
		["Louisville"] = "Union Station (Louisville)",
		["Louisville, Ohio"] = "[[Louisville station (Ohio)|Louisville]]",
		["Malvern"] = septa,
		["Manayunk"] = "Manayunk West station",
		["Marion"] = prr,
		["Mayville"] = ny,
		["Maywood"] = prr,
		["Media"] = septa,
		["Menlo Park"] = nj,
		["Mesta"] = prr,
		["Middletown"] = pa,
		["Milford"] = de,
		["Moline"] = prr,
		["Monocacy"] = pa,
		["Monroe"] = prr,
		["Mont Clare"] = prr,
		["Mount Joy"] = pa,
		["Narberth"] = septa,
		["New York"] = "Pennsylvania Station (1910–1963)",
		["Newark, Delaware"] = "[[Newark station (Delaware)|Newark]]",
		["Newark, New Jersey"] = "[[Newark Penn Station|Newark]]",
		["Newport"] = "Newport Railroad Station",
		["Niles"] = prr,
		["Oak Grove"] = prr,
		["Oxford"] = md,
                ["Patapsco"] = prr,
        ["Petoskey"] = prr,
		["Philadelphia"] = "30th Street Station",
		["Phoenixville"] = prr,
		["Pittsburgh"] = "Union Station (Pittsburgh)",
		["Pottsville"] = prr,
		["Portland"] = prr,
		["Princeton"] = njt,
		["Prospect Park"] = septa,
		["Radnor"] = septarr,
		["Richmond"] = "Richmond Railroad Station Historic District",
		["Rockdale"] = prr,
		["Rosemont"] = septa,
		["Salem"] = prr,
		["Sandusky"] = prr,
		["Seaford"] = de,
		["Sebring"] = prr,
		["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",
		["Suburban Station"] = "Suburban Station",
		["Summit Avenue"] = "Journal Square Transportation Center",
		["Thorndale"] = prr,
		["Tipton"] = prr,
		["Toledo"] = "Summit Street Station",
		["Trenton"] = "Trenton Transit Center",
		["Upland"] = prr,
		["Upton"] = prr,
		["Villanova"] = septarr,
		["Vincennes"] = ind,
		["Wallingford"] = septa,
		["Warren"] = prr,
		["Warren Street"] = prr,
		["Warsaw"] = ind,
		["Washington, D.C."] = "Washington Union Station",
		["Washington, Pennsylvania"] = "[[Pennsylvania Railroad Freight Station (Washington, Pennsylvania)|Washington]]",
		["Wayland"] = prr,
		["West Chester"] = wcrr,
		["Westmoreland"] = septa,
		["Wheeler"] = ind,
		["Wheeling"] = prr,
		["Wilmington"] = de,
		["Winchester"] = prr,
		["Woodbridge"] = njt,
		["Woodbine"] = prr,
		["Woodland Avenue"] = prr,
		["Woodside"] = prr,
		["Worthington"] = prr,
		["Wyoming"] = de,
	},
	["lines"] = {
		["_default"] = {
			["color"] = "d30303",
		},
		["Ashtabula-Pittsburgh"] = {
			["title"] = "[[Ashtabula, Ohio|Ashtabula]] – [[Pittsburgh, Pennsylvania|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, New York|Buffalo]] – [[Emporium, Pennsylvania|Emporium]]",
			["left terminus"] = "Buffalo",
			["right terminus"] = "Emporium",			
		},
		["Buffalo-Oil City"] = {
			["title"] = "[[Buffalo, New York|Buffalo]] – [[Oil City, Pennsylvania|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 West Line|Chestnut Hill Line]]",
			["left terminus"] = "Chestnut Hill",
			["right terminus"] = "Suburban Station",			
		},
		["Chicago-Cincinnati"] = {
			["title"] = "[[Chicago]] – [[Cincinnati, Ohio|Cincinnati]]",
			["left terminus"] = "Chicago",
			["right terminus"] = "Cincinnati",
		},
		["Chicago-Columbus"] = {
			["title"] = "[[Main Line (Columbus to Chicago)|Chicago – Columbus]]",
			["left terminus"] = "Chicago",
			["right terminus"] = "Columbus",
		},
		["Chicago-Louisville"] = {
			["title"] = "[[Chicago]] – [[Louisville, Kentucky|Louisville]]",
			["left terminus"] = "Chicago",
			["right terminus"] = "Louisville",
		},
		["Cincinnati-Columbus"] = {
			["title"] = "[[Cincinnati, Ohio|Cincinnati]] – [[Columbus, Ohio|Columbus]]",
			["left terminus"] = "Cincinnati",
			["right terminus"] = "Columbus",
		},
		["Clearfield Branch"] = {
			["title"] = "Clearfield Branch",
			["left terminus"] = "Tyrone",
			["right terminus"] = "Gramplan",
		},
		["Cleveland-Pittsburgh"] = {
			["title"] = "[[Cleveland, Ohio|Cleveland]] – [[Pittsburgh, Pennsylvania|Pittsburgh]]",
			["left terminus"] = "Cleveland",
			["right terminus"] = "Pittsburgh",
		},
		["Columbus-Cleveland"] = {
			["title"] = "[[Columbus, Ohio|Columbus]] – [[Cleveland, Ohio|Cleveland]]",
			["left terminus"] = "Columbus",
			["right terminus"] = "Cleveland",
		},
		["Columbus-Pittsburgh"] = {
			["title"] = "[[Columbus, Ohio|Columbus]] – [[Pittsburgh, Pennsylvania|Pittsburgh]]",
			["left terminus"] = "Columbus",
			["right terminus"] = "Pittsburgh",
		},
		["Delmarva Division"] = {
			["title"] = "Delmarva Division",
			["left terminus"] = "Cape Charles",
			["right terminus"] = "Wilmington",			
		},
		["Enon-Pittsburgh"] = {
			["title"] = "[[Enon, Pennsylvania|Enon]] – [[Pittsburgh, Pennsylvania|Pittsburgh]]",
			["left terminus"] = "Enon",
			["right terminus"] = "Pittsburgh",
		},
		["Erie-Harrisburg"] = {
			["title"] = "[[Erie, Pennsylvania|Erie]] – [[Harrisburg, Pennsylvania|Harrisburg]]",
			["left terminus"] = "Erie",
			["right terminus"] = "Harrisburg",
		},
		["Erie-Pittsburgh"] = {
			["title"] = "[[Erie, Pennsylvania|Erie]] – [[Pittsburgh, Pennsylvania|Pittsburgh]]",
			["left terminus"] = "Erie",
			["right terminus"] = "Pittsburgh",
		},
		["Fort Washington Branch"] = {
			["title"] = "[[Cresheim Creek#Creshiem Branch (Fort Washington Branch) of the Connecting Railway|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, Maryland|Frederick]] – [[Lancaster, Pennsylvania|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, Delaware|Harrington]] – [[Franklin City, Virginia|Franklin City]]",
			["left terminus"] = "Harrington",
			["right terminus"] = "Franklin City",			
		},
		["Harrisburg-Baltimore"] = {
			["title"] = "[[Northern Central Railway]]<br/>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",
		},
		["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"] = "[[Mount Gretna Narrow Gauge Railway#Cornwall and Lebanon Railroad|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 (Pennsylvania Railroad)|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 and New Brunswick Railroad|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"] = "[[Cynwyd Line|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, Pennsylvania|Oil City]]&nbsp;– [[Olean, New York|Olean]]",
			["left terminus"] = "Oil City",
			["right terminus"] = "Olean",
		},
		["Oxford Branch"] = {
			["title"] = "[[Oxford Branch (Pennsylvania Railroad)|Oxford Branch]]",
			["left terminus"] = "Oxford",
			["right terminus"] = "Clayton",
		},
		["Paoli Line"] = {
			["title"] = "[[Paoli/Thorndale Line|Paoli Line]]",
			["left terminus"] = "Paoli",
			["right terminus"] = "Suburban Station",
		},
		["Parkesburg Line"] = {
			["title"] = "[[Paoli/Thorndale Line|Parkesburg Line]]",
			["left terminus"] = "Parkesburg",
			["right terminus"] = "Suburban Station",
		},
		["Pemberton Branch"] = {
			["title"] = "[[Camden and Burlington County Railway]]<br/>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, Pennsylvania|Pittsburgh]]&nbsp;– [[Oil City, Pennsylvania|Oil City]]",
			["left terminus"] = "Pittsburgh",
			["right terminus"] = "Oil City",
		},
		["Pittsburgh-Torrance"] = {
			["title"] = "[[Pittsburgh, Pennsylvania|Pittsburgh]]&nbsp;– [[Torrance, Pennsylvania|Torrance]]",
			["left terminus"] = "Pittsburgh",
			["right terminus"] = "Torrance",
		},
		["Princeton Branch"] = {
			["title"] = "[[Princeton Branch]]",
			["left terminus"] = "Princeton",
			["right terminus"] = "Princeton Junction",
		},
		["Sandusky Branch"] = {
			["title"] = "[[Sandusky District|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, Indiana|South Bend]]&nbsp;– [[Indianapolis]]",
			["left terminus"] = "South Bend",
			["right terminus"] = "Indianapolis",			
		},
		["St. Louis-Columbus"] = {
			["title"] = "[[St. Louis]]&nbsp;– [[Columbus, Ohio|Columbus]]",
			["left terminus"] = "St. Louis",
			["right terminus"] = "Columbus",
		},
		["Terre Haute-Peoria"] = {
			["title"] = "[[Terre Haute, Indiana|Terre Haute]]&nbsp;– [[Peoria, Illinois|Peoria]]",
			["left terminus"] = "Terre Haute",
			["right terminus"] = "Peoria",
		},
		["Toledo-Pittsburgh"] = {
			["title"] = "[[Detroit]]&nbsp;– [[Pittsburgh, Pennsylvania|Pittsburgh]]",
			["left terminus"] = "Detroit",
			["right terminus"] = "Pittsburgh",
		},
		["Trenton Line"] = {
			["title"] = "[[Trenton Line (SEPTA)|Trenton Line]]",
			["left terminus"] = "Suburban Station",
			["right terminus"] = "Trenton",			
		},
		["Tyrone-Lock Haven"] = {
			["title"] = "[[Tyrone, Pennsylvania|Tyrone]]&nbsp;– [[Lock Haven, Pennsylvania|Lock Haven]]",
			["left terminus"] = "Tyrone",
			["right terminus"] = "Lock Haven",
		},
		["Valparaiso Local"] = {
			["title"] = "[[Calumet (train)|Valparaiso Local]]",
			["left terminus"] = "Chicago",
			["right terminus"] = "Valparaiso",			
		},
		["Vincennes-Indianapolis"] = {
			["title"] = "[[Vincennes, Indiana|Vincennes]]&nbsp;– [[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, West Virginia|Wheeling]]&nbsp;– [[Pittsburgh, Pennsylvania|Pittsburgh]]",
			["left terminus"] = "Wheeling",
			["right terminus"] = "Pittsburgh",
		},
		["Williamsport Division"] = {
			["title"] = "[[Northern Central Railway]]<br/>Susquehanna & Elmira Division",
			["left terminus"] = "Canandelaigua",
			["right terminus"] = "Harrisburg",			
		},
		["Wilmington Line"] = {
			["title"] = "[[Wilmington/Newark Line|Wilmington Line]]",
			["left terminus"] = "Wilmington",
			["right terminus"] = "Suburban Station",			
		},
		["Winchester-Harrisburg"] = {
			["title"] = "[[Winchester, Virginia|Winchester]]&nbsp;– [[Harrisburg, Pennsylvania|Harrisburg]]",
			["left terminus"] = "Winchester",
			["right terminus"] = "Harrisburg",			
		},
	},
	["aliases"] = {
		["main"] = "Main Line",	
	},
}

return p