Template:NYCS stations navbox by line/sandbox
This is the current revision of this page, as edited by Frietjes (talk | contribs) at 17:55, 23 May 2022 (migrating Template:NYCS color to adjacent stations). The present address (URL) is a permanent link to this version.
This template's initial visibility currently defaults to autocollapse
, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.
To change this template's initial visibility, the |state=
parameter may be used:
{{NYCS stations navbox by line|state=collapsed}}
will show the template collapsed, i.e. hidden apart from its title bar.{{NYCS stations navbox by line|state=expanded}}
will show the template expanded, i.e. fully visible.
This is the template sandbox page for Template:NYCS stations navbox by line (diff). |
Usage
[edit]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:
Jerome Ave. Line |
|
---|---|
|
Closed and demolished stations will be added later. Trunk line listings are colored in this navigation box.
All parameters
[edit]{{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.
This template's initial visibility currently defaults to autocollapse
, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.
To change this template's initial visibility, the |state=
parameter may be used:
{{NYCS stations navbox by line|state=collapsed}}
will show the template collapsed, i.e. hidden apart from its title bar.{{NYCS stations navbox by line|state=expanded}}
will show the template expanded, i.e. fully visible.
See also
[edit]Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.