Template:SMRT code
This template is used to generate the formatted code for stations on the Mass Rapid Transit of Singapore.
To call the code of a station, use {{SMRT code|line prefix|station number(|line prefix 2|station number 2|...)}}. Examples are provided in the table below.
For indirect interchanges (e.g. Tampines MRT station; EW2 – DT32 ), do not call this template alone. Instead, use the format
{{SMRT code|(single-line parameters)}}–{{SMRT code|(single-line parameters)}}.
| Type | Code | Result |
|---|---|---|
| Station (1 line) | {{SMRT code|EW|3}}
|
EW3 (Simei MRT station) |
| Station (1 line) | {{SMRT code|PW|2}}
|
PW2 (Teck Lee LRT station) |
| Interchange (2 lines) | {{SMRT code|DT|6|CR|15}}
|
DT6 CR15 (King Albert Park MRT station) |
| Interchange (2 lines) (Special situation: the second station code is intentionally left absent) |
{{SMRT code|NE|16|STC}}
|
NE16 STC (Sengkang MRT/LRT station) |
| Interchange (3 lines) | {{SMRT code|NS|4|JS|1|BP|1}}
|
NS4 JS1 BP1 (Choa Chu Kang MRT/LRT station) |
| Interchange (3 lines) | {{SMRT code|NS|27|CE|2|TE|20}}
|
NS27 CE2 TE20 (Marina Bay MRT station) |
TemplateData
TemplateData for SMRT code
This template is used to generate the formatted code for stations on the Mass Rapid Transit of Singapore.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| First/only line | 1 | Line code of the first/only line your station is on | String | required |
| Station code on first/only line | 2 | Numerical code of the station on its first/only line | Number | required |
| First/only A | A1 | Either "yes", "y", "true", "on" or "1" (case-insensitive) will add a capital A to the end of the station number for the first/only line. For example, Brickland station is represented by the station number NS3A.
| Boolean | optional |
| Second line | 3 | Line code of second line the station is on | String | optional |
| Station code on second line | 4 | Numerical code of the station on its second line | Number | optional |
| Second A | A2 | Either "yes", "y", "true", "on" or "1" (case-insensitive) will add a capital A to the end of the station number for the second line.
| Unknown | optional |
| Third line | 5 | Line code of third line the station is on | String | optional |
| Station code on third line | 6 | Numerical code of the station on its third line | Number | optional |
| Third A | A3 | Either "yes", "y", "true", "on" or "1" (case-insensitive) will add a capital A to the end of the station number for the third line.
| Unknown | optional |
| Fourth line | 7 | Line code of fourth line the station is on | String | optional |
| Station code on fourth line | 8 | Numerical code of the station on its fourth line | Number | optional |
| Fourth A | A4 | Either "yes", "y", "true", "on" or "1" (case-insensitive) will add a capital A to the end of the station number for the fourth line.
| Unknown | optional |
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.