Difference between revisions of "Module:Adjacent stations/New York City Subway"
Jump to navigation
Jump to search
blackwiki>Jc86035 m (?) |
blackwiki>Jc86035 m (+ J/Z) |
||
| Line 1: | Line 1: | ||
local NYCS = "%1 (New York City Subway)" | local NYCS = "%1 (New York City Subway)" | ||
| + | local AA = "%1 (Archer Avenue lines)" | ||
local BC = "%1 (BMT Canarsie Line)" | 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 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 = { | local p = { | ||
| Line 10: | Line 16: | ||
["station format"] = { | ["station format"] = { | ||
NYCS, | 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, | ["Atlantic Avenue"] = BC, | ||
["Bedford Avenue"] = BC, | ["Bedford Avenue"] = BC, | ||
| − | ["Broadway Junction"] = BC, | + | ["Bowery"] = BN, |
| + | ["Broad Street"] = BN, | ||
| + | ["Broadway Junction"] = { | ||
| + | ["A"] = DF, | ||
| + | ["C"] = DF, | ||
| + | ["J"] = BJ, | ||
| + | ["L"] = BC, | ||
| + | ["Z"] = BJ, | ||
| + | }, | ||
["Bushwick Avenue–Aberdeen Street"] = BC, | ["Bushwick Avenue–Aberdeen Street"] = BC, | ||
| + | ["Canal Street"] = BN, | ||
["Canarsie–Rockaway Parkway"] = BC, | ["Canarsie–Rockaway Parkway"] = BC, | ||
| + | ["Chambers Street"] = BN, | ||
| + | ["Chauncey Street"] = BJ, | ||
| + | ["Cleveland Street"] = BJ, | ||
| + | ["Crescent Street"] = BJ, | ||
| + | ["Cypress Hills"] = BJ, | ||
["DeKalb Avenue"] = BC, | ["DeKalb Avenue"] = BC, | ||
["East 105th Street"] = BC, | ["East 105th Street"] = BC, | ||
["Eighth Avenue"] = BC, | ["Eighth Avenue"] = BC, | ||
| + | ["Essex Street"] = BN, | ||
["First Avenue"] = BC, | ["First Avenue"] = BC, | ||
| + | ["Flushing Avenue"] = BJ, | ||
| + | ["Fulton Street"] = BN, | ||
| + | ["Gates Avenue"] = BJ, | ||
["Graham Avenue"] = BC, | ["Graham Avenue"] = BC, | ||
["Grand Street"] = BC, | ["Grand Street"] = BC, | ||
| − | ["Halsey Street"] = BC, | + | ["Halsey Street"] = { |
| + | ["J"] = BJ, | ||
| + | ["L"] = BC | ||
| + | }, | ||
| + | ["Hewes Street"] = BJ, | ||
| + | ["Jamaica Center–Parsons/Archer"] = AA, | ||
["Jefferson Street"] = BC, | ["Jefferson Street"] = BC, | ||
| + | ["Kosciuszko Street"] = BJ, | ||
["Livonia Avenue"] = BC, | ["Livonia Avenue"] = BC, | ||
| − | ["Lorimer Street"] = BC, | + | ["Lorimer Street"] = { |
| + | BJ, | ||
| + | ["L"] = BC | ||
| + | }, | ||
| + | ["Marcy Avenue"] = BJ, | ||
["Montrose Avenue"] = BC, | ["Montrose Avenue"] = BC, | ||
["Morgan Avenue"] = BC, | ["Morgan Avenue"] = BC, | ||
| + | ["Myrtle Avenue"] = BJ, | ||
["Myrtle–Wyckoff Avenues"] = BC, | ["Myrtle–Wyckoff Avenues"] = BC, | ||
["New Lots Avenue"] = BC, | ["New Lots Avenue"] = BC, | ||
| + | ["Norwood Avenue"] = BJ, | ||
["Sixth Avenue"] = BC, | ["Sixth Avenue"] = BC, | ||
| + | ["Sutphin Boulevard–Archer Avenue–JFK Airport"] = AA, | ||
["Sutter Avenue"] = BC, | ["Sutter Avenue"] = BC, | ||
["Third Avenue"] = BC, | ["Third Avenue"] = BC, | ||
["Union Square"] = BC, | ["Union Square"] = BC, | ||
| + | ["Van Siclen Avenue"] = BJ, | ||
["Wilson Avenue"] = BC, | ["Wilson Avenue"] = BC, | ||
| + | ["Woodhaven Boulevard"] = BJ, | ||
}, | }, | ||
["lines"] = { | ["lines"] = { | ||
| + | ["J"] = { | ||
| + | ["line title"] = "[[J/Z (New York City Subway service)|J]]", | ||
| + | ["note-mid"] = alltimes, | ||
| + | ["types"] = { | ||
| + | ["offpeak"] = { | ||
| + | ["type title"] = "", | ||
| + | ["note-mid"] = allexceptrush | ||
| + | }, | ||
| + | ["peak"] = { | ||
| + | ["type title"] = "", | ||
| + | ["note-mid"] = rushpeak | ||
| + | } | ||
| + | }, | ||
| + | ["color"] = "996633", | ||
| + | ["left terminus"] = "Jamaica Center–Parsons/Archer", | ||
| + | ["right terminus"] = "Broad Street" | ||
| + | }, | ||
["L"] = { | ["L"] = { | ||
["line title"] = "[[L (New York City Subway service)|L]]", | ["line title"] = "[[L (New York City Subway service)|L]]", | ||
| Line 42: | Line 104: | ||
["left terminus"] = "Eighth Avenue", | ["left terminus"] = "Eighth Avenue", | ||
["right terminus"] = "Canarsie–Rockaway Parkway" | ["right terminus"] = "Canarsie–Rockaway Parkway" | ||
| + | }, | ||
| + | ["Z"] = { | ||
| + | ["line title"] = "[[J/Z (New York City Subway service)|Z]]", | ||
| + | ["note-mid"] = rushpeak, | ||
| + | ["color"] = "996633", | ||
| + | ["left terminus"] = "Jamaica Center–Parsons/Archer", | ||
| + | ["right terminus"] = "Broad Street" | ||
} | } | ||
} | } | ||
Revision as of 15:46, 16 August 2018
This is a data module for Module:Adjacent stations. It supports services operated by the New York City Subway.
Lines
Template:Rail template doc Template:Rail template doc
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"] = "[[File:MTA NYC logo.svg|16px|link=New York City Subway|alt=New York City Subway]] [[New York City Subway]]",
["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"] = {
["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"] = {
["J"] = {
["line title"] = "[[J/Z (New York City Subway service)|J]]",
["note-mid"] = alltimes,
["types"] = {
["offpeak"] = {
["type title"] = "",
["note-mid"] = allexceptrush
},
["peak"] = {
["type title"] = "",
["note-mid"] = rushpeak
}
},
["color"] = "996633",
["left terminus"] = "Jamaica Center–Parsons/Archer",
["right terminus"] = "Broad Street"
},
["L"] = {
["line title"] = "[[L (New York City Subway service)|L]]",
["note-mid"] = alltimes,
["color"] = "a7a9ac",
["left terminus"] = "Eighth Avenue",
["right terminus"] = "Canarsie–Rockaway Parkway"
},
["Z"] = {
["line title"] = "[[J/Z (New York City Subway service)|Z]]",
["note-mid"] = rushpeak,
["color"] = "996633",
["left terminus"] = "Jamaica Center–Parsons/Archer",
["right terminus"] = "Broad Street"
}
}
}
return p