Module:Adjacent stations/KTM
Appearance
This is a data module for Module:Adjacent stations. It supports services operated by Keretapi Tanah Melayu. For inter-city rail services, use Module:Adjacent stations/KTM Intercity. For commuter rail services, use Module:Adjacent stations/KTM Komuter. For electric train service, use Module:Adjacent stations/KTM ETS.
Lines
[edit]Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
West Coast Line | West Coast |
000000 |
| |
East Coast Line | East Coast |
000000 |
|
Former services
[edit]Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
Ampang Line | Ampang |
000000 |
| |
Rantau Panjang Line | Rantau Panjang |
000000 |
| |
North–South Line | North South |
000000 |
| |
Jurong Freight Line | Jurong |
000000 |
|
local s = "%1 station"
local p = {
["system title"] = "[[Keretapi Tanah Melayu]]",
["system icon"] = "[[File:Keretapi Tanah Melayu Berhad Logo.svg|20px|link=Keretapi Tanah Melayu]]",
["name format"] = "font-family: Helvetica; background-color: #3c5a9f; font-size: 150%; text-transform:uppercase; color: #FFFFFF; padding: 0.5em; line-height: 100%; white-space: nowrap; border: 2px solid #d9d9d9; border-top-left-radius: 0em; border-top-right-radius: 0em; border-bottom-right-radius: 0em; border-bottom-left-radius: 0em; margin: 0.25em; text-align: center",
["header background color"] = "3c5a9f",
["station format"] = {
"%1 railway station",
["Jurong Port"] = "Jurong Port",
["Woodlands"] = "[[Woodlands Train Checkpoint|Woodlands]]",
["JB Sentral"] = "Johor Bahru Sentral station",
["Newton"] = "[[Newton railway station, Singapore|Newton]]"
},
["lines"] = {
["_default"] = {
["title"] = "[[Keretapi Tanah Melayu]]",
["color"] = "000000",
},
["Ampang"] = {
["title"] = "[[KTM West Coast railway line|Ampang Line]]",
["left terminus"] = "Kuala Lumpur",
["right terminus"] = {"Salak Selatan", "Ampang"},
},
["Rantau Panjang"] = {
["title"] = "Rantau Panjang Line",
["left terminus"] = "Rantau Panjang",
["right terminus"] = "Pasir Mas",
},
["North South"] = {
["title"] = "[[KTM West Coast railway line|North–South Line]]",
["left terminus"] = "Padang Besar",
["right terminus"] = "Tanjong Pagar",
},
["Jurong"] = {
["title"] = "[[Jurong railway line|Jurong Freight Line]]",
["left terminus"] = "Jurong Port",
["right terminus"] = "Bukit Timah",
},
["West Coast"] = {
["title"] = "[[KTM West Coast railway line|West Coast Line]]",
["left terminus"] = "Padang Besar",
["right terminus"] = "Woodlands",
["types"] = {
["Batu Caves"] = {
["title"] = "Batu Caves Branch",
},
["Port Klang"] = {
["title"] = "[[Port Klang Line|Port Klang Branch]]",
},
},
},
["East Coast"] = {
["title"] = "[[KTM East Coast railway line|East Coast Line]]",
["left terminus"] = "Tumpat",
["right terminus"] = "Gemas",
},
},
}
return p