模組:Adjacent stations/SRT Red Lines
外观
這是Module:Adjacent stations的數據模塊,包含由SRT Red Lines經營的服務線。
| 线路 | 代碼 | 顏色 | 十六進制顏色 | 圖標 |
|---|---|---|---|---|
| 浅红线 | Light Red Line |
fd5353 |
||
| 暗红线 | Dark Red Line |
e10506 |
local format = mw.ustring.format
local frame = mw.getCurrentFrame()
local function linken(a, b, c)
if c == '' or c == nil then
return frame:expandTemplate ({title='Internal link helper/en', args = {a, b}})
else
return frame:expandTemplate ({title='Internal link helper/en', args = {a, b, c}})
end
end
local x = "%1 railway station"
local y = "%1 BTS station"
local p = {
["system title"] = linken("曼谷城郊鐵路系統", "Red Lines (Bangkok)"),
["system icon"] = "",
["system color"] = "ff0000",
["station format"] = {
"%1站",
["Taling Chan"] = x,
["Bang Bamru"] = x,
["Hua Mak"] = x,
["Rangsit"] = x,
["Wongwian Yai"] = y,
["Talat Phlu"] = y,
["Wutthakat"] = y,
["Bang Sue"] = "[[阿皮瓦曼谷中央车站]]",
["阿皮瓦曼谷中央车站"] = "[[阿皮瓦曼谷中央车站]]",
["Hua Lamphong"] = "Hua Lamphong Station (SRT Dark Red Line)",
},
["lines"] = {
["_default"] = {
["title"] = linken("曼谷城郊鐵路系統", "Red Lines (Bangkok)"),
["color"] = "ff0000",
},
["SRT Red Lines"] = {
["title"] = linken("曼谷城郊鐵路系統", "Red Lines (Bangkok)"),
["color"] = "ff0000",
},
["Light Red Line"] = {
["title"] = "[[曼谷城郊铁路浅红线|浅红线]]",
["color"] = "fd5353",
["left terminus"] = "Bang Sue",
["right terminus"] = "Taling Chan",
["types"] = {
["Phase III"] = {
["title"] ="",
["note-mid"] = "III期",
["left terminus"] = "Taling Chan",
["right terminus"] = "Sala Ya",
},
["Phase IV"] = {
["title"] ="",
["note-mid"] = "IV期",
["left terminus"] = "Hua Mak",
["right terminus"] = "Bang Sue",
},
},
},
["Dark Red Line"] = {
["title"] = "[[曼谷城郊铁路暗红线|暗红线]]",
["color"] = "e10506",
["left terminus"] = "Bang Sue",
["right terminus"] = "蘭實",
["types"] = {
["City Train"] = {
["title"] ="<small>普通</small>",
["left terminus"] = "Bang Sue",
["right terminus"] = "蘭實",
},
["Express Train"] = {
["title"] ="<small>快速</small>",
["left terminus"] = "Bang Sue",
["right terminus"] = "蘭實",
},
["Phase II"] = {
["title"] ="",
["note-mid"] = "II期",
["left terminus"] = "Rangsit",
["right terminus"] = "Thammasat University",
},
["Phase III"] = {
["title"] ="",
["note-mid"] = "III期",
["left terminus"] = "Hua Lamphong",
["right terminus"] = "Bang Sue",
},
["Phase IV"] = {
["title"] ="",
["note-mid"] = "IV期",
["left terminus"] = "Bang Bon",
["right terminus"] = "Khlong San",
},
},
},
},
["aliases"] = {
["light red"] = "Light Red Line",
["dark red"] = "Dark Red Line",
}
}
return p