Template:Singapore LRT stations
Usage
This template selectively displays the stations of various Singapore LRT lines, as well as their respective depots and operators in a navbox. To select which lines are displayed, use the parameters |bukit-panjang=
, |sengkang=
and |punggol=
. Give each parameter any value to make that line display, and leave the parameter unset to make the line stay hidden. For example,
{{Singapore LRT stations|punggol=yes}}
displays:
If adding new lines to this template, please ensure that List of Singapore LRT stations is updated to match. The list page includes a copy of this template, showing all of the lines, and is also linked from the title bar of this template.
Full template
To display the full template with every line, use the parameter |all=
by setting it to any value:
{{Singapore LRT stations|all=yes}}
This gives:
Blank declaration
You can copy and paste this blank template for use, inserting a value for each of the lines that's to be displayed and either deleting or leaving unset the lines that aren't to be displayed.
{{Singapore LRT stations |bukit-panjang = |sengkang = |punggol = |all = }}
Initial visibility: currently defaults to autocollapse
To set this template's initial visibility, the |state=
parameter may be used:
|state=collapsed
:{{Singapore LRT stations|state=collapsed}}
to show the template collapsed, i.e., hidden apart from its title bar|state=expanded
:{{Singapore LRT stations|state=expanded}}
to show the template expanded, i.e., fully visible|state=autocollapse
:{{Singapore LRT stations|state=autocollapse}}
If the |state=
parameter in the template on this page is not set, the template's initial visibility is taken from the |default=
parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse
.