Template:Infobox New York City Subway station/doc
This is a documentation subpage for Template:Infobox New York City Subway station. It may contain usage information, categories and other content that is not part of the original template page. |
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 and Staten Island Railway stations.
Usage
Copy and paste the template below:
{{Infobox New York City Subway station | name = | type = | type2 = | image = | image_size = | image_caption = | alt = | address = | borough = | locale = | coordinates = | line = | service = | transfer = | connection = | structure = | depth = | levels = | platforms = | tracks = | open_date = | close_date = | rebuilt = | accessible = | acc_note = | cross_platform = | former = | other_exits = | passengers = | pass_year = | pass_percent = | next_north = | next_north_acc = | next_south = | next_south_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:
- "NYCS" (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
- "custom" - if "custom" is put as the value for the type parameter, insert a custom value in the type_custom parameter.
- type2 - Status of the type of station (e.g. Closed, Former, Future, Planned). Must be uppercase, as this goes before the type 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_custom - Services for non-New York City Subway lines and closed stations
- 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 () 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)
- 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
- pass_year – Year passenger information was gathered
- pass_percent – Percentage increase or decrease in usage
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.
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 | |||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
New York City Subway station complex | |||||||||||||||||||||||||||||||
Station statistics | |||||||||||||||||||||||||||||||
Address | intersection of Roosevelt Avenue, 74th Street and Broadway Jackson Heights, NY 11373 | ||||||||||||||||||||||||||||||
Borough | Queens | ||||||||||||||||||||||||||||||
Locale | Jackson Heights | ||||||||||||||||||||||||||||||
Coordinates | 40°44′48.35″N 73°53′29.47″W / 40.7467639°N 73.8915194°W | ||||||||||||||||||||||||||||||
Division | A (IRT), B (IND)[1] | ||||||||||||||||||||||||||||||
Line | IRT Flushing Line IND Queens Boulevard Line | ||||||||||||||||||||||||||||||
Services | 7 (all times) <7> (rush hours until 9:30 p.m., peak direction) E (all times) F (all times) <F> (two rush hour trains, peak direction) M (weekdays during the day) R (all times except late nights) | ||||||||||||||||||||||||||||||
Transit | Q33 bus to LaGuardia Airport Q47 bus to LaGuardia Marine Air Terminal | ||||||||||||||||||||||||||||||
Other information | |||||||||||||||||||||||||||||||
Accessible | ADA-accessible | ||||||||||||||||||||||||||||||
Traffic | |||||||||||||||||||||||||||||||
2023 | [2] | ||||||||||||||||||||||||||||||
Rank | out of 423[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 | 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 | |||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
New York City Subway station (rapid transit) | |||||||||||||||||||||||||||||||
Station statistics | |||||||||||||||||||||||||||||||
Coordinates | 40°44′48.35″N 73°53′29.47″W / 40.7467639°N 73.8915194°W | ||||||||||||||||||||||||||||||
Division | B (IND)[1] | ||||||||||||||||||||||||||||||
Line | IND 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) | ||||||||||||||||||||||||||||||
Structure | underground | ||||||||||||||||||||||||||||||
Platforms | 2 island platforms | ||||||||||||||||||||||||||||||
Tracks | 4 | ||||||||||||||||||||||||||||||
Other information | |||||||||||||||||||||||||||||||
Opened | August 19, 1933 | ||||||||||||||||||||||||||||||
Accessible | ADA-accessible | ||||||||||||||||||||||||||||||
Opposite- direction transfer | Yes | ||||||||||||||||||||||||||||||
Traffic | |||||||||||||||||||||||||||||||
2023 | [2] | ||||||||||||||||||||||||||||||
Rank | out of 423[2] | ||||||||||||||||||||||||||||||
Station succession | |||||||||||||||||||||||||||||||
Next north | Template:NYCS next Template:NYCS next | ||||||||||||||||||||||||||||||
Next south | Template:NYCS next Template:NYCS next Template:NYCS next | ||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
|
{{Infobox New York City Subway station | name = Jackson Heights–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
- Template:Infobox New York City Subway station/doc(edit talk links history)
- Wikipedia:WikiProject New York City Public Transportation
- Template:Infobox station
- Template:Infobox rail line
- ^ a b "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.
- ^ a b c d "Annual Subway Ridership (2018–2023)". Metropolitan Transportation Authority. 2023. Retrieved April 20, 2024.