模組:Adjacent stations/臺鐵
外观
說明
[编辑]本模組應用於{{Adjacent stations}},負責轉換路線及對應各站的資訊到模板。
使用方法
[编辑]以高雄車站為例
{{Adjacent stations|system=Taiwan Railways Administration|line1=縱貫線南段|left1=三塊厝|line2=屏東線|right2=民族}}
或是簡稱
{{Adjacent stations|system=TRA|line1=縱貫線南段|left1=三塊厝|line2=屏東線|right2=民族}}
顯示如下:
上一站 | 臺灣鐵路 | 下一站 | ||
---|---|---|---|---|
三塊厝 往基隆
|
縱貫線 | 起訖站 | ||
起訖站 | 屏東線 | 民族 往枋寮
|
local tw = "%1車站 (台灣)"
local tra = "%1車站 (台鐵)"
local p = {
["system title"] = "[[臺灣鐵路]]",
["system color"] = "020281",
["station format"] = {
"%1車站",
-- 縱貫線(北段)
["松山"] = tw,
["板橋"] = tw,
["桃園"] = tra,
["富岡"] = tra,
["新豐"] = tw,
["香山"] = tw,
["大林"] = tw,
["水上"] = tw,
-- 海線
["新埔"] = "[[新埔車站 (苗栗縣)|新埔]]",
["清水"] = tw,
["日南"] = tw,
["大山"] = tw,
-- 山線
["泰安"] = "[[泰安車站 (台中線)|泰安]]",
["栗林"] = tw,
["豐富"] = tw,
["豐原"] = tw,
["太原"] = tw,
-- 成追線
["追分"] = tw,
-- 縱貫線(南段)
["大村"] = tw,
["田中"] = tw,
["新市"] = tw,
["大橋"] = tw,
["岡山"] = "[[岡山車站 (臺灣鐵路)|岡山]]",
["橋頭"] = tw,
-- 屏東線
["鳳山"] = tra,
["東海"] = tw,
["竹田"] = tw,
["潮州"] = tw,
-- 宜蘭線
["牡丹"] = tw,
["龜山"] = tw,
["頂埔"] = "[[頂埔車站 (宜蘭縣)|頂埔]]",
-- 北迴線
["蘇澳新"] = "[[蘇澳新站|蘇澳新]]",
["永樂"] = "[[永樂車站 (宜蘭縣)|永樂]]",
["和平"] = "[[和平車站 (花蓮縣)|和平]]",
["新城(太魯閣)"] = "[[新城(太魯閣)車站|新城]]",
["景美"] = "[[景美車站 (花蓮縣)|景美]]",
-- 臺東線
["豐田"] = tw,
["平和"] = tw,
["南平"] = tw,
["瑞穗"] = tw,
["池上"] = tw,
["關山"] = tw,
["富源"] = "[[富源車站 (花蓮縣)|富源]]",
-- 平溪線
-- 深澳線
-- 內灣線
["新莊"] = "[[新莊車站 (新竹市)|新莊]]",
["橫山"] = "[[橫山車站 (新竹縣)|橫山]]",
["富貴"] = tw,
-- 六家線
-- 集集線
-- 沙崙線
-- 舊山線
-- 潮州車輛基地線
["陽光小站"] = "[[陽光小站]]",
-- 號誌站
["中央號誌"] = "[[中央號誌站|中央號誌]]",
["古莊號誌"] = "[[古莊號誌站|古莊號誌]]",
["菩安號誌"] = "[[菩安號誌站|菩安號誌]]",
["談文南號誌"] = "[[談文南號誌站|談文南號誌]]",
["大肚溪南號誌"] = "[[大肚溪南號誌站|大肚溪南號誌]]",
["一號碼頭"] = "[[台中港一號碼頭|一號碼頭]]",
["貨運辦公室"] = "[[台中港貨運辦公室|貨運辦公室]]",
},
["lines"] = {
["縱貫線北段"] = {
["title"] = "[[縱貫線 (北段)|縱貫線]]",
["color"] = "020281",
["left terminus"] = "基隆",
["right terminus"] = "高雄"
},
["海線"] = {
["title"] = "[[海岸線 (臺鐵)|海線]]",
["color"] = "020281",
["left terminus"] = "基隆",
["right terminus"] = "高雄"
},
["山線"] = {
["title"] = "[[臺中線|山線]]",
["color"] = "020281",
["left terminus"] = "基隆",
["right terminus"] = "高雄"
},
["成追線"] = {
["title"] = "[[成追線]]",
["color"] = "020281",
["left terminus"] = "追分",
["right terminus"] = "成功"
},
["集集線"] = {
["title"] = "[[集集線]]",
["color"] = "020281",
["left terminus"] = "二水",
["right terminus"] = "車埕"
},
["縱貫線南段"] = {
["title"] = "[[縱貫線 (南段)|縱貫線]]",
["color"] = "020281",
["left terminus"] = "基隆",
["right terminus"] = "高雄"
},
["屏東線"] = {
["title"] = "[[屏東線]]",
["color"] = "020281",
["left terminus"] = "高雄",
["right terminus"] = "枋寮"
},
["宜蘭線"] = {
["title"] = "[[宜蘭線]]",
["color"] = "020281",
["left terminus"] = "八堵",
["right terminus"] = "蘇澳"
},
["花蓮臨港線"] = {
["title"] = "[[花蓮臨港線]]",
["color"] = "020281",
["left terminus"] = "北埔",
["right terminus"] = "花蓮港"
},
["台中港線"] = {
["title"] = "[[台中港線]]",
["color"] = "020281",
["left terminus"] = "台中港",
["right terminus"] = "一號碼頭"
},
["北迴線"] = {
["title"] = "[[北迴線]]",
["color"] = "020281",
["left terminus"] = "蘇澳新",
["right terminus"] = "花蓮"
},
["臺東線"] = {
["title"] = "[[臺東線]]",
["color"] = "020281",
["left terminus"] = "花蓮",
["right terminus"] = "臺東"
},
["南迴線"] = {
["title"] = "[[南迴線]]",
["color"] = "020281",
["left terminus"] = "枋寮",
["right terminus"] = "臺東"
},
["六家線"] = {
["title"] = "[[六家線]]",
["color"] = "020281",
["left terminus"] = "竹中",
["right terminus"] = "六家"
},
["內灣線"] = {
["title"] = "[[內灣線]]",
["color"] = "020281",
["left terminus"] = "新竹",
["right terminus"] = "內灣"
},
["沙崙線"] = {
["title"] = "[[沙崙線]]",
["color"] = "020281",
["left terminus"] = "中洲",
["right terminus"] = "沙崙"
},
["平溪線"] = {
["title"] = "[[平溪線]]",
["color"] = "020281",
["left terminus"] = "三貂嶺",
["right terminus"] = "菁桐"
},
["深澳線"] = {
["title"] = "[[深澳線]]",
["color"] = "020281",
["left terminus"] = "瑞芳",
["right terminus"] = "八斗子"
},
["潮州車輛基地線"] = {
["title"] = "[[臺鐵潮州車輛基地|潮州車輛基地線]]",
["color"] = "020281",
["left terminus"] = "潮州",
["right terminus"] = "陽光小站"
}
}
}
return p