This is the template sandbox page for Template:Infobox New York City Subway station (diff). See also the companion subpage for test cases. |
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.
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 =
}}
Top portion of infobox:
Station statistics:
{{coord}}
.{{NYCS transfer}}
with HTML breaks for additional stations.Other information:
Traffic:
Station succession:
Station service legend: Provides a section for explaining the service symbols used in the infobox.
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.
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
| 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
}}
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] | ||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
|
{{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}}
}}
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.
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.
hCard uses HTML classes including:
Geo is produced by calling {{coord}}, and uses HTML classes:
Please do not rename or remove these classes nor collapse nested elements which use them.
When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.