Template:Infobox New York City Subway station
File:Ambox warning yellow.svg | This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
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 = | 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_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.
- code - Official station code
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" class="" id="" style="" inline="1">riderref</syntaxhighlight>. If the parameters passengers and rank are not set, the pass_ref parameter is necessary to display the ridership information.
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 | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
File:MTA NYC logo.svg New York City Subway station complex | |||||||||||||||||||||||||||||
File:Bad Title Example.png | |||||||||||||||||||||||||||||
Station statistics | |||||||||||||||||||||||||||||
Address | intersection of Roosevelt Avenue, 74th Street and Broadway Jackson Heights, NY 11373 | ||||||||||||||||||||||||||||
Borough | Queens | ||||||||||||||||||||||||||||
Locale | Jackson Heights | ||||||||||||||||||||||||||||
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. | ||||||||||||||||||||||||||||
Division | A (IRT), B (IND)[1] | ||||||||||||||||||||||||||||
Line | <span class="legend-color" style="background-color:#Lua error: expandTemplate: template "NYCS color" does not exist.; color:;"> IRT Flushing Line IND Queens Boulevard Line | ||||||||||||||||||||||||||||
Services | <span class="legend-color" style="background-color:#Lua error: expandTemplate: template "NYCS color" does not exist.; color:;"> 7 Script error: No such module "NYCS SSI". (all times) <span class="legend-color" style="background-color:#Lua error: expandTemplate: template "NYCS color" does not exist.; color:;"> E Script error: No such module "NYCS SSI". (all times) <span class="legend-color" style="background-color:#Lua error: expandTemplate: template "NYCS color" does not exist.; color:;"> F Script error: No such module "NYCS SSI". (all times) <F> Script error: No such module "NYCS SSI". (two rush hour trains, peak direction) <span class="legend-color" style="background-color:#Lua error: expandTemplate: template "NYCS color" does not exist.; color:;"> M Script error: No such module "NYCS SSI". (weekdays until 11:00 p.m.) <span class="legend-color" style="background-color:#Lua error: expandTemplate: template "NYCS color" does not exist.; color:;"> R Script error: No such module "NYCS SSI". (all hours except late nights) | ||||||||||||||||||||||||||||
Transit | Q33 bus to LaGuardia Airport Q47 bus to LaGuardia Marine Air Terminal | ||||||||||||||||||||||||||||
Other information | |||||||||||||||||||||||||||||
Accessible | This station is compliant with the Americans with Disabilities Act of 1990 ADA-accessible | ||||||||||||||||||||||||||||
Traffic | |||||||||||||||||||||||||||||
2019 | [2] | ||||||||||||||||||||||||||||
Rank | out of 424[2] | ||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
|
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 }}
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 | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
File:MTA NYC logo.svg New York City Subway station (rapid transit) | |||||||||||||||||||||||||||||
File:Bad Title Example.png | |||||||||||||||||||||||||||||
Station statistics | |||||||||||||||||||||||||||||
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. | ||||||||||||||||||||||||||||
Division | B (IND)[3] | ||||||||||||||||||||||||||||
Line | IND Queens Boulevard Line | ||||||||||||||||||||||||||||
Services | <span class="legend-color" style="background-color:#Lua error: expandTemplate: template "NYCS color" does not exist.; color:;"> E Script error: No such module "NYCS SSI". (all times) <span class="legend-color" style="background-color:#Lua error: expandTemplate: template "NYCS color" does not exist.; color:;"> F Script error: No such module "NYCS SSI". (all times) <F> Script error: No such module "NYCS SSI". (two rush hour trains, peak direction) <span class="legend-color" style="background-color:#Lua error: expandTemplate: template "NYCS color" does not exist.; color:;"> M Script error: No such module "NYCS SSI". (weekdays until 11:00 p.m.) <span class="legend-color" style="background-color:#Lua error: expandTemplate: template "NYCS color" does not exist.; color:;"> R Script error: No such module "NYCS SSI". (all hours except late nights) | ||||||||||||||||||||||||||||
Structure | underground | ||||||||||||||||||||||||||||
Platforms | 2 island platforms | ||||||||||||||||||||||||||||
Tracks | 4 | ||||||||||||||||||||||||||||
Other information | |||||||||||||||||||||||||||||
Opened | August 19, 1933 | ||||||||||||||||||||||||||||
Accessible | This station is compliant with the Americans with Disabilities Act of 1990 ADA-accessible | ||||||||||||||||||||||||||||
Opposite- direction transfer | Yes | ||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
|
{{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 | 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}} }}
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
- ↑ "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.0 2.1 "Facts and Figures: Annual Subway Ridership 2014–2019". Metropolitan Transportation Authority. 2020. Retrieved May 26, 2020.
- ↑ "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.