Template:NYCS stations navbox by line

From Wikipedia, the free encyclopedia

Initial visibility

To set the template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{NYCS stations navbox by line|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{NYCS stations navbox by line|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{NYCS stations navbox by line|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter is not set, the template's initial visibility is taken from the |default= parameter in the template. For this template, that currently evaluates to autocollapse.

Template documentation[view] [edit] [history] [purge]

Usage

This template selectively displays the stations of various New York City Subway lines in a navbox, based on the line it is on. Current configuration only displays stations on lines that are currently open. Give each parameter a value to make that line display, and leave the parameter unset to make the line stay hidden.

For example,

{{NYCS stations navbox by line|jerome=yes
|dyre=
}}

displays:

Closed and demolished stations will be added later. Trunk line listings are colored in this navigation box.

All parameters

{{NYCS stations navbox by line
|42st=
|63st=
|2ave=
|4ave=
|6ave=
|7ave=
|8ave=
|archer=
|brighton=
|broadway=
|canarsie=
|concourse=
|crosstown=
|culver=
|dyre=
|eastern=
|flushing=
|franklin=
|fulton=
|jamaica=
|jerome=
|lexington=
|lenox=
|myrtle=
|nassau=
|newlots=
|nostrand=
|pelham=
|queens=
|rockaway=
|seabeach=
|westend=
|whiteplains=

|list only=
|state=
}}

A listing of all lines is available at List of New York City Subway lines.

See also

Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:NYCS_stations_navbox_by_line&oldid=800358637"
This content was retrieved from Wikipedia : http://en.wikipedia.org/wiki/Template:NYCS_stations_navbox_by_line
This page is based on the copyrighted Wikipedia article "Template:NYCS stations navbox by line"; it is used under the Creative Commons Attribution-ShareAlike 3.0 Unported License (CC-BY-SA). You may redistribute it, verbatim or modified, providing that you comply with the terms of the CC-BY-SA