Module:Adjacent stations/Erie Railroad

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

local erie = "%1 station (Erie Railroad)"
local njt = "%1 station (NJ Transit)"
local nlr = "%1 station (Newark Light Rail)"
local ny = "%1 station (New York)"
local oh = "%1 station (Ohio)"
local cwi = "%1 station (Chicago and Western Indiana Railroad)"

local p = {
	["lang"] = "en-US",
	["system title"] = "[[Erie Railroad]]",
	["system icon"] = "",
	["name format"] = "font-weight: bolder; text-transform:uppercase; background-color:#FFFFFF; border:3px solid #000000; padding:0.5em; font-size: 150%;",
	["station format"] = {
		"%1 station",
		["23rd Street"] = "23rd Street Ferry Terminal",
		["47th Street"] = "47th Street station (Chicago and Western Indiana Railroad)",
		["Allendale"] = njt,
		["Andover"] = erie,
		["Arden"] = erie,
		["Arlington"] = njt,
		["Auburn Park"] = "Auburn Park station (Chicago and Western Indiana Railroad)",
		["Aurora"] = oh,
		["Avon"] = erie,
		["Barberton"] = erie,
		["Bardonia"] = erie,
		["Bloomfield Avenue"] = erie,
		["Bloomfield"] = erie,
		["Broadway"] = njt,
		["Buffalo"] = "Lehigh Valley Terminal",
		["Caledonia"] = erie,
		["Carbondale"] = erie,
		["Cedar Grove"] = erie,
		["Central Avenue"] = erie,
		["Chambers Street"] = "Chambers Street Ferry Terminal",
		["Chester"] = ny,
		["Chicago"] = "Dearborn Station",
		["Cleveland"] = "Tower City Center#Cleveland Union Terminal",
		["Clifton"] = erie,
		["Dayton"] = erie,
		["Depew"] = erie,
		["East 55th"] = erie,
		["Emerson"] = njt,
		["Englewood"] = erie,
		["Englewood (63rd Street)"] = "[[Englewood station (Chicago and Western Indiana Railroad)|Englewood]]",
		["Essex Street"] = njt,
		["Fair Lawn"] = "Broadway station (NJ Transit)",
		["Ferndale"] = erie,
		["Forest Hill"] = erie,
		["Girard"] = erie,
		["Glen Ridge"] = "Benson Street station",
		["Glen Rock"] = "Glen Rock–Main Line station",
		["Glen Rock-Bergen Line"] = "Glen Rock–Boro Hall station",
		["Graham"] = erie,
		["Grove Street"] = nlr,
		["Hackensack"] = "Essex Street station (NJ Transit)",
		["Hammond"] = "Hammond Monon-Erie Station",
		["Harriman"] = erie,
		["Harrison"] = erie,
		["Hawthorne"] = njt,
		["Hillsdale"] = njt,
		["Hudson Avenue"] = erie,
		["Industry"] = "Rochester & Genesee Valley Railroad Museum",
		["Jersey City"] = "Pavonia Terminal",
		["Johnsonburg"] = erie,
		["Lake View"] = erie,
		["Lakewood"] = erie,
		["Lee Road"] = erie,
		["Lodi"] = erie,
		["Main Street"] = erie,
		["Marion"] = "Marion Union Station",
		["Middletown"] = erie,
		["Monroe"] = erie,
		["Montclair"] = "Walnut Street station (NJ Transit)",
		["Mortimer"] = erie,
		["New Milford"] = erie,
		["Niles"] = erie,
		["Overbrook"] = erie,
		["Painted Post"] = erie,
		["Park Ridge"] = njt,
		["Passaic"] = erie,
		["Pershing"] = erie,
		["Prospect Street"] = "Prospect Street station (Passaic, New Jersey)",
		["Port Jervis"] = erie,
		["Ramsey"] = njt,
		["River Street"] = erie,
		["Rochester"] = "Erie Railroad Depot (Rochester, New York)",
		["Southfields"] = erie,
		["South Park"] = erie,
		["Spring Street"] = erie,
		["Spring Valley"] = ny,
		["Union"] = erie,
		["Verona"] = erie,
		["Walnut Street"] = erie,
		["Warren"] = erie,
		["Wayne"] = erie,
		["Westwood"] = njt,
		["Williams Avenue"] = "Teterboro station",
		["Youngstown"] = erie,
	},
	["lines"] = {
		["_default"] = {
			["color"] = "FFFF00",	
		},
		["Allegany Division"] = {
			["title"] = "Allegany Division",
			["left terminus"] = "Dunkirk",
			["right terminus"] = "Salamanca",
		},
		["Attica Branch"] = {
			["title"] = "Attica Branch",
			["left terminus"] = "Attica",
			["right terminus"] = "Avon",
		},
		["Bergen County Railroad"] = {
			["title"] = "[[Bergen County Line|Bergen County Railroad]]",
			["left terminus"] = "Ridgewood",
			["right terminus"] = "Jersey City",
		},
		["Bradford Division"] = {
			["title"] = "Bradford Division",
			["left terminus"] = "Carrollton",
			["right terminus"] = "Johnsonburg",
		},
		["Buffalo Division"] = {
			["title"] = "Buffalo Division",
			["left terminus"] = "Buffalo",
			["right terminus"] = "Hornell",
		},
		["Buffalo and South Western Railroad"] = {
			["title"] = "[[Buffalo and South Western Railroad]]",
			["left terminus"] = "Jamestown",
			["right terminus"] = "Buffalo",			
		},
		["Caldwell Branch"] = {
			["title"] = "Caldwell Branch",
			["left terminus"] = "Essex Fells",
			["right terminus"] = "Great Notch",
		},
		["Cincinnati Division"] = {
			["title"] = "Cincinnati Division",
			["left terminus"] = "Dayton",
			["right terminus"] = "Marion",
		},
		["Cleveland-Youngstown"] = {
			["title"] = "[[Cleveland commuter rail|Cleveland – Youngstown]]",
			["left terminus"] = "Cleveland",
			["right terminus"] = "Youngstown",
		},
		["Jefferson Division"] = {
			["title"] = "Jefferson Division",
			["left terminus"] = "Susquehanna",
			["right terminus"] = "Carbondale",
		},
		["Lodi Branch"] = {
			["title"] = "Lodi Branch",
			["left terminus"] = "Lodi",
			["right terminus"] = "Williams Ave"
		},
		["Mahoning Division"] = {
			["title"] = "Mahoning Division",
			["left terminus"] = "Cleveland",
			["right terminus"] = "Shenango",
		},
		["Main Line"] = {
			["title"] = "Main Line",
			["left terminus"] = "Chicago",
			["right terminus"] = "Jersey City",
		},
		["Main Line local"] = {
			["title"] = "Main Line local stops",
			["left terminus"] = "Ridgewood",
			["right terminus"] = "Jersey City",
		},
		["Middletown and Crawford Branch"] = {
			["title"] = "Middletown and Crawford Branch",
			["left terminus"] = "Pine Bush",
			["right terminus"] = "Middletown",
		},
		["Mount Morris Branch"] = {
			["title"] = "Mount Morris Branch",
			["left terminus"] = "Avon",
			["right terminus"] = "Mount Morris",
		},
		["New York and Greenwood Lake Railway"] = {
			["title"] = "[[New York and Greenwood Lake Railway (1878–1943)|New York and Greenwood Lake Railway]]",
			["left terminus"] = "Sterling Forest",
			["right terminus"] = "Jersey City",
		},
		["New City Branch"] = {
			["title"] = "New City Branch",
			["left terminus"] = "New City",
			["right terminus"] = "Nanuet",
		},
		["New Jersey and New York Railroad"] = {
			["title"] = "[[New Jersey and New York Railroad]]",
			["left terminus"] = "Haverstraw",
			["right terminus"] = "Jersey City",
		},
		["Newark Branch"] = {
			["title"] = "[[Newark Branch]]",
			["left terminus"] = "Paterson",
			["right terminus"] = "Jersey City",
		},
		["Northern Branch"] = {
			["title"] = "[[Northern Branch]]",
			["left terminus"] = "Nyack",
			["right terminus"] = "Jersey City",
		},
		["Orange Branch"] = {
			["title"] = "Orange Branch",
			["left terminus"] = "West Orange",
			["right terminus"] = "Forest Hill",
		},
		["Pavonia Ferry"] = {
			["title"] = "[[Pavonia Ferry]]",
			["left terminus"] = "Jersey City",
			["right terminus"] = "Chambers Street",
		},
		["Piermont Branch"] = {
			["title"] = "[[Piermont Branch]]",
			["left terminus"] = "Suffern",
			["right terminus"] = "Sparkill",
		},
		["Rochester Branch"] = {
			["title"] = "Rochester Branch",
			["left terminus"] = "Rochester",
			["right terminus"] = "Avon",
		},
		["Rochester Division"] = {
			["title"] = "Rochester Division",
			["left terminus"] = "Painted Post",
			["right terminus"] = "Avon",
		},
		["Weehawken Branch"] = {
			["title"] = "Weehawken Branch",
			["left terminus"] = "Weehawken",
			["right terminus"] = "Jersey City",
		},
	},
	["aliases"] = {
		["main"] = "Main Line",
	}
}

return p