Module:Adjacent stations/New York, New Haven and Hartford Railroad

local amtrak = "%1 station (Amtrak)" local ct = "%1 station (Connecticut)" local ma = "%1 station (Massachusetts)" local mbta = "%1 station (MBTA)" local mnrr = "%1 station (Metro-North)" local nynhh = "%1 station (New York, New Haven and Hartford Railroad)" local ri = "%1 station (Rhode Island)" local tc = "%1 Transportation Center" local union = "Union Station (%1)" local xunion = "%1 Union Station"

local p = { ["lang"] = "en-US", ["system title"] = "New York, New Haven and Hartford Railroad", ["system icon"] = "", ["station format"] = { "%1 station", ["Atlantic"] = "North Quincy station#History", ["Attleboro"] = ma, ["Back Bay"] = "Boston Back Bay", ["Bellevue"] = mbta, ["Bird's Hill"] = "Hersey station#History", ["Boston"] = "South Station", ["Braintree"] = nynhh, ["Bridgeport"] = ct, ["Canton"] = "Canton Center station", ["Clinton"] = ct, ["Cottage Street"] = "Uphams Corner station#History", ["Devon"] = nynhh, ["Dorchester"] = "Talbot Avenue station#History", ["Essex"] = "Essex Freight Station", ["Fairfield"] = mnrr, ["Forest Avenue"] = "Morton Street station#History", ["Forest Hills"] = mbta, ["Franklin"] = "Franklin/Dean College station", ["Glenbrook"] = mnrr, ["Greenwich"] = mnrr, ["Groton"] = ct, ["Harrison"] = mnrr, ["Harvard Street"] = "Talbot Avenue station#History", ["Hartford"] = xunion, ["Highland"] = mbta, ["Hyde Park"] = mbta, ["Islington"] = mbta, ["Kingston"] = ri, ["Madison"] = ct, ["Mansfield"] = mbta, ["Milford"] = ct, ["Mount Bowdoin"] = "Four Corners/Geneva station#History", ["Mount Vernon"] = "Mount Vernon East station", ["Mystic"] = ct, ["New Haven"] = union, ["New London"] = xunion, ["New York"] = "Grand Central Terminal", ["New York Penn"] = "Pennsylvania Station (1910–1963)", ["Norfolk"] = mbta, ["Norfolk Downs"] = "North Quincy station#History", ["North Cohasset"] = "Cohasset station#History", ["Norwood Depot"] = "%1", ["Quincy"] = ma, ["Raynham"] = "Raynham Place station#History", ["Riverside"] = mnrr, ["Rugby"] = "Blue Hill Avenue station#History", ["Rye"] = mnrr, ["South Braintree"] = "Braintree station#History", ["Southport"] = mnrr, ["Springdale"] = ma, ["Stamford"] = tc, ["Stratford"] = ct, ["Taunton"] = amtrak, ["Walpole"] = "Union Station (Walpole, Massachusetts)", ["Westbrook"] = ct, ["Woodmont"] = nynhh, ["Woodside"] = mnrr, ["Worcester"] = "Union Station (Worcester, Massachusetts)", },	["lines"] = { ["_default"] = { ["color"] = "ed0a28", },		["Charles River Line"] = { ["title"] = "Charles River Line", ["left terminus"] = "Woonsocket", ["right terminus"] = "Boston", },		["Dedham Branch"] = { ["title"] = "Dedham Branch", ["left terminus"] = "Dedham", ["right terminus"] = "Readville", },		["Main Line"] = { ["title"] = "Main Line", ["left terminus"] = "New York", ["right terminus"] = "New Haven", },		["Midland Line"] = { ["title"] = "Midland Line", ["left terminus"] = "Blackstone", ["right terminus"] = "Boston", },		["New York and New England Railroad"] = { ["title"] = "New York and New England Railroad", ["left terminus"] = "Hartford", ["right terminus"] = {"Boston", "Providence"}, },		["Norwich Branch"] = { ["title"] = "Norwich Branch", ["left terminus"] = "New London", ["right terminus"] = "Worcester", },		["Providence and Worcester Railroad"] = { ["title"] = "Providence and Worcester Railroad", ["left terminus"] = "Worcester", ["right terminus"] = "Providence", },		["Shore Line"] = { ["title"] = "Shore Line", ["left terminus"] = "New Haven", ["right terminus"] = "Boston", },		["South Shore Line"] = { ["title"] = "South Shore Line", ["left terminus"] = "Boston", ["right terminus"] = "Greenbush", },		["Stoughton Branch"] = { ["title"] = "Stoughton Branch", ["left terminus"] = "Taunton", ["right terminus"] = "Canton Junction", },		["Valley Branch"] = { ["title"] = "Valley Branch", ["left terminus"] = "Hartford", ["right terminus"] = "Old Saybrook", },	},	["aliases"] = { ["main"] = "Main Line", }, }

return p