Jump to content

Template:Infobox New York City Subway station

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by NE2 (talk | contribs) at 22:18, 22 March 2007 (These rows don't seem to improve the infobox, but enlarge it.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.


Services{{NYCS {{{service}}}|time=1}}

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

New York City Subway station
Roosevelt Avenue/74th Street
Disabled access
Line[[IRT Flushing Line
IND Queens Boulevard Line]]
Services7 all timesE all timesF all times <F> two rush hour trains, peak directionM weekdays during the dayR all times except late nights
ConnectionQ33 bus to LaGuardia Airport
Q47 bus to LaGuardia Marine Air Terminal

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.

New York City Subway station
Jackson Heights–
 Roosevelt Avenue
Disabled access
Line[[IND Queens Boulevard Line]]
ServicesE all timesF all times <F> two rush hour trains, peak directionM weekdays during the dayR all times except late nights
Platforms2 island platforms
Tracks4
OpenedAugust 19, 1933


{{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}}
}}

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