Template:Singapore MRT stations: Difference between revisions
No edit summary |
Update |
||
Line 14: | Line 14: | ||
* [[Choa Chu Kang MRT/LRT station|Choa Chu Kang]] |
* [[Choa Chu Kang MRT/LRT station|Choa Chu Kang]] |
||
* [[Yew Tee MRT station|Yew Tee]] |
* [[Yew Tee MRT station|Yew Tee]] |
||
* ''[[Sungei Kadut MRT station|Sungei |
* ''[[Sungei Kadut MRT station|Sungei Kadut]]'' |
||
* [[Kranji MRT station|Kranji]] |
* [[Kranji MRT station|Kranji]] |
||
* [[Marsiling MRT station|Marsiling]] |
* [[Marsiling MRT station|Marsiling]] |
||
Line 103: | Line 103: | ||
{{Navbox|child| groupwidth = 4em |
{{Navbox|child| groupwidth = 4em |
||
| group1 = NELe |
| group1 = NELe - 2023 |
||
| list1 = |
| list1 = |
||
* ''[[Punggol Coast MRT station|Punggol Coast]]''}} |
* ''[[Punggol Coast MRT station|Punggol Coast]]''}} |
||
Line 193: | Line 193: | ||
* [[Expo MRT station|Expo]] |
* [[Expo MRT station|Expo]] |
||
{{Navbox|child| groupwidth = 4em |
{{Navbox|child| groupwidth = 4em |
||
| |
| group1 = DTL3e - 2024 |
||
| |
| list1 = |
||
* ''[[Xilin MRT station|Xilin]]'' |
* ''[[Xilin MRT station|Xilin]]'' |
||
* ''[[Sungei Bedok MRT station|Sungei Bedok]]''}} |
* ''[[Sungei Bedok MRT station|Sungei Bedok]]''}} |
||
{{Navbox|child| groupwidth = 4em |
|||
| group2 = DTL2e - 2030 |
|||
| list2 = |
|||
* ''[[Sungei Kadut MRT station|Sungei Kadut]]''}} |
|||
}} |
}} |
||
Revision as of 13:08, 25 May 2019
Usage
This template selectively displays the stations of various Singapore MRT lines, as well as their respective depots and operators in a navbox. To select which lines are displayed, use the parameters |ns=
, |ew=
, |ne=
, |cc=
, |dt=
, |te=
, |jr=
and |cr=
. Give each parameter any value to make that line display, and leave the parameter unset to make the line stay hidden. For example,
{{Singapore MRT stations|ne=yes|jr=yes}}
displays:
If adding new lines to this template, please ensure that List of Singapore MRT 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 MRT 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 MRT stations
|ns =
|ew =
|ne =
|cc =
|dt =
|te =
|jr =
|cr =
|all =
}}
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:
{{Singapore MRT stations|state=collapsed}}
will show the template collapsed, i.e. hidden apart from its title bar.{{Singapore MRT stations|state=expanded}}
will show the template expanded, i.e. fully visible.