Module:Adjacent stations/New York City Subway

MyWikiBiz, Author Your Legacy — Thursday December 26, 2024
< Module:Adjacent stations
Revision as of 18:39, 8 July 2021 by Zoran (talk | contribs) (Moved page from wikipedia:en:Module:Adjacent stations/New York City Subway)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
-- Template not yet implemented

local NYCS = "%1 (New York City Subway)"
local AA = "%1 (Archer Avenue lines)"
local BC = "%1 (BMT Canarsie Line)"
local BJ = "%1 (BMT Jamaica Line)"
local BN = "%1 (BMT Nassau Street Line)"
local DF = "%1 (IND Fulton Street Line)"

local alltimes = "[[File:NYCS-SSI-alltimes.svg|10px|link=List of New York City Subway services#Time periods|Stops all times]] all times"
local allexceptrush = "[[File:NYCS-SSI-allexceptrush.svg|10px|link=List of New York City Subway services#Time periods|Stops all times except rush hours in the peak direction]] all times except rush hours peak direction"
local rushpeak = "[[File:NYCS-SSI-rushpeak.svg|10px|link=List of New York City Subway services#Time periods|Stops rush hours in peak direction only]] rush hours peak direction only"

local p = {
	["lang"] = "en-US",
	["system title"] = "[[New York City Subway]]",
	["system icon"] = "[[File:MTA NYC logo.svg|16px|link=New York City Subway|alt=New York City Subway]]",
	["station format"] = {
		NYCS,
		["104th Street"] = BJ,
		["111th Street"] = BJ,
		["121st Street"] = BJ,
		["75th Street–Elderts Lane"] = BJ,
		["85th Street–Forest Parkway"] = BJ,
		["Alabama Avenue"] = BJ,
		["Atlantic Avenue"] = BC,
		["Bedford Avenue"] = BC,
		["Bowery"] = BN,
		["Broad Street"] = BN,
		["Broadway Junction"] = {
			NYCS,
			["A"] = DF,
			["C"] = DF,
			["J"] = BJ,
			["L"] = BC,
			["Z"] = BJ,
		},
		["Bushwick Avenue–Aberdeen Street"] = BC,
		["Canal Street"] = BN,
		["Canarsie–Rockaway Parkway"] = BC,
		["Chambers Street"] = BN,
		["Chauncey Street"] = BJ,
		["Cleveland Street"] = BJ,
		["Crescent Street"] = BJ,
		["Cypress Hills"] = BJ,
		["DeKalb Avenue"] = BC,
		["East 105th Street"] = BC,
		["Eighth Avenue"] = BC,
		["Essex Street"] = BN,
		["First Avenue"] = BC,
		["Flushing Avenue"] = BJ,
		["Fulton Street"] = BN,
		["Gates Avenue"] = BJ,
		["Graham Avenue"] = BC,
		["Grand Street"] = BC,
		["Halsey Street"] = {
			["J"] = BJ,
			["L"] = BC
		},
		["Hewes Street"] = BJ,
		["Jamaica Center–Parsons/Archer"] = AA,
		["Jefferson Street"] = BC,
		["Kosciuszko Street"] = BJ,
		["Livonia Avenue"] = BC,
		["Lorimer Street"] = {
			BJ,
			["L"] = BC
		},
		["Marcy Avenue"] = BJ,
		["Montrose Avenue"] = BC,
		["Morgan Avenue"] = BC,
		["Myrtle Avenue"] = BJ,
		["Myrtle–Wyckoff Avenues"] = BC,
		["New Lots Avenue"] = BC,
		["Norwood Avenue"] = BJ,
		["Sixth Avenue"] = BC,
		["Sutphin Boulevard–Archer Avenue–JFK Airport"] = AA,
		["Sutter Avenue"] = BC,
		["Third Avenue"] = BC,
		["Union Square"] = BC,
		["Van Siclen Avenue"] = BJ,
		["Wilson Avenue"] = BC,
		["Woodhaven Boulevard"] = BJ,
	},
	["lines"] = {
		["_default"] = {
			["title"] = "[[%1 (New York City Subway service)|%1]]"
		},
		["J"] = {
			["title"] = "[[J/Z (New York City Subway service)|J]]",
			["note-mid"] = alltimes,
			["types"] = {
				["offpeak"] = {
					["title"] = "",
					["note-mid"] = allexceptrush
				},
				["peak"] = {
					["title"] = "",
					["note-mid"] = rushpeak
				}
			},
			["color"] = "996633",
			["left terminus"] = "Broad Street",
			["right terminus"] = "Jamaica Center–Parsons/Archer"
		},
		["L"] = {
			["note-mid"] = alltimes,
			["color"] = "a7a9ac",
			["left terminus"] = "Eighth Avenue",
			["right terminus"] = "Canarsie–Rockaway Parkway"
		},
		["Z"] = {
			["title"] = "[[J/Z (New York City Subway service)|Z]]",
			["note-mid"] = rushpeak,
			["color"] = "996633",
			["left terminus"] = "Broad Street",
			["right terminus"] = "Jamaica Center–Parsons/Archer"
		}
	}
}

return p