Templat:S-line
Templat ini menggunakan fitur sintaks templat yang rumit.
Anda seharusnya sudah memahami penyetelan dan fungsi parser sebelum menyunting templat ini. Jika suntingan Anda menyebabkan permasalahan yang tidak diinginkan, mohon untuk membaliknya secepatnya, karena templat ini mungkin muncul pada sejumlah besar halaman. Ingat bahwa semua percobaan dan perbaikan harus diuji terlebih dahulu di Bak pasir atau di ruang pengguna Anda sebelum mengubah sesuatu di sini. |
S-line adalah templat kotak suksesi khusus yang menampilkan pranala artikel stasiun kereta api.
Penggunaan
S-line harus diawali dengan {{s-rail-start}} dan diakhiri dengan {{s-end}}. Sangat disarankan menggunakan {{s-rail}} meskipun tidak wajib digunakan.
S-line memiliki parameter sebagai berikut:
Parameter | Deskripsi | Catatan |
---|---|---|
system | Sistem menyatakan kepemilikan jalur | Sebaiknya berkorespondensi dengan Template:S-rail/lines |
line | Nama dari jalur | Sebaiknya singkat namun jelas (contoh: Orange untuk Orange Line) |
previous | Nama stasiun sebelumnya | |
next | Nama stasiun setelahnya | |
type | The left-hand line branch | Opsional |
type2 | The right-hand line branch | Opsional |
note | Information about the left-hand line branch | Opsional |
note2 | Information about the right-hand line branch | Opsional |
notemid | Information about the station itself | Opsional |
oneway1 | Indicates that trains do not operate towards the Previous station | Opsional |
oneway2 | Indicates that trains do not operate towards the Next station | Opsional |
rows1, hide1 | Used to have the Previous Station box cover multiple lines. See below for details. | Opsional |
rows2, hide2 | Used to have the Next Station box cover multiple lines. See below for details. | Opsional |
rowsmid, hidemid | Used to have the middle (Line) box cover multiple lines. See below for details. | Opsional |
transfer | Used to show lines available by direct transfer at an adjoining station. See below for details. | Opsional |
branch | Used to denote specific line branch information, in lieu of or in addition to the type parameters. |
Opsional |
state1, state2 | Allows the passing of an additional station parameter. Useful for disambiguation. | Opsional |
through1, through2 | Allows, instead of a next station, service passing to another line on the system. | Opsional |
Making it work
TemplateData
TemplateData untuk S-line
S-line is a specialised succession box template that links railway station articles
Parameter | Keterangan | Jenis | Status | |
---|---|---|---|---|
system | system | The system to which the line belongs | Kata | wajib diisi |
line | line | The name of the line | Kata | wajib diisi |
previous | previous | The name of the previous station, should correspond to a specific template name | Kata | opsional |
next | next | The name of the next station, should correspond to a specific template name | Kata | opsional |
type | type | The left-hand line branch | Kata | opsional |
type2 | type2 | The right-hand line branch | Kata | opsional |
note | note | Information about the left-hand line branch | Kata | opsional |
notemid | notemid | Information about the station itself | Kata | opsional |
note2 | note2 | Information about the right-hand line branch | Kata | opsional |
oneway1 | oneway1 | Indicates that trains do not operate towards the Previous station | Kata | opsional |
oneway2 | oneway2 | Indicates that trains do not operate towards the Next station | Kata | opsional |
through1 | through1 | Allows, instead of a previous station, service passing to another line on the system. | Kata | opsional |
through2 | through2 | Allows, instead of a next station, service passing to another line on the system. | Kata | opsional |
state1 | state1 | Allows the passing of an additional station parameter. Useful for disambiguation. | Kata | opsional |
state2 | state2 | Allows the passing of an additional station parameter. Useful for disambiguation. | Kata | opsional |
branch | branch | Can be used to describe a subset of a line. | Kata | opsional |
transfer | transfer | Used to show lines available by direct transfer at an adjoining station. | Kata | opsional |
round1 | round1 | If set displays 'Reverses direction' in left cell | Kata | opsional |
round2 | round2 | If set displays 'Reverses direction' in right cell | Kata | opsional |
circular | circular | If set hides 'toward' of both sides | Kata | opsional |
circular1 | circular1 | If set hides 'toward' of left cell only | Kata | opsional |
circular2 | circular2 | If set hides 'toward' of right cell only | Kata | opsional |
rows1 | rows1 | Number of rows for left hand column | Kata | opsional |
rowsmid | rowsmid | Number of rows for center hand column | Kata | opsional |
rows2 | rows2 | Number of rows for right hand column | Kata | opsional |
hide1 | hide1 | Hides the previous station, used when a previous row has 'rows1' set | Kata | opsional |
hidemid | hidemid | Hides this station, used when a previous row has 'rowsmid' set | Kata | opsional |
hide2 | hide2 | Hides the next station, used when a previous row has 'rows2' set | Kata | opsional |