Module:Adjacent stations/IRT

From Wikipedia, the free encyclopedia

local second = "%1 station (IRT Second Avenue Line)"
local third = "%1 station (IRT Third Avenue Line)"
local sixth = "%1 station (IRT Sixth Avenue Line)"
local ninth = "%1 station (IRT Ninth Avenue Line)"

local p = {
	["lang"] = "en-US",
	["system title"] = "[[Interborough Rapid Transit Company|Interborough Rapid Transit]]",
	["name format"] = "font-family: Arial; background-color: #0C133D; font-size: 200%; text-transform:uppercase; color: white; padding: 0.5em; line-height: 0.5; white-space: nowrap; border: 7px solid #white; margin: 0.25em; text-align: center;",
	["header background color"] = "0C133D",
	["station format"] = {
		"%1 station",
		["South Ferry"] = "South Ferry station (IRT elevated)",
		["Rector Street"] = {
			["Sixth Avenue"] = sixth,
			["Ninth Avenue"] = ninth,
		},
		["Cortlandt Street"] = {
			["Sixth Avenue"] = sixth,
			["Ninth Avenue"] = ninth,
		},
		["Park Place"] = sixth,
		["City Hall"] = second,
		["Franklin Street"] = {
			["Sixth Avenue"] = sixth,
			["Ninth Avenue"] = ninth,
		},
		["Canal Street"] = {
			["Second Avenue"] = second,
			["Third Avenue"] = third,
		},
		["Grand Street"] = {
			["Second Avenue"] = second,
			["Third Avenue"] = third,
			["Sixth Avenue"] = sixth,
		},
		["Bleecker Street"] = sixth,
		["Warren Street"] = ninth,
		["Chambers Street"] = sixth,
		["Houston Street"] = {
			["Third Avenue"] = third,
			["Ninth Avenue"] = ninth,
		},
		["Christopher Street"] = ninth,
		["First Street"] = second,
		["Eighth Street"] = {
			["Second Avenue"] = second,
			["Sixth Avenue"] = sixth,
		},
		["Ninth Street"] = third,
		["14th Street"] = {
			["Second Avenue"] = second,
			["Third Avenue"] = third,
			["Sixth Avenue"] = sixth,
			["Ninth Avenue"] = ninth,
		},
		["18th Street"] = {
			["Third Avenue"] = third,
			["Sixth Avenue"] = sixth,
		},
		["19th Street"] = second,
		["23rd Street"] = {
			["Second Avenue"] = second,
			["Third Avenue"] = third,
			["Sixth Avenue"] = sixth,
			["Ninth Avenue"] = ninth,
		},
		["28th Street"] = {
			["Third Avenue"] = third,
			["Sixth Avenue"] = sixth,
		},
		["30th Street"] = ninth,
		["33rd Street"] = sixth,
		["34th Street"] = {
			["Second Avenue"] = second,
			["Third Avenue"] = third,
			["Ninth Avenue"] = ninth,
		},
		["38th Street"] = sixth,
		["42nd Street"] = {
			["Second Avenue"] = second,
			["Third Avenue"] = third,
			["Sixth Avenue"] = sixth,
			["Ninth Avenue"] = ninth,
		},
		["47th Street"] = third,
		["50th Street"] = {
			["Second Avenue"] = second,
			["Sixth Avenue"] = sixth,
			["Ninth Avenue"] = ninth,
		},
		["53rd Street"] = third,
		["57th Street"] = second,
		["58th Street"] = sixth,
		["59th Street"] = {
			["Third Avenue"] = third,
			["Sixth Avenue"] = ninth,
			["Ninth Avenue"] = ninth,
		},
		["65th Street"] = second,
		["66th Street"] = ninth,
		["72nd Street"] = {
			["Second Avenue"] = second,
			["Sixth Avenue"] = ninth,
			["Ninth Avenue"] = ninth,
		},
		["76th Street"] = third,
		["80th Street"] = second,
		["81st Street"] = {
			["Sixth Avenue"] = ninth,
			["Ninth Avenue"] = ninth,
		},
		["86th Street"] = {
			["Second Avenue"] = second,
			["Sixth Avenue"] = ninth,
			["Ninth Avenue"] = ninth,
		},
		["99th Street"] = {
			["Second Avenue"] = second,
			["Third Avenue"] = third,
			["Sixth Avenue"] = ninth,
			["Ninth Avenue"] = ninth,
		},
		["104th Street"] = ninth,
		["106th Street"] = third,
		["110th Street"] = {
			["Sixth Avenue"] = ninth,
			["Ninth Avenue"] = ninth,
		},
		["111th Street"] = second,
		["116th Street"] = {
			["Third Avenue"] = third,
			["Sixth Avenue"] = ninth,
			["Ninth Avenue"] = ninth,
		},
		["121st Street"] = second,
		["125th Street"] = {
			["Second Avenue"] = second,
			["Third Avenue"] = third,
			["Sixth Avenue"] = ninth,
			["Ninth Avenue"] = ninth,
		},
		["135th Street"] = {
			["Sixth Avenue"] = ninth,
			["Ninth Avenue"] = ninth,
		},
		["140th Street"] = {
			["Sixth Avenue"] = ninth,
			["Ninth Avenue"] = ninth,
		},
		["145th Street"] = {
			["Sixth Avenue"] = ninth,
			["Ninth Avenue"] = ninth,
		},
		["155th Street"] = ninth,
		["Fordham Road"] = "Fordham Road–190th Street station",
		["Bronx Park"] = "Bronx Park Terminal",
		["241st Street"] = "Wakefield–241st Street station",
	},
	["lines"] = {
		["_default"] = {
			["color"] = "0C133D",
		},
		["Second Avenue"] = {
			["title"] = "[[IRT Second Avenue Line|Second Avenue]]",
			["types"] = {
				["Local"] = {
					["title"] = "Local",
					["left terminus"] = "129th Street",
					["right terminus"] = {"South Ferry", "City Hall"},
				},
				["Express"] = {
					["title"] = "Express",
					["left terminus"] = {"Bronx Park", "Fordham Road", "Freeman Street"},
					["right terminus"] = "City Hall",
				},
				["Queens"] = {
					["title"] = "Queens <small>(express)</small>",
					["left terminus"] = {"Willets Point Blvd", "Ditmars Boulevard"},
					["right terminus"] = {"South Ferry", "City Hall", "57th Street"},
				},
				["Queens peak"] = {
					["title"] = "Queens <small>(weekday peak)</small>",
					["left terminus"] = "Ditmars Boulevard",
					["right terminus"] = {"South Ferry", "City Hall", "57th Street"},
				},
			},
		},
		["Third Avenue"] = {
			["title"] = "[[IRT Third Avenue Line|Third Avenue]]",
			["types"] = {
				["Local"] = {
					["title"] = "Local",
					["left terminus"] = "129th Street",
					["right terminus"] = "South Ferry",
				},
				["Local-Express"] = {
					["title"] = "Local-Express",
					["left terminus"] = "Bronx Park",
					["right terminus"] = "City Hall",
				},
				["Thru-Express"] = {
					["title"] = "Thru-Express",
					["left terminus"] = "241st Street",
					["right terminus"] = {"Fordham Road", "City Hall"},
				},
			},
		},
		["Sixth Avenue"] = {
			["title"] = "[[IRT Sixth Avenue Line|Sixth Avenue]]",
			["types"] = {
				["Local"] = {
					["title"] = "Local",
					["left terminus"] = {"155th Street", "Burnside Avenue"},
					["right terminus"] = "South Ferry",
				},
				["Express"] = {
					["title"] = "Express",
					["left terminus"] = "Burnside Avenue",
					["right terminus"] = "Rector Street",
				},
			},
		},
		["Ninth Avenue"] = {
			["title"] = "[[IRT Ninth Avenue Line|Ninth Avenue]]",
			["types"] = {
				["Local"] = {
					["title"] = "Local",
					["left terminus"] = {"155th Street", "Burnside Avenue"},
					["right terminus"] = "South Ferry",
				},
				["Express"] = {
					["title"] = "Express",
					["left terminus"] = {"Burnside Avenue", "Fordham Road"},
					["right terminus"] = "Rector Street",
				},
			},
		},
	},
}

return p