Template:Infobox New York City Subway station

Documentation icon Template documentation[view] [edit] [history] [purge]

This is the syntax to create an infobox for New York City Subway and Staten Island Railway stations.

Usage

Copy and paste the template below:

{{Infobox New York City Subway station
| name             =
| type             =
| image            =
| image_size       =
| image_caption    =
| alt              =
| address          =
| borough          =
| locale           =
| 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_north_acc   =
| next_south       =
| next_south_acc   =
| next_topwest     =
| next_topwest_acc =
| next_east        =
| next_east_acc    =
| next_west        =
| next_west_acc    =
| nolegend         =
| legend           =
| map_type         =
| coordinates      = 
| wifi             =
| wifi_custom_ref  =
| 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.
    • "SIR" - a Staten Island Railway station
    • "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)
    • "SIRformer", "SIRfuture", "SIRtempclosed", "SIRplanned": same as above, for Staten Island Railway stations
    • "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 (Handicapped/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.
  • code - Official station code
  • wifi – If the station has Wi-Fi, a cellular network, or wireless
  • wifi_custom_ref – The number of the reference name for the "wifi" parameter

Traffic:

  • passengers – Number of passengers using the station. Overridden if given automatically
  • pass_year – Year passenger information was gathered. Overridden if given automatically
  • pass_percent – Percentage increase or decrease in usage. Overridden if given automatically
  • rank – Ridership rank, out of total stations. Overridden if given automatically
  • 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.
  • pass_ref – A custom reference for passenger ridership information. Otherwise it will use the default reference name <syntaxhighlight lang="text" enclose="none">riderref</syntaxhighlight>. If the parameters passengers and rank are not set, the pass_ref parameter is necessary to display the ridership information.

Station succession:

  • next_north and next_south - The next station(s) north or south (by railroad direction) of this station. Use {{NYCS next}} with HTML breaks for multiple stations.
  • next_north_acc and next_south_acc - The next station(s) north or south of this station that are wheelchair accessible. Stations in which there is an accessible cross-platform transfer should also be included. Use {{NYCS next}} with HTML breaks for multiple stations.
  • next_east and next_west - The next station(s) east or west (geographically) of this station. Use {{NYCS next}} with HTML breaks for multiple stations.
  • next_east_acc and next_west_acc - The next station(s) east or west of this station that are wheelchair accessible. Stations in which there is an accessible cross-platform transfer should also be included. Use {{NYCS next}} with HTML breaks for multiple 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 and next_topwest_acc.

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

Parameters to be deprecated

The following parameters that are currently used in station articles should be replaced. (The reason for this is to eventually reduce the size of this template for better performance and readability.)

  • caption (replaced with image_caption)
  • coords (use coordinates)

The following parameters have been removed:

  • SIR and station_complex (replace with 'type=SIR' or 'type=complex')
  • open_year and open_month_day (use open_date)
  • line_2 (use line with HTML breaks)
  • Transfer parameters (use transfer with HTML breaks):
    • transfer_station, transfer_line, transfer_service, transfer_station_acc, transfer_service_note, and transfer_custom
    • the above appended by _2 or _3
  • Next station parameters (use next_north or next_south with HTML breaks):
    • north_station, north_line, north_service, north_skip, north_local_station, north_local_service, north_express_station, north_express_service
    • the above with north replaced by south
    • north_custom_station, north_custom_station_2, north_custom_station_3
    • the above with north replaced by south
  • font_color, bg_color, font_color_2, bg_color_2 - Deprecated

Parameters not in use yet

The following parameters are not in use yet:

  • layout – Shows the station layout of the station. Not in use as all stations already have inline layouts.

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
MTA NYC logo.svg 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
ServicesTemplate:NYCS Roosevelt
Transit connectionsQ33 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
Wireless serviceTemplate:Wifi icon[1]
Traffic
Passengers (Template:Infobox New York City Subway station/ridership/year)Template:Infobox New York City Subway station/ridership[2]Expression error: Unrecognized punctuation character "[". Expression error: Unrecognized punctuation character "[".%
RankTemplate:Infobox New York City Subway station/ridership/rank out of 424[2]
Template:Infobox New York City Subway station/legend

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
| wifi = 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
}}

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
MTA NYC logo.svg 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
ServicesTemplate:NYCS Queens
Structureunderground
Platforms2 island platforms
Tracks4
Other information
OpenedAugust 19, 1933
AccessibleThis station is compliant with the Americans with Disabilities Act of 1990 ADA-accessible
Wireless serviceTemplate:Wifi icon[1]
Opposite-direction transfer availableTemplate:Infobox New York City Subway station/opposite transfer
Station succession
Next northTemplate:NYCS next
Template:NYCS next
Next adjacent station compliant with the Americans with Disabilities Act of 1990 northTemplate:NYCS next
Template:NYCS next
Next southTemplate:NYCS next
Template:NYCS next
Template:NYCS next
Next adjacent station compliant with the Americans with Disabilities Act of 1990 southTemplate:NYCS next
Template:NYCS next
Template:Infobox New York City Subway station/legend


{{Infobox New York City Subway station
| name = Jackson Heights–<br/> 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
| wifi = yes
| next_north = {{NYCS next | type=local | line=IND Queens Boulevard Line | station=Elmhurst Avenue | service=Queens local }}<br/>{{NYCS next | type=express | line=IND Queens Boulevard Line | station=Forest Hills–71st Avenue | service = Queens express }}
| next_south = {{NYCS next | type=local | line=IND Queens Boulevard Line | station=65th Street | service=Queens local }}<br/>{{NYCS next | type=express | line=IND Queens Boulevard Line | station=Queens Plaza | service = Queens Plaza express }}<br/>{{NYCS next | type=Express via 63rd Street | station=21st Street–Queensbridge | line=IND 63rd Street Line | service=63rd IND }}
| next_north_acc = {{NYCS next | type=Cross-platform transfer to/from express trains | line=IND Queens Boulevard Line | station=Forest Hills–71st Avenue | service = Queens local }}<br/>{{NYCS next | line=IND Queens Boulevard Line | station=Kew Gardens–Union Turnpike | service = Queens east }}
| next_south_acc = {{NYCS next | type=via Queens Boulevard| line=IND Queens Boulevard Line | station=Queens Plaza | service=Queens Plaza }}<br/>{{NYCS next | type=via 63rd Street | station=21st Street–Queensbridge | line=IND 63rd Street Line | service=63rd IND }}
| layout=
| coordinates = {{coord|40|44|48.35|N|73|53|29.47|W|type:railwaystation_region:US|display=inline}}
}}

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

  1. 1.0 1.1 "NYC Subway Wireless – Active Stations". Transit Wireless Wifi. Retrieved November 13, 2019.
  2. 2.0 2.1 "Facts and Figures: Annual Subway Ridership 2014–2019". Metropolitan Transportation Authority. 2020. Retrieved May 26, 2020.