Module:Adjacent stations/KLRT
Appearance
This is a data module for Module:Adjacent stations. It supports services operated by KLRT.
This template can be used to call the color of Klang Valley Rail Transit lines in and around Kuala Lumpur. The following are included in this template.
In order to call a line's color, the code {{rcr|KLRT|line}}
is used (where line is replaced by the actual line number or color). Note that this template is not case sensitive: i.e. {{rcr|KLRT|Red}}
produces the same result as {{rcr|KLRT|red}}
.
Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
Seremban Line | 1 or blue or Seremban or KB or KC or Batu Caves-Pulau Sebang |
1964b7 |
| |
Port Klang Line | 2 or red or Port Klang or KA or KD or Tanjung Malim-Port Klang |
dc241f |
| |
Ampang Line | 3 or orange or LRT1 or Ampang or AG |
fe8e10 |
| |
Sri Petaling Line | 4 or maroon or Sri Petaling or SP |
721422 |
| |
Kelana Jaya Line | 5 or ruby or LRT2 or Kelana Jaya or KJ |
e0115f |
| |
KLIA Ekspres | 6 or purple or KLIA Ekspres or KE |
8c238f |
| |
KLIA Transit | 7 or teal or KLIA Transit or KT |
33a8b5 |
| |
KL Monorail | 8 or lightgreen or Monorail or MR |
7dba00 |
| |
Kajang Line | 9 or green or MRT1 or Kajang or KG |
11753a |
| |
Skypark Link | 10 or brown or Skypark or KS |
8b4513 |
| |
Shah Alam | 11 or skyblue or LRT3 or Shah Alam or SA |
59b8e6 |
| |
Putrajaya Line | 12 or yellow or MRT2 or Putrajaya or PY |
faca05 |
| |
Circle Line | 13 or MRT3 or Circle or CC |
808080 |
| |
Putrajaya Monorail | 14 or PM |
808000 |
| |
BRT Sunway Line | 21 or darkgreen or B1 or Sunway or SB |
1e4d2b |
| |
BRT Federal Line | 22 or violet or B2 or Federal or FB |
4b0082 |
|
Source
Colors were obtained from the MRT3 Circle Line map at www.mymrt.com.my: MRT Corp or KTMB's GTFS static data
local QQQQ = "<span class=\"error\">???</span>[[Category:Pages using KLRT with unknown termini]]"
local p = {
["lines"] = {
["_default"] = {
["title"] = "[[%1 Line]]",
["color"] = "000000"
},
["Seremban"] = {
["color"] = "1964b7",
["left terminus"] = QQQQ,
["right terminus"] = QQQQ,
},
["Port Klang"] = {
["color"] = "dc241f",
["left terminus"] = QQQQ,
["right terminus"] = QQQQ,
},
["Ampang"] = {
["color"] = "fe8e10",
["left terminus"] = QQQQ,
["right terminus"] = QQQQ,
},
["Sri Petaling"] = {
["color"] = "721422",
["left terminus"] = QQQQ,
["right terminus"] = QQQQ,
},
["Kelana Jaya"] = {
["color"] = "e0115f",
["left terminus"] = QQQQ,
["right terminus"] = QQQQ,
},
["KLIA Ekspres"] = {
["title"] = "[[KLIA Ekspres]]",
["color"] = "8c238f",
["left terminus"] = QQQQ,
["right terminus"] = QQQQ,
},
["KLIA Transit"] = {
["title"] = "[[KLIA Transit]]",
["color"] = "33a8b5",
["left terminus"] = QQQQ,
["right terminus"] = QQQQ,
},
["KL Monorail"] = {
["title"] = "[[KL Monorail]]",
["color"] = "7dba00",
["left terminus"] = QQQQ,
["right terminus"] = QQQQ,
},
["Kajang"] = {
["title"] = "[[Kajang line|Kajang Line]]",
["color"] = "11753a",
["left terminus"] = QQQQ,
["right terminus"] = QQQQ,
},
["Skypark"] = {
["title"] = "[[Skypark Link]]",
["color"] = "8b4513",
["left terminus"] = QQQQ,
["right terminus"] = QQQQ,
},
["Shah Alam"] = {
["title"] = "''[[Shah Alam Line|Shah Alam]]''",
["color"] = "59b8e6",
["left terminus"] = QQQQ,
["right terminus"] = QQQQ,
},
["Putrajaya"] = {
["title"] = "''[[Putrajaya Line]]''",
["color"] = "faca05 ",
["left terminus"] = QQQQ,
["right terminus"] = QQQQ,
},
["Circle MRT"] = {
["title"] = "''[[Circle MRT Line (Klang Valley)|Circle Line]]''",
["color"] = "808080",
["left terminus"] = QQQQ,
["right terminus"] = QQQQ,
},
["Putrajaya Monorail"] = {
["title"] = "''[[Putrajaya Monorail]]''",
["color"] = "808000",
["left terminus"] = QQQQ,
["right terminus"] = QQQQ,
},
["ETS transit"] = {
["title"] = "[[KTM ETS|Padang Besar-Gemas Electric Train Service]]",
["color"] = "ffd700",
["left terminus"] = QQQQ,
["right terminus"] = QQQQ,
},
["BRT Sunway"] = {
["color"] = "1e4d2b",
["left terminus"] = QQQQ,
["right terminus"] = QQQQ,
},
["BRT Federal"] = {
["title"] = "''[[BRT Federal Line]]''",
["color"] = "4b0082",
["left terminus"] = QQQQ,
["right terminus"] = QQQQ,
},
["Bukit Mertajam-Padang Rengas"] = {
["color"] = "353a7c",
["left terminus"] = QQQQ,
["right terminus"] = QQQQ,
},
["Padang Besar-Butterworth"] = {
["color"] = "4b924e",
["left terminus"] = QQQQ,
["right terminus"] = QQQQ,
},
},
["aliases"] = {
["1"] = "Seremban",
["blue"] = "Seremban",
["kb"] = "Seremban",
["kc"] = "Seremban",
["seremban"] = "Seremban",
["seremban line"] = "Seremban",
["2"] = "Port Klang",
["red"] = "Port Klang",
["ka"] = "Port Klang",
["kd"] = "Port Klang",
["port klang"] = "Port Klang",
["port klang line"] = "Port Klang",
["3"] = "Ampang",
["orange"] = "Ampang",
["lrt1"] = "Ampang",
["ag"] = "Ampang",
["ampang"] = "Ampang",
["ampang line"] = "Ampang",
["4"] = "Sri Petaling",
["maroon"] = "Sri Petaling",
["sp"] = "Sri Petaling",
["ph"] = "Sri Petaling",
["sri petaling"] = "Sri Petaling",
["putra heights"] = "Sri Petaling",
["sri petaling line"] = "Sri Petaling",
["5"] = "Kelana Jaya",
["ruby"] = "Kelana Jaya",
["lrt2"] = "Kelana Jaya",
["kj"] = "Kelana Jaya",
["kelana jaya"] = "Kelana Jaya",
["kelana jaya line"] = "Kelana Jaya",
["6"] = "KLIA Ekspres",
["purple"] = "KLIA Ekspres",
["ke"] = "KLIA Ekspres",
["klia express"] = "KLIA Ekspres",
["express"] = "KLIA Ekspres",
["klia ekspres"] = "KLIA Ekspres",
["7"] = "KLIA Transit",
["teal"] = "KLIA Transit",
["kt"] = "KLIA Transit",
["klia transit"] = "KLIA Transit",
["transit"] = "KLIA Transit",
["klia transit"] = "KLIA Transit",
["8"] = "KL Monorail",
["lightgreen"] = "KL Monorail",
["mr"] = "KL Monorail",
["monorail"] = "KL Monorail",
["kl monorail"] = "KL Monorail",
["9"] = "Kajang",
["green"] = "Kajang",
["mrt1"] = "Kajang",
["kg"] = "Kajang",
["sbk"] = "Kajang",
["sungai buloh kajang"] = "Kajang",
["sungai buloh kajang line"] = "Kajang",
["sungai buloh-kajang line"] = "Kajang",
["mrt kajang line"] = "Kajang",
["kajang"] = "Kajang",
["10"] = "Skypark",
["brown"] = "Skypark",
["ks"] = "Skypark",
["skypark"] = "Skypark",
["11"] = "Shah Alam",
["skyblue"] = "Shah Alam",
["lrt3"] = "Shah Alam",
["bk"] = "Shah Alam",
["buk"] = "Shah Alam",
["js"] = "Shah Alam",
["johan setia line"] = "Shah Alam",
["bandar utama-klang line"] = "Shah Alam",
["s"] = "Shah Alam",
["12"] = "Putrajaya",
["yellow"] = "Putrajaya",
["mrt2"] = "Putrajaya",
["ssp"] = "Putrajaya",
["py"] = "Putrajaya",
["mrt putrajaya line"] = "Putrajaya",
["putrajaya"] = "Putrajaya",
["13"] = "Circle MRT",
["grey"] = "Circle MRT",
["mrt3"] = "Circle MRT",
["cc"] = "Circle MRT",
["14"] = "Putrajaya Monorail",
["olive"] = "Putrajaya Monorail",
["pm"] = "Putrajaya Monorail",
["20"] = "ETS transit",
["gold"] = "ETS transit",
["ets"] = "ETS transit",
["ets transit"] = "ETS transit",
["21"] = "BRT Sunway",
["darkgreen"] = "BRT Sunway",
["b1"] = "BRT Sunway",
["sb"] = "BRT Sunway",
["brt sunway"] = "BRT Sunway",
["brt sunway line"] = "BRT Sunway",
["sunway"] = "BRT Sunway",
["sunway line"] = "BRT Sunway",
["22"] = "BRT Federal",
["violet"] = "BRT Federal",
["b2"] = "BRT Federal",
["fb"] = "BRT Federal",
["federal"] = "BRT Federal",
["federal line"] = "BRT Federal",
["brt federal"] = "BRT Federal",
["brt federal line"] = "BRT Federal",
["bukit mertajam-padang rengas"] = "Bukit Mertajam-Padang Rengas",
["padang besar-butterworth"] = "Padang Besar-Butterworth",
},
}
return p