Module:Adjacent stations/Metro-North Railroad

local ct = "%1 station (Connecticut)" local erie = "%1 station (Erie Railroad)" local mnrr = "%1 station (Metro-North)" local ny = "%1 station (New York)"

local p = { ["system title"] = "Metro-North", ["system icon"] = "", ["name format"] = { "background-color: white; border-top: 10px solid #000000; font-size: 200%; font-family:Helvetica, Arial, sans-serif; font-weight: bolder; font-style: italic; line-height: 110%; text-align: left;", ["Harlem"] = "background-color: white; border-top: 10px solid #0039A6; font-size: 200%; font-family:Helvetica, Arial, sans-serif; font-weight: bolder; font-style: italic; line-height: 110%; text-align: left;", ["Hudson"] = "background-color: white; border-top: 10px solid #009B3A; font-size: 200%; font-family:Helvetica, Arial, sans-serif; font-weight: bolder; font-style: italic; line-height: 110%; text-align: left;", ["New Haven Connecticut"] = "background-color: white; border-top: 10px solid #EE0034; font-size: 200%; font-family:Helvetica, Arial, sans-serif; font-weight: bolder; line-height: 110%; color:#EE0034; text-align: left;", ["New Haven New York"] = "background-color: white; border-top: 10px solid #EE0034; font-size: 200%; font-family:Helvetica, Arial, sans-serif; font-weight: bolder; font-style: italic; line-height: 110%; text-align: left;", ["Pascack Valley"] = "background-color: white; border-top: 10px solid #8e258d; font-size: 200%; font-family:Helvetica, Arial, sans-serif; font-weight: bolder; font-style: italic; line-height: 110%; text-align: left;", ["Port Jervis"] = "background-color: white; border-top: 10px solid #FF7900; font-size: 200%; font-family:Helvetica, Arial, sans-serif; font-weight: bolder; font-style: italic; line-height: 110%; text-align: left;", },	["station format"] = { "%1 station", ["Arden"] = erie, ["Botanical Garden"] = mnrr, ["Bridgeport"] = ct, ["Brookfield"] = mnrr, ["Chatham"] = "Union Station (Chatham, New York)", ["Chester"] = mnrr, ["Fairfield"] = mnrr, ["Garrison"] = mnrr, ["Georgetown"] = mnrr, ["Glenbrook"] = mnrr, ["Glenwood"] = mnrr, ["Grand Central"] = "Grand Central Terminal", ["Greenwich"] = mnrr, ["Harriman"] = mnrr, ["Harrison"] = mnrr, ["Hawthorne"] = mnrr, ["Hoboken"] = "Hoboken Terminal", ["Inwood"] = mnrr, ["Irvington"] = mnrr, ["Ludlow"] = mnrr, ["Milford"] = ct, ["Monroe"] = mnrr, ["Montrose"] = mnrr, ["Morris Park"] = mnrr, ["Mount Pleasant"] = mnrr, ["New Haven"] = "Union Station (New Haven)", ["New Haven-State Street"] = "New Haven State Street", ["New York"] = "New York Penn Station", ["Orange"] = mnrr, ["Parkchester"] = mnrr, ["Patterson"] = mnrr, ["Redding"] = mnrr, ["Riverdale"] = mnrr, ["Riverside"] = mnrr, ["Rye"] = mnrr, ["Scarborough"] = mnrr, ["Secaucus Junction"] = "Secaucus Junction", ["Southport"] = mnrr, ["Spring Valley"] = ny, ["Stamford"] = "Stamford Transportation Center", ["State Street"] = "New Haven State Street", ["Stratford"] = ct, ["Tremont"] = mnrr, ["Wakefield"] = mnrr, ["Westport"] = mnrr, ["Wilton"] = mnrr, ["Woodlawn"] = mnrr, ["Woodside"] = mnrr, },	["lines"] = { ["Danbury Branch"] = { ["title"] = "Danbury Branch", ["color"] = "EE0034", ["left terminus"] = "Grand Central", ["right terminus"] = "Danbury", },		["Harlem"] = { ["title"] = "Harlem Line", ["color"] = "0039A6", ["left terminus"] = "Grand Central", ["right terminus"] = "Wassaic", },		["Harlem NWP"] = { ["title"] = "Harlem Line", ["color"] = "0039A6", ["left terminus"] = "Grand Central", ["right terminus"] = "North White Plains", --COVID SUSPENSION --["right terminus"] = {"North White Plains", "Southeast", "Wassaic"}, },		["Harlem Southeast"] = { ["title"] = "Harlem Line", ["color"] = "0039A6", ["left terminus"] = "Grand Central", ["right terminus"] = "Southeast", --COVID SUSPENSION --["right terminus"] = {"Southeast", "Wassaic"}, },		["Harlem Wassaic"] = { ["title"] = "Harlem Line", ["color"] = "0039A6", ["note-mid"] = "Wassaic Branch (weekdays)", ["left terminus"] = "Southeast", --COVID SUSPENSION --["left terminus"] = {"Southeast", "Grand Central"}, ["right terminus"] = "Wassaic", },		["Hudson"] = { ["title"] = "Hudson Line", ["color"] = "009B3A", ["left terminus"] = "Grand Central", ["right terminus"] = "Poughkeepsie", },		["Hudson main"] = { ["title"] = "Hudson Line", ["color"] = "009B3A", ["left terminus"] = "Grand Central", ["right terminus"] = {"Croton–Harmon", "Poughkeepsie"}, },		["Hudson lower"] = { ["title"] = "Hudson Line", ["color"] = "009B3A", ["left terminus"] = "Croton–Harmon", --COVID SUSPENSION --["left terminus"] = {"Croton–Harmon", "Poughkeepsie"}, ["right terminus"] = "Grand Central", },		["Hudson upper"] = { ["title"] = "Hudson Line", ["color"] = "009B3A", ["left terminus"] = "Poughkeepsie", ["right terminus"] = "Grand Central", },		["New Canaan Branch"] = { ["title"] = "New Canaan Branch", ["color"] = "EE0034", ["left terminus"] = "Grand Central", ["right terminus"] = "New Canaan", },		["New Haven"] = { ["title"] = "New Haven Line", ["color"] = "EE0034", ["left terminus"] = "Grand Central", ["right terminus"] = {"New Haven", "New Haven State Street"}, },		["New Haven inner"] = { ["title"] = "New Haven Line", ["color"] = "EE0034", ["left terminus"] = "Grand Central", ["right terminus"] = "Stamford", },		["Port Jervis"] = { ["title"] = "Port Jervis Line", ["color"] = "FF7900", ["left terminus"] = "Port Jervis", ["right terminus"] = "Hoboken", },		["Waterbury Branch"] = { ["title"] = "Waterbury Branch", ["color"] = "EE0034", ["left terminus"] = "Bridgeport", ["right terminus"] = "Waterbury", },	}, }

return p