Loading
  • 21 Aug, 2019

  • By, Wikipedia

Template:Infobox New York City Subway Station

This is the syntax to create an infobox for New York City Subway stations.

Usage

Copy and paste the template below:

{{Infobox New York City Subway station
| name                          =
| type                          =
| image                         =
| image_size                    =
| image_caption                 =
| alt                           =
| address                       =
| borough                       =
| neighborhood                  =
| area                          =
| coordinates                   =
| line                          =
| service                       =
| transfer                      =
| connection                    =
| structure                     =
| depth                         =
| levels                        =
| platforms                     =
| tracks                        =
| open_date                     =
| close_date                    =
| rebuilt                       =
| code                          =
| accessible                    =
| acc_note                      =
| cross_platform                =
| former                        =
| other_exits                   =
| opposite_transfer             =
| passengers                    =
| pass_ref                      =
| pass_station_name             =
| pass_year                     =
| pass_percent                  =
| next_north                    =
| next_south                    =
| next_topwest                  =
| next_east                     =
| next_west                     =
| adjacent_stations             =
| adjacent_stations_collapsible =
| unused_adjacent_stations      =
| other_adjacent_stations       =
| nolegend                      =
| legend                        =
| map_type                      =
| coordinates                   =
| layout                        =
}}

Parameter descriptions

Top portion of infobox:

  • name - The station name
  • type - The type of station. Values are:
    • (default) - a New York City Subway station
    • "complex" - a New York City Subway station complex (a station with transfers to other lines on non-adjacent platforms). This is the setting for the first infobox on a page with multiple NYCS infoboxes; subsequent infoboxes describe individual platforms.
    • "former" - a former/permanently closed New York City Subway station
    • "future" - a future New York City Subway station (i.e. under construction)
    • "tempclosed" - a temporarily closed New York City Subway station
    • "planned" - a planned New York City Subway station (i.e. not finalized yet)
    • "custom" - if "custom" is put as the value for the type parameter, insert a custom value in the type_custom parameter.
  • image - An image of the station
  • image_size - Specifies an image size in pixels other than the default (300 pixels)
  • image_caption - A caption for the image
  • alt - Alternate text for the image

Station statistics:

  • address - Street address/intersection of the station
  • borough - Borough that the station is located in
  • locale - Locale/neighborhood of the station
  • map_type, coordinates – The coordinates, when placed here, add the station's location on a map of New York City Subway lines, as well as add geographical coordinates of the station using {{coord}}.
  • line - Line(s) that serve the station
  • service - New York City Subway only: The service at the station: see Wikipedia:WikiProject New York City Public Transportation/New York City Subway/Lines
  • service_header - Services displayed on the top of the infobox as shown on the sign at the station's entrance. This is only used if the station sign omits rush-hour, late-night, or off-peak services
  • service_custom - Services for non-New York City Subway lines and closed stations
  • service_type and service_header_type: For some {{NYCS ...}} templates, there is an extra parameter called "type", so these two parameters are used for that template's "type" parameter.
  • transfer - Transfer(s) to other lines. Use {{NYCS transfer}} with HTML breaks for additional stations.
  • connection - Connecting services (e.g. bus, rail) that serve the station
  • structure - Type of station structure (e.g. underground, at-grade, or elevated)
  • depth - The depth of the primary platform below ground level
  • levels - Number of levels of platforms at the station (use only if more than one exists; mezzanine/entrance levels are not included)
  • platforms - Information about the platform(s) at the station
  • tracks - Number of tracks at the station

Other information:

  • open_date - Date station originally opened and dates of subsequent reopenings (if applicable)
  • close_date - Date(s) station closed, either temporarily or permanently
  • rebuilt - Date(s) station last received a rebuild/rehabilitation
  • accessible - If any text is placed here a universal symbol for disabled accessibility (Disabled access) will appear.
  • acc_note - Notes about accessibility of the station, such as inaccessibility elsewhere
  • cross_platform - If any text is placed here, the note "Cross-platform wheelchair access available" will appear.
  • former and other_name - Use former for previous station name(s) (give dates when possible); use other_name for alternative names currently in use
  • other_exits - Other station entrances/exits (note whether they are entrance or exit only)
  • opposite_transfer - whether there is a free transfer to other platform(s) with service in the opposite direction. Usually, this is already given by default, but the default can be overridden.

Traffic:

  • (default) - Pulls ridership figures, including the number of passengers, the year passenger information was gathered, the percentage increase or decrease in usage, and the ridership rank, out of total stations.
  • hide_traffic - Hide section from the infobox with input of "hidden".
  • pass_station_name – The exact page title of the station whose statistics are being used. See Template:Infobox New York City Subway station/ridership/doc#Page names.

Station succession:

  • adjacent_stations - Use Module:Adjacent stations/New York City Subway to display services along New York City Subway lines.
  • adjacent_stations_collapsible - Makes services collapsible and collapsed by default.
  • unused_adjacent_stations - Use Template:Adjacent stations to display non-revenue track and station connections along current New York City Subway lines. Collapsed by default.
  • other_adjacent_stations - Use Template:Adjacent stations to display former rail services along current New York City Subway lines. Collapsed by default.
  • next_north and next_south - The next station(s) north or south (by railroad direction) of this station, used mainly on former stations.
  • next_east and next_west - The next station(s) east or west (geographically) of this station, used mainly on former stations.
    • By default, east corresponds to railroad north, and west corresponds to railroad south. If the opposite is true (i.e. east corresponds to railroad south), use next_topwest.

Station service legend: Provides a section for explaining the service symbols used in the infobox.

  • nolegend - removes station service legend from infobox for closed stations and non-NYCS stations
  • legend - overrides default station service legend

Examples

The following examples are of infoboxes from the Roosevelt Avenue/74th Street (New York City Subway) station. The second and third infoboxes, in particular, are for the Jackson Heights – Roosevelt Avenue (IND Queens Boulevard Line) component of the station.

Example 1

 Roosevelt Avenue/74th Street
 "7" train"E" train"F" train"F" express train"M" train"R" train
New York City Subway station complex
Alternate text for Example
Caption for Bad Title Example.png
Station statistics
Addressintersection of Roosevelt Avenue, 74th Street and Broadway
Jackson Heights, NY 11373
BoroughQueens
LocaleJackson Heights
Coordinates40°44′48.35″N 73°53′29.47″W / 40.7467639°N 73.8915194°W / 40.7467639; -73.8915194
DivisionA (IRT), B (IND)
Line   IRT Flushing Line
IND Queens Boulevard Line
Services   7  (all times)​
   E  (all times)
   F  (all times) <F>  (two rush hour trains, peak direction)
   M  (weekdays during the day)
   R  (all times except late nights)
TransitQ33 bus to LaGuardia Airport
Q47 bus to LaGuardia Marine Air Terminal
Other information
AccessibleThis station is compliant with the Americans with Disabilities Act of 1990 ADA-accessible
Traffic
2023
Rank out of 423
Location
Infobox New York City Subway station is located in New York City Subway
Infobox New York City Subway station
Infobox New York City Subway station is located in New York City
Infobox New York City Subway station
Infobox New York City Subway station is located in New York
Infobox New York City Subway station
Street map

Map

Station service legend
Symbol Description
Stops all times Stops in station at all times
Stops all times except late nights Stops all times except late nights
Stops late nights only Stops late nights only
Stops late nights and weekends Stops late nights and weekends only
Stops weekdays during the day Stops weekdays during the day
Stops weekends during the day Stops weekends during the day
Stops all times except rush hours in the peak direction Stops all times except rush hours in the peak direction
Stops all times except weekdays in the peak direction Stops all times except weekdays in the peak direction
Stops daily except rush hours in the peak direction Stops all times except nights and rush hours in the peak direction
Stops rush hours only Stops rush hours only
Stops rush hours in the peak direction only Stops rush hours in the peak direction only
Station closed Station is closed
(Details about time periods)

The first example provides information about the station complex.

{{Infobox New York City Subway station
| name = Roosevelt Avenue/74th Street
| type = complex
| image = Bad Title Example.png
| image_caption = Caption for Bad Title Example.png
| image_size = 200px
| alt = Alternate text for Example
| bg_color = black
| address = intersection of Roosevelt Avenue, 74th Street and Broadway <br/>Jackson Heights, NY 11373
| borough = [[Queens]]
| locale = [[Jackson Heights, Queens|Jackson Heights]]
| coordinates = {{coord|40|44|48.35|N|73|53|29.47|W|type:railwaystation_region:US|display=inline}}
| division = IRT/IND
| line = [[IRT Flushing Line]]<br>[[IND Queens Boulevard Line]]
| service = Roosevelt
| accessible = yes
| connection = [[Q33 (New York City bus)|Q33]] bus to [[LaGuardia Airport]]<br/>[[Q47 (New York City bus)|Q47]] bus to LaGuardia [[Marine Air Terminal]]
| passengers = 16.467 million
| pass_year = 2008
| pass_percent = 3.14
| rank = 14
}}
  1. ^ "Glossary". Second Avenue Subway Supplemental Draft Environmental Impact Statement (SDEIS) (PDF). Vol. 1. Metropolitan Transportation Authority. March 4, 2003. pp. 1–2. Archived from the original (PDF) on February 26, 2021. Retrieved January 1, 2021.
  2. ^ "Annual Subway Ridership (2018–2023)". Metropolitan Transportation Authority. 2023. Retrieved April 20, 2024.

Example 2

The second example provides information about the IND Queens Boulevard Line level. The infobox for the IRT Flushing Line level has a similar format.

 Jackson Heights–
 Roosevelt Avenue
 "E" train"F" train"F" express train"M" train"R" train
New York City Subway station (rapid transit)
Alternate text for Example
Caption for Bad Title Example.png
Station statistics
Coordinates40°44′48.35″N 73°53′29.47″W / 40.7467639°N 73.8915194°W / 40.7467639; -73.8915194
DivisionB (IND)
LineIND Queens Boulevard Line
Services   E  (all times)
   F  (all times) <F>  (two rush hour trains, peak direction)
   M  (weekdays during the day)
   R  (all times except late nights)
Structureunderground
Platforms2 island platforms
Tracks4
Other information
OpenedAugust 19, 1933
AccessibleThis station is compliant with the Americans with Disabilities Act of 1990 ADA-accessible
Opposite-
direction
transfer
Yes
Traffic
2023
Rank out of 423
Services
Preceding station New York City Subway New York City Subway Following station
Queens Plaza
E 

Express
Forest Hills–71st Avenue
E F  <F>
services split
21st Street–Queensbridge
F  <F>

Express
Forest Hills–71st Avenue
E F  <F>
eastbound
65th Street
E F M R 

Local
Elmhurst Avenue
E F M R 
Location
Infobox New York City Subway station is located in New York City Subway
Infobox New York City Subway station
Infobox New York City Subway station is located in New York City
Infobox New York City Subway station
Infobox New York City Subway station is located in New York
Infobox New York City Subway station
Street map

Map

Station service legend
Symbol Description
Stops all times Stops in station at all times
Stops all times except late nights Stops all times except late nights
Stops late nights only Stops late nights only
Stops late nights and weekends Stops late nights and weekends only
Stops weekdays during the day Stops weekdays during the day
Stops weekends during the day Stops weekends during the day
Stops all times except rush hours in the peak direction Stops all times except rush hours in the peak direction
Stops all times except weekdays in the peak direction Stops all times except weekdays in the peak direction
Stops daily except rush hours in the peak direction Stops all times except nights and rush hours in the peak direction
Stops rush hours only Stops rush hours only
Stops rush hours in the peak direction only Stops rush hours in the peak direction only
Station closed Station is closed
(Details about time periods)


{{Infobox New York City Subway station
| name = Jackson Heights–<br/>&nbsp;Roosevelt Avenue
| image = Bad Title Example.png
| image_caption = Caption for Bad Title Example.png
| image_size = 200px
| alt = Alternate text for Example
| bg_color = #11117D
| bg_color_2 = #FF6E1A
| division = IND
| line = [[IND Queens Boulevard Line]]
| service = Queens
| structure = underground
| platforms = 2 [[island platform]]s
| tracks = 4
| open_date = 	August 19, 1933
| accessible = yes
| adjacent_stations = {{Adjacent stations|system=New York City Subway
|line1=Queens express Roosevelt|left1=Queens Plaza|right1=Forest Hills–71st Avenue|note-left1={{NYCS Queens Plaza express|time=1}}|note-right1={{NYCS Queens express|time=1}}
|line2=Queens express via 63rd|left2=21st Street–Queensbridge|right2=Forest Hills–71st Avenue|note-left2={{NYCS 63rd IND|time=1}}|note-right2={{NYCS Queens express|time=1}}
|line3=Queens local|left3=65th Street|right3=Elmhurst Avenue|note-left3={{NYCS Queens local|time=1}}|note-right3={{NYCS Queens local|time=1}}}}
| layout=
| coordinates = {{coord|40|44|48.35|N|73|53|29.47|W|type:railwaystation_region:US|display=inline}}
}}
  1. ^ "Glossary". Second Avenue Subway Supplemental Draft Environmental Impact Statement (SDEIS) (PDF). Vol. 1. Metropolitan Transportation Authority. March 4, 2003. pp. 1–2. Archived from the original (PDF) on February 26, 2021. Retrieved January 1, 2021.
  2. ^ "Annual Subway Ridership (2018–2023)". Metropolitan Transportation Authority. 2023. Retrieved April 20, 2024.

Microformat

The HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates

If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.

If it has a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • uid
  • url
  • vcard

Geo is produced by calling {{coord}}, and uses HTML classes:

  • geo
  • latitude
  • longitude

Please do not rename or remove these classes nor collapse nested elements which use them.

Precision

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.

See also