Template:Infobox NYCS/doc

From Wikipedia, the free encyclopedia

This is the template documentation page for Template:Infobox NYCS.

This page is not necessarily intended to be viewed directly. If it uses variables, some links may appear broken. Do not replace these variables with hardcoded page names or URLs.


{{Infobox NYCS/doc}} inserts a standardized infobox providing basic information about stations on the New York City Subway.

Contents

[edit] Usage

[edit] Complete syntax

This shows {{Infobox NYCS/doc}} with all possible parameters. The functionality of many of these parameters overlap; thus, the infobox should never be used as displayed here. Rather, it is best to cut-and-paste the following code and fill in the necessary parameters only.

{{Infobox NYCS
| name = 
| accessible = 
| image = 
| font_color = 
| bg_color = 
| font_color_2 = 
| bg_color_2 = 
| line = 
| line_2 = 
| service = 
| service_custom = 
| platforms = 
| tracks = 
| borough = 
| coords = 

| transfer_station = 
| transfer_station_acc = 
| transfer_line = 
| transfer_service = 
| transfer_custom = 
| transfer_station_2 = 
| transfer_station_2_acc = 
| transfer_line_2 = 
| transfer_service_2 = 
| transfer_custom_2 = 
| transfer_station_3 = 
| transfer_station_3_acc = 
| transfer_line_3 = 
| transfer_service_3 = 
| transfer_custom_3 = 

| connection = 
| connection_2 = 

| open_date = 
| close_date = 

| north_station = 
| north_station_acc = 
| north_line = 
| north_service = 
| south_station = 
| south_station_acc =
| south_line = 
| south_service = 

| north_local_station = 
| north_local_station_acc = 
| north_local_service = 
| north_express_station = 
| north_express_station_acc = 
| north_express_service = 
| south_local_station = 
| south_local_station_acc = 
| south_local_service = 
| south_express_station = 
| south_express_station_acc = 
| south_express_service = 

| north_custom_station = 
| north_custom_station_2 = 
| north_custom_station_3 = 
| south_custom_station = 
| south_custom_station_2 = 
| south_custom_station_3 = 
}}

[edit] Local station

This is a typical infobox configuration describing a local station. This code assumes that the station

  • is not ADA-compliant
  • is on a single line
  • is not on the BMT Broadway Line (the infobox heading text defaults to white, while BMT Broadway Line stations must use black)
  • lacks free transfers to any other subway line
  • lacks connections to commuter rail or important buses

In addition, it assumes that the article

  • does not have an image file representative of the station
  • uses only one line color

After inserting into an article, edit the code as necessary, inserting missing parameters if needed.

{{Infobox NYCS
| name = 
| bg_color = 
| line = 
| service = 
| platforms = 
| tracks = 
| borough = 
| open_date = 
| north_station = 
| north_line = 
| north_service = 
| south_station = 
| south_line = 
| south_service = 
}}

[edit] Express station

This is a typical infobox configuration describing an express station. It makes the same assumptions as the local station code above, except it has provisions for identifying both the next local station and the next express station, both of which are assumed to not be ADA-accessible.

{{Infobox NYCS
| name = 
| bg_color = 
| line = 
| service = 
| platforms = 
| tracks = 
| borough = 
| open_date = 
| north_line = 
| north_local_station = 
| north_local_service = 
| north_express_station = 
| north_express_service = 
| south_line = 
| south_local_station = 
| south_local_service = 
| south_express_station = 
| south_express_service = 
}}

[edit] Parameter list

The following table details every possible parameter for {{Infobox NYCS/doc}}.

Parameter Notes Example
name (optional) Station name 74th Street-Broadway
accessible (optional) Indicates accessibility. Either "yes," "northbound," or "southbound" (indicating full accessibility, on the northbound side only, and on the southbound side only). yes
image (optional) An image file, previously uploaded to Wikipedia. Image will be resized to 250 pixels in width. Jacksonhts Subway.jpg
font_color (optional) Font color of text in "Station information" banner. Use either "black" (only for stations using BMT Broadway Line yellow) or "white" (for all other). Defaults to white if left blank or omitted. white
bg_color Background color in "Station information" banner. Use RGB or hexadecimal value as found here. #870061
font_color_2 (optional) Font color of text in "Other" banner. Use either "black" (only for BMT Broadway Line stations) or "white" (for all other). Defaults to white if left blank or omitted. black
bg_color_2 (optional) Background color in "Other" banner. Use RGB or hexadecimal value as found here. Defaults to same value as bg_color if left blank or omitted. #FF6E1A
line (optional) Subway line, exactly as in title of corresponding Wikipedia article. IRT Flushing Line
line_2 (optional) If applicable, a second subway line, exactly as in title of corresponding Wikipedia article IND Queens Boulevard Line
service The name of the applicable line template as given here, with "NYCS" omitted. Flushing local
service_custom (optional) Complete coding for service information, if service field is insufficient. {{NYCS Eighth south}} (upper level)<br />{{NYCS Sixth}} (lower level)
platforms (optional) Information about platforms. [[Side platform]]s
tracks (optional) Number of tracks, with additional information if necessary. 3
borough (optional) Borough that the station is located in. Queens
coords (optional) Coordinates giving the station's location. Use {{coor title dms}}. {{coor title dms|40|40|44.11|N|73|54|12.43|W}}
open_date (optional) Date of station opening. [[April 21]], [[1917]]
close_date (optional) Date of station closing (if applicable).
Subway transfer (if applicable)
transfer_station Name of the station on the line being transferred to. Roosevelt Avenue-Jackson Heights
transfer_station_acc (optional) Indicates accessibility of the transfer station. Takes same values as accessible parameter. yes
transfer_service The name of the applicable line template as listed here, with "NYCS" omitted. Queens
transfer_line Subway line being transferred to, exactly as in the title of the corresponding Wikipedia article. IND Queens Boulevard Line
transfer_custom Custom coding for transfer field, if necessary. {{NYCS Queens 53rd}} at [[23rd Street-Ely Avenue (IND Queens Boulevard Line)|]] ([[IND Queens Boulevard Line]]) ''([[MetroCard]] only)''
Second subway transfer (if applicable)
transfer_station_2 See transfer_station
transfer_station_2_acc See transfer_station_acc
transfer_line_2 See transfer_line
transfer_service_2 See transfer_service
transfer_custom_2 See transfer_custom
Third subway transfer (if applicable)
transfer_station_3 See transfer_station
transfer_station_3_acc See transfer_station_acc
transfer_line_3 See transfer_line
transfer_service_3 See transfer_service
transfer_custom_3 See transfer_custom
Connections to commuter rail and airport buses (if applicable)
(if only one or the other exists, use only connection field; if both exist, use connection for rail and connection_2 for buses)
connection (optional) Complete coding for desired connection information. '''{{LIRR}}''' at [[Jamaica (LIRR station)|]] {{LIRR acc}}
connection_2 (optional) Complete coding for desired connection information. [[Q33 (New York City bus)|]] bus to [[LaGuardia Airport]]
NOTE: Any combination of the following tags (denoting the next north/south station) may be employed, as station situations require.
Local station: Next north/south
north_station Name of next station in the direction of railroad north. 82nd Street-Jackson Heights
north_station_acc (optional) Indicates accessibility of next station north. Takes same values as accessible parameter. yes
north_line Subway line of next station northward. IRT Flushing Line
north_service The line template describing services between the current station and the next station northward, as listed here, with "NYCS" omitted. Flushing local
south_station Name of next station in the direction of railroad south. 69th Street-Fisk Avenue
south_station_acc (optional) Indicates accessibility of next station south. Takes same values as accessible parameter. no
south_line Subway line of next station southward. IRT Flushing Line
south_service The line template describing services between the current station and the next station southward, as listed here, with "NYCS" omitted. Flushing local
Express station: Next north/south
(if next station is the same on both local and express services, use local station fields)
north_line See north_line above
north_local_station Name of next station northward on the local service. Elmhurst Avenue
north_local_station_acc (optional) Indicates accessibility of next local station north. Takes same values as accessible parameter. no
north_local_service The service template describing services between the current station and the next local station northward, as listed here, with "NYCS" omitted. Queens local
north_express_station Name of next station northward on the express service. 71st-Continental Avenues-Forest Hills
north_express_station_acc (optional) Indicates accessibility of next express station north. Takes same values as accessible parameter. no
north_express_service The service template describing express' services between the current station and the next express station northward, as listed here, with "NYCS" omitted. Queens
south_line See south_line above
south_local_station Name of next station southward on the local service. 65th Street
south_local_station_acc (optional) Indicates accessibility of next local station south. Takes same values as accessible parameter. no
south_local_service The service template describing services between the current station and the next local station southward, as listed here, with "NYCS" omitted. Queens local
south_express_station Name of next station southward on the express service. Queens Plaza
south_express_station_acc (optional) Indicates accessibility of next express station south. Takes same values as accessible parameter. yes
south_express_service The service template describing express services between the current station and the next express station southward, as listed here, with "NYCS" omitted. Queens Plaza
Custom: Next north/south
(use for unusual station local/express configurations, or whenever the other north/south fields are simply insufficient)
north_custom_station Complete coding for the first set of custom "Next north" information. Culver Line:<br />[[Jay Street-Borough Hall (IND Eighth Avenue Line)|]]<br />{{NYCS Jay Street local}}
north_custom_station_2 Complete coding for the second set of custom "Next north" information. Crosstown Line:<br />[[Hoyt Street-Schermerhorn Street (IND Fulton Street Line)|]]<br />{{NYCS Crosstown}}
north_custom_station_3 Complete coding for the third set of custom "Next north" information. As in previous examples
south_custom_station Complete coding for the first set of custom "Next south" information. Fulton Street Line:<br />[[104th Street-Oxford Avenue (IND Fulton Street Line)|]]<br />{{NYCS Fulton far east}}
south_custom_station_2 Complete coding for the second set of custom "Next south" information. Rockaway Line<br />[[Aqueduct-North Conduit Avenue (IND Rockaway Line)|]]<br />{{NYCS Rockaway}}
south_custom_station_3 Complete coding for the third set of custom "Next south" information. As in previous examples

[edit] Examples

New York City Subway station
Roosevelt Avenue–Jackson Heights
Handicapped/disabled access
Station information
Line IND Queens Boulevard Line
Services E F G(345) R(1234) V(123)
Transfer 7 at 74th Street-Broadway Handicapped/disabled access (IRT Flushing Line)
Platforms 2 island platforms
Tracks 4
Other
Borough Queens
Opened August 19, 1933
Connections Q33 bus to LaGuardia Airport
Q47 bus to LGA Marine Air Terminal
Next north Local:
Elmhurst Avenue
E(5) G(345) R(1234) V(123)
Express:
71st-Continental Avenue-Forest Hills
E(1234) F
Next south Local:
65th Street
E G R V
Express:
Queens Plaza
E
63rd Street Line via Express:
21st Street–Queensbridge
F

To the right is an example of the infobox; below is the template call that produces it.

{{Infobox NYCS

| name = Roosevelt Avenue–Jackson Heights
| accessible = yes
| bg_color = #11117D
| bg_color_2 = #FF6E1A
| line = IND Queens Boulevard Line
| service = Queens
| platforms = 2 [[island platform]]s
| tracks = 4
| borough = Queens
| transfer_station = 74th Street-Broadway
| transfer_station_acc = yes
| transfer_line = IRT Flushing Line
| transfer_service = Flushing local
| connection = '''[[Transportation to New York City area airports#Q33 82nd Street|Q33]]''' bus to [[LaGuardia Airport]]
| connection_2 = '''[[Transportation to New York City area airports#Q47 74th Street|Q47]]''' bus to [[Marine Air Terminal|LGA Marine Air Terminal]]
| open_date = [[August 19]], [[1933]]
| north_line = IND Queens Boulevard Line
| north_local_station = Elmhurst Avenue
| north_local_service = Queens local
| north_express_station = 71st-Continental Avenue-Forest Hills
| north_express_service = Queens express
| south_custom_station = Local:
[[65th Street (IND Queens Boulevard Line)|65th Street]]
{{NYCS Queens local}}
| south_custom_station_2 = Express:
[[Queens Plaza (IND Queens Boulevard Line)|Queens Plaza]]
{{NYCS Queens Plaza express}}
| south_custom_station_3 = 63rd Street Line via Express:
[[21st Street-Queensbridge (IND 63rd Street Line)|21st Street–Queensbridge]]
{{NYCS 63rd IND}}
}}

[edit] See also