Difference between revisions of "Module:Adjacent stations/New York City Subway"
Jump to navigation
Jump to search
blackwiki>Cards84664 (Reverted to revision 952182661 by Cards84664 (talk) (TW)) |
m (27 revisions imported) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
| − | + | -- Template not yet implemented | |
| + | |||
local NYCS = "%1 (New York City Subway)" | local NYCS = "%1 (New York City Subway)" | ||
| − | local | + | 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 = { | local p = { | ||
["lang"] = "en-US", | ["lang"] = "en-US", | ||
| − | ["system title"] = "[[New York City Subway | + | ["system title"] = "[[New York City Subway]]", |
["system icon"] = "[[File:MTA NYC logo.svg|16px|link=New York City Subway|alt=New York City Subway]]", | ["system icon"] = "[[File:MTA NYC logo.svg|16px|link=New York City Subway|alt=New York City Subway]]", | ||
["station format"] = { | ["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"] = { | ["lines"] = { | ||
| − | [" | + | ["_default"] = { |
| − | ["title"] = "[[ | + | ["title"] = "[[%1 (New York City Subway service)|%1]]" |
| − | |||
| − | |||
| − | |||
| − | |||
}, | }, | ||
| − | [" | + | ["J"] = { |
| − | ["title"] = "[[ | + | ["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 | return p | ||
Latest revision as of 12:46, 26 September 2020
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
-- 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