Module:Adjacent stations/New York Central Railroad

local history = "%1 station#History" local il = "%1 station (Illinois)" local ind = "%1 station (Indiana)" local lsms = "%1 station (Lake Shore and Michigan Southern Railway)" local ma = "%1 station (Massachusetts)" local mbta = "%1 station (MBTA)" local mbtahistory = "%1 station (MBTA)#History" local mc = "%1 station (Michigan Central Railroad)" local metra = "%1 station (Metra)" local mi = "%1 station (Michigan)" local mnrr = "%1 station (Metro-North)" local ny = "%1 station (New York)" local nyc = "%1 station (New York Central Railroad)" local oh = "%1 station (Ohio)" local pa = "%1 station (Pennsylvania)" local wv = "%1 station (West Virginia)"

local p = { ["lang"] = "en-US", ["system title"] = "New York Central Railroad", ["system icon"] = "", ["name format"] = "font-family: Arial; background-color: #000000; font-size: 200%; text-transform:uppercase; color: #D4AF37; padding: 0.5em; line-height: 0.5; white-space: nowrap; border: 7px solid #D4AF37; border-top-left-radius: 0.5em; border-top-right-radius: 0.5em; border-bottom-right-radius: 0.5em; border-bottom-left-radius: 0.5em; margin: 0.25em; text-align: center;", ["station format"] = { "%1 station", ["110th Street"] = nyc, ["125th Street"] = "Harlem–125th Street station", ["155th Street"] = "155th Street Terminal", ["138th Street"] = nyc, ["183rd Street"] = nyc, ["22nd Street"] = nyc, ["59th Street"] = nyc, ["63rd Street"] = metra, ["72nd Street"] = nyc, ["86th Street"] = nyc, ["Adams"] = nyc, ["Albany"] = "Union Station (Albany, New York)", ["Albion"] = mi, ["Allston"] = "Boston Landing station#History", ["Amenia"] = ny, ["Amsterdam"] = ny, ["Ann Arbor"] = mc, ["Aqueduct"] = nyc, ["Ashland"] = mbta, ["Auburn"] = nyc, ["Auburndale"] = mbta, ["Back Bay"] = "Trinity Place / Huntington Avenue", ["Batavia"] = nyc, ["Battle Creek"] = mc, ["Bay View"] = ny, ["Beaconsfield"] = mbtahistory, ["Berea"] = "Berea Union Depot", ["Boston"] = "South Station", ["Botanical Garden"] = mnrr, ["Briarcliff Manor"] = "Briarcliff Manor Public Library", ["Bridgewater"] = mi, ["Brighton"] = { ny, ["Boston and Albany Railroad"] = "Boston Landing station#History", },		["Bristol"] = nyc, ["Brookline Hills"] = history, ["Brookline Junction"] = "Lansdowne station (MBTA)#History", ["Brookline"] = "Brookline Village station#History", ["Brown's"] = nyc, ["Brownsville"] = nyc, ["Bryan"] = oh, ["Buffalo"] = "Buffalo Central Terminal", ["Butler"] = nyc, ["Caledonia"] = nyc, ["Charleston"] = nyc, ["Chatham"] = "Union Station (Chatham, New York)", ["Chelsea"] = { ["Main Line"] = ny, ["Michigan Central"] = mi, },		["Chesterton"] = nyc, ["Chestnut Hill"] = mbtahistory, ["Chicago"] = "LaSalle Street Station", ["Chicago-Central"] = "Chicago", ["Chichester"] = ny, ["Cincinnati"] = "Cincinnati Union Terminal", ["Claremont Park"] = nyc, ["Cleveland"] = { "Tower City Center#Cleveland Union Terminal", ["Old Main Line"] = "Cleveland Union Depot", },		["Columbus"] = "Union Station (Columbus, Ohio)", ["Cold Spring"] = mnrr, ["Connellsville"] = "Connellsville Union Passenger Depot", ["Cortlandt Street"] = "Cortlandt Street", ["Croton"] = "Croton–Harmon station", ["Croton-on-Hudson"] = "Croton North station", ["Dalton"] = ma, ["Dayton"] = "Dayton Union Station", ["Danville"] = nyc, ["Dearborn"] = mc, ["Decatur"] = mc, ["Depew"] = nyc, ["Detroit"] = "Michigan Central Station", ["Edgewood"] = ny, ["Eliot"] = history, ["Elyria"] = nyc, ["Englewood"] = "Englewood station (Chicago)", ["Erie"] = "Union Station (Erie, Pennsylvania)", ["Evansville"] = "Louisville and Nashville Railroad Station (Evansville, Indiana)", ["Forest Glen"] = nyc, ["Forsyth"] = ny, ["Fort Wayne"] = nyc, ["Franklin"] = oh, ["Galion"] = "Big Four Depot (Galion, Ohio)", ["Garrison"] = mnrr, ["Gary"] = "Union Station (Gary, Indiana)", ["Geneva"] = nyc, ["Germantown"] = nyc, ["Ghent"] = nyc, ["Glenmont"] = nyc, ["Glenwood"] = mnrr, ["Graham"] = nyc,

["Grand Rapids"] = nyc, ["Grand Rapids MC"] = "Grand Rapids", ["Hammond"] = nyc, ["Harmon"] = "Croton–Harmon station", ["Harvey"] = il, ["Hastings"] = mc, ["Hawthorne"] = mnrr, ["Highbridge"] = "Highbridge Facility", ["Highland"] = nyc, ["Hillsdale"] = nyc, ["Hobart"] = ny, ["Holland"] = nyc, ["Holt"] = mi, ["Hudson"] = ny, ["Hunter"] = nyc, ["Huron"] = nyc, ["Hyde Park"] = nyc, ["Indianapolis"] = "Indianapolis Union Station", ["Irvington"] = mnrr, ["Jackson"] = mi, ["Jefferson"] = nyc, ["Jeffersonville"] = "Spring Street Freight House", ["Joliet"] = mc, ["Kalamazoo"] = "Kalamazoo Transportation Center", ["Kankakee"] = nyc, ["Kensington"] = "Kensington/115th Street station", ["Kingston"] = "Kingston, New York railroad stations", ["Lafayette"] = ind, ["Lansing"] = "Union Depot (Lansing, Michigan)", ["Lapeer"] = nyc, ["Lawrence"] = ind, ["Louisville"] = "Central Station (Louisville)", ["Liverpool"] = nyc, ["Lockport"] = "Union Station (Lockport, New York)", ["Longwood"] = mbtahistory, ["Ludlow"] = mnrr, ["Marion"] = "Marion Union Station", ["Marlborough"] = nyc, ["Marshall"] = mc, ["Martindale"] = nyc, ["Marysville"] = oh, ["Milford"] = ma, ["Millers"] = nyc, ["Millwood"] = nyc, ["Milton"] = ny, ["Moline"] = nyc, ["Montgomery"] = nyc, ["Montreal"] = "Windsor Station (Montreal)", ["Montrose"] = mnrr, ["Mount Pleasant"] = { mnrr, ["Catskill Mountain Branch"] = "Mount Pleasant station (Ulster and Delaware Railroad)", },		["Mount Vernon"] = "Mount Vernon West station", ["Muncie"] = "Muncie Union Station", ["New Durham"] = nyc, ["New Haven"] = ny, ["New York"] = "Grand Central Terminal", ["Newport"] = pa, ["Newton Centre"] = history, ["Newton Highlands"] = history, ["Newton"] = "Newton Corner station", ["Niagara Falls, Ontario"] = nyc, ["Niagara Falls, New York"] = nyc, ["North Grafton"] = "Grafton station (MBTA)#History", ["Nottingham"] = nyc, ["Osceola"] = ind, ["Palmer"] = "Union Station (Palmer, Massachusetts)", ["Parma"] = mc, ["Patterson"] = mnrr, ["Pekin"] = nyc, ["Peoria"] = "Peoria Union Station", ["Perry"] = nyc, ["Pershing"] = nyc, ["Philmont"] = nyc, ["Pittsburgh"] = "Pittsburgh & Lake Erie Railroad Station", ["Pittsfield"] = "Joseph Scelsi Intermodal Transportation Center", ["Pleasant Lake"] = ind, ["Portage"] = nyc, ["Porter"] = mc, ["Portland"] = ny, ["Pulaski"] = nyc, ["Renfrew"] = nyc, ["Rensselaer"] = nyc, ["Reservoir"] = mbtahistory, ["Riverdale"] = mnrr, ["Riverside"] = mbtahistory, ["Rochester"] = "Louise M. Slaughter Rochester Station", ["Rome"] = ny, ["Scarborough"] = mnrr, ["Sedgewick Avenue"] = "Sedgwick Avenue (IRT Ninth Avenue Line)", ["Selma"] = nyc, ["Sharon"] = nyc, ["Shelby"] = oh, ["South Bend"] = "Union Station (South Bend, Indiana)", ["Southborough"] = mbta, ["Springfield, MA"] = "Springfield Union Station (Massachusetts)", ["Springfield, OH"] = "Big Four Depot (Springfield, Ohio)", ["St. James"] = nyc, ["St. Joseph"] = nyc, ["St. Louis"] = "Union Station (St. Louis)", ["St. Thomas"] = "Canada Southern Railway Station", ["Stamford"] = ny, ["Stockport"] = ny, ["Summit"] = nyc, ["Syracuse"] = "New York Central Railroad Passenger and Freight Station", ["Tannersville"] = ny, ["Templeton"] = nyc, ["Three Oaks"] = mc, ["Thurston"] = nyc, ["Toledo"] = "Martin Luther King Jr. Plaza (Toledo)", ["Tremont"] = mnrr, ["Troy"] = "Union Station (Troy, New York)", ["Union City"] = nyc, ["Utica"] = "Union Station (Utica, New York)", ["Venice"] = nyc, ["Waban"] = history, ["Wakefield"] = mnrr, ["Waterloo"] = ind, ["Watertown"] = nyc, ["Wayne"] = mc, ["Weehawken"] = "Weehawken Terminal", ["Wellesley"] = "Wellesley Square station", ["Wellington"] = oh, ["Westfield"] = { ma, ["Main Line"] = lsms, },		["Windsor"] = mc, ["Woodland"] = history, ["Woodlawn"] = mnrr, ["Worcester"] = "Union Station (Worcester, Massachusetts)", ["Worthington"] = oh, ["Youngstown"] = "Youngstown station (Erie Railroad)", ["Ypsilanti"] = "Depot Town#station", },	["lines"] = { ["_default"] = { ["color"] = "808080", },		["Adirondack Division"] = { ["title"] = "Adirondack Division", ["left terminus"] = "Utica", ["right terminus"] = "Montreal", },		["Albany-Troy"] = { ["title"] = "Albany – Troy", ["left terminus"] = "Albany", ["right terminus"] = "Troy", },		["Auburn Road"] = { ["title"] = "Auburn Road", ["left terminus"] = "Rochester", ["right terminus"] = "Syracuse", },		["Bay City Branch"] = { ["title"] = "Bay City Branch", ["left terminus"] = "Jackson", ["right terminus"] = "Bay City", },		["Benton Harbor–South Bend"] = { ["title"] = "Benton Harbor – South Bend", ["left terminus"] = "Benton Harbor", ["right terminus"] = "South Bend", },		["St. Louis–Cleveland"] = { ["title"] = "Big Four Route", ["note-mid"] = "Main Line", ["left terminus"] = "St. Louis", ["right terminus"] = "Cleveland", },		["Boston and Albany Railroad"] = { ["title"] = "Boston and Albany Railroad", ["note-mid"] = "Main Line", ["left terminus"] = "Albany", ["right terminus"] = "Boston", },		["Cairo Division"] = { ["title"] = "Cairo Division", ["left terminus"] = "Danville", ["right terminus"] = "Cairo", },		["Cape Vincent Branch"] = { ["title"] = "Cape Vincent Branch", ["left terminus"] = "Cape Vincent", ["right terminus"] = "Watertown", },		["Catskill Mountain Branch"] = { ["title"] = "Catskill Mountain Branch", ["left terminus"] = "Oneonta", ["right terminus"] = "Kingston Point", },		["Charlotte–Rochester"] = { ["title"] = "Charlotte – Rochester", ["left terminus"] = "Charlotte, NY", ["right terminus"] = "Rochester", },		["Chicago–Cairo"] = { ["title"] = "Chicago – Cairo", ["left terminus"] = "Chicago", ["right terminus"] = "Cairo", },		["Chicago–Cincinnati"] = { ["title"] = "Chicago – Cincinnati", ["left terminus"] = "Chicago-Central", ["right terminus"] = "Cincinnati", },		["Chicago–Hammond"] = { ["title"] = "Chicago – Hammond", ["left terminus"] = "Chicago", ["right terminus"] = "Hammond", },		["Cincinnati–Cleveland"] = { ["title"] = "Cincinnati – Cleveland", ["left terminus"] = "Cincinnati", ["right terminus"] = "Cleveland", },		["Cincinnati–Toledo"] = { ["title"] = "Cincinnati – Toledo", ["left terminus"] = "Cincinnati", ["right terminus"] = "Toledo", },		["Delaware Branch"] = { ["title"] = "Delaware Branch", ["left terminus"] = "Springfield, OH", ["right terminus"] = "Delaware", },		["Detroit Branch"] = { ["title"] = "Detroit Branch", ["left terminus"] = "Toledo", ["right terminus"] = "Detroit", },		["Evansville-Terre Haute"] = { ["title"] = "Evansville, Indianapolis and Terre Haute Railway", ["left terminus"] = "Evansville", ["right terminus"] = "Terre Haute", },		["Falls Road"] = { ["title"] = "Falls Road", ["left terminus"] = "Niagara Falls, New York", ["right terminus"] = "Rochester", },		["Fort Erie Branch"] = { ["title"] = "Fort Erie Branch", ["left terminus"] = "Welland", ["right terminus"] = "Buffalo", },		["Fort Wayne Branch"] = { ["title"] = "Fort Wayne Branch", ["left terminus"] = "Fort Wayne", ["right terminus"] = "Jackson", },		["Grand Rapids Branch"] = { ["title"] = "MCR Grand Rapids Branch", ["left terminus"] = "Grand Rapids MC", ["right terminus"] = "Jackson", },		["Harlem Division"] = { ["title"] = "Harlem Division", ["left terminus"] = "New York", ["right terminus"] = "Chatham", },		["Highland branch"] = { ["title"] = "Highland branch", ["left terminus"] = "Riverside", ["right terminus"] = "Boston", },		["Hudson Branch"] = { ["title"] = "Hudson Branch", ["left terminus"] = "Hudson", ["right terminus"] = "Chatham", },		["Hudson Division"] = { ["title"] = "Hudson Division", ["left terminus"] = "Peekskill", ["right terminus"] = "New York", },		["Hunter Branch"] = { ["title"] = "Hunter Branch", ["left terminus"] = "Hunter", ["right terminus"] = "Kaaterskill Junction", },		["Indianapolis–Springfield"] = { ["title"] = "Indianapolis – Springfield", ["left terminus"] = "Indianapolis", ["right terminus"] = "Springfield, OH", },		["Jackson Branch"] = { ["title"] = "Jackson Branch", ["left terminus"] = "Jackson", ["right terminus"] = "Toledo", },		["Jackson–Franklin"] = { ["title"] = "Cincinnati Northern Railroad", ["left terminus"] = "Jackson", ["right terminus"] = "Franklin", },		["Joliet Division"] = { ["title"] = "Joliet Division", ["left terminus"] = "Joliet", ["right terminus"] = "East Gary", },		["Kaaterskill Branch"] = { ["title"] = "Kaaterskill Branch", ["left terminus"] = "Kaaterskill", ["right terminus"] = "Phoenicia", },		["Kalamazoo Branch"] = { ["title"] = "Kalamazoo Branch", ["left terminus"] = "Elkhart", ["right terminus"] = "Grand Rapids", },		["Kankakee Belt Route"] = { ["title"] = "Kankakee Belt Route", ["left terminus"] = "Zearing", ["right terminus"] = "South Bend", },		["Lake Mahopac Branch"] = { ["title"] = "Lake Mahopac Branch", ["left terminus"] = "Goldens Bridge", ["right terminus"] = "Lake Mahopac", },		["LS&MS Main"] = { ["title"] = "Lake Shore & Michigan Southern", ["note-mid"] = "Main Line (before 1929)", ["left terminus"] = "Chicago", ["right terminus"] = "Buffalo", },		["Lansing Branch"] = { ["title"] = "Lansing Branch", ["left terminus"] = "Jonesville", ["right terminus"] = "Lansing", },		["Mackinaw City–Detroit"] = { ["title"] = "Mackinaw City – Detroit", ["left terminus"] = "Mackinaw City", ["right terminus"] = "Detroit", },		["Main Line"] = { ["title"] = "Main Line", ["left terminus"] = "Chicago", ["right terminus"] = "New York", },		["Michigan Air Line Railroad"] = { ["title"] = "Michigan Air Line Railroad", ["left terminus"] = "Niles", ["right terminus"] = "Jackson", },		["Michigan Central"] = { ["title"] = "Michigan Central Railroad", ["note-mid"] = "Main Line", ["left terminus"] = "Chicago-Central", ["right terminus"] = "Buffalo", },		["Michigan Division"] = { ["title"] = "Michigan Division", ["left terminus"] = "Benton Harbor", ["right terminus"] = "Louisville", },		["Milford Branch"] = { ["title"] = "Milford Branch", ["left terminus"] = "Milford", ["right terminus"] = "Framingham", },		["North Adams Branch"] = { ["title"] = "North Adams Branch", ["left terminus"] = "Pittsfield", ["right terminus"] = "North Adams", },		["Norwalk Branch"] = { ["title"] = "Norwalk Branch", ["left terminus"] = "Millbury Junction", ["right terminus"] = "Elyria", },		["Oil City Branch"] = { ["title"] = "Oil City Branch", ["left terminus"] = "Ashtabula", ["right terminus"] = "Oil City", },		["Old Main Line"] = { ["title"] = "Old Main Line", ["left terminus"] = "Berea", ["right terminus"] = "Nottingham", },		["Old Road"] = { ["title"] = "Old Road", ["left terminus"] = "Elkhart", ["right terminus"] = "Toledo", },		["Oswego–Rome"] = { ["title"] = "Oswego – Rome", ["left terminus"] = "Oswego", ["right terminus"] = "Rome", },		["Peoria–Indianapolis"] = { ["title"] = "Peoria & Eastern Railway", ["left terminus"] = "Peoria", ["right terminus"] = "Indianapolis", },		["Phoenix Line"] = { ["title"] = "Phoenix Line", ["left terminus"] = "Oswego", ["right terminus"] = "Syracuse", },		["Pittsburgh and Lake Erie Railroad"] = { ["title"] = "Pittsburgh and Lake Erie Railroad", ["note-mid"] = "Main Line", ["left terminus"] = "Youngstown", ["right terminus"] = "Pittsburgh", },		["Pittsburgh–Brownsville"] = { ["title"] = "Pittsburgh – Brownsville", ["left terminus"] = "Pittsburgh", ["right terminus"] = "Brownsville", },		["Putnam Division"] = { ["title"] = "Putnam Division", ["left terminus"] = "Brewster", ["right terminus"] = "155th Street", },		["Rochester–Oswego"] = { ["title"] = "Rochester – Oswego", ["left terminus"] = "Rochester", ["right terminus"] = "Oswego", },		["Saranac Branch"] = { ["title"] = "Saranac Branch", ["left terminus"] = "Lake Clear Junction", ["right terminus"] = "Lake Placid", },		["Saxonville Branch"] = { ["title"] = "Saxonville Branch", ["left terminus"] = "Saxonville", ["right terminus"] = "Natick", },		["Schenectady–Troy"] = { ["title"] = "Schenectady – Troy", ["left terminus"] = "Schenectady", ["right terminus"] = "Troy", },		["South Haven Branch"] = { ["title"] = "South Haven Branch", ["left terminus"] = "South Haven", ["right terminus"] = "Kalamazoo", },		["St. Clair Branch"] = { ["title"] = "St. Clair Branch", ["left terminus"] = "Courtright", ["right terminus"] = "St. Thomas", },		["St. Joseph–South Bend"] = { ["title"] = "St. Joseph – South Bend", ["left terminus"] = "St. Joseph", ["right terminus"] = "South Bend", },		["St. Lawrence Division"] = { ["title"] = "St. Lawrence Division", ["left terminus"] = "Utica", ["right terminus"] = "Ogdensburg", },		["Syracuse–Massena"] = { ["title"] = "Syracuse – Massena", ["left terminus"] = "Syracuse", ["right terminus"] = "Massena", },		["Toledo–Charleston"] = { ["title"] = "Toledo – Charleston", ["left terminus"] = "Toledo", ["right terminus"] = "Charleston", },		["Toledo–Thurston"] = { ["title"] = "Toledo – Thurston", ["left terminus"] = "Toledo", ["right terminus"] = "Thurston", },		["Wallkill Valley Branch"] = { ["title"] = "Wallkill Valley Branch", ["left terminus"] = "Kingston", ["right terminus"] = "Montgomery", },		["Weehawken Ferry"] = { ["title"] = "Weehawken Ferry", ["left terminus"] = "Weehawken", ["right terminus"] = "Cortlandt Street", },		["West Shore Route"] = { ["title"] = "West Shore Railroad", ["note-mid"] = "Main Line", ["left terminus"] = "Buffalo–Exchange Street", ["right terminus"] = "Weehawken", },		["Worcester Line"] = { ["title"] = "Worcester Line", ["left terminus"] = "Worcester", ["right terminus"] = "Boston", },		["Youghiogheny Branch"] = { ["title"] = "Youghiogheny Branch", ["left terminus"] = "Pittsburgh", ["right terminus"] = "Connellsville", },		["Youngstown Branch"] = { ["title"] = "Youngstown Branch", ["left terminus"] = "Ashtabula", ["right terminus"] = "Youngstown", },		["Ypsilanti Branch"] = { ["title"] = "Ypsilanti Branch", ["left terminus"] = "Hillsdale, MI", ["right terminus"] = "Ypsilanti", },	},	["aliases"] = { ["catskill"] = "Catskill Mountain Branch", ["main"] = "Main Line", ["p&le main"] = "Pittsburgh and Lake Erie Railroad", ["benton harbor-south bend"] = "Benton Harbor–South Bend", ["charlotte-rochester"] = "Charlotte–Rochester", ["chicago-cairo"] = "Chicago–Cairo", ["chicago-cincinnati"] = "Chicago–Cincinnati", ["cincinnati-cleveland"] = "Cincinnati–Cleveland", ["cincinnati-toledo"] = "Cincinnati–Toledo", ["indianapolis-springfield"] = "Indianapolis–Springfield", ["Highland Branch"] = "Highland branch", ["highland branch"] = "Highland branch", ["jackson-franklin"] = "Jackson–Franklin", ["mackinaw city-detroit"] = "Mackinaw City–Detroit", ["oswego-rome"] = "Oswego–Rome", ["peoria-indianapolis"] = "Peoria–Indianapolis", ["pittsburgh-brownsville"] = "Pittsburgh–Brownsville", ["rochester-oswego"] = "Rochester–Oswego", ["schenectady-troy"] = "Schenectady–Troy", ["st. joseph-south bend"] = "St. Joseph–South Bend", ["st. louis-cleveland"] = "St. Louis–Cleveland", ["syracuse-massena"] = "Syracuse–Massena", ["toledo-charleston"] = "Toledo–Charleston", ["toledo-thurston"] = "Toledo–Thurston", } }

return p