模組:Adjacent stations/四國旅客鐵道
外观
local kagawa = "%1站 (香川縣)"
local ehime = "%1站 (愛媛縣)"
local kochi = "%1站 (高知縣)"
local tokushima = "%1站 (德島縣)"
local japan = "%1站 (日本)"
local jr = "%1站 (JR四國)"
local frame = mw.getCurrentFrame();
local link = frame:expandTemplate{ title = 'link-ja', args = { '%1站', '%1駅', '%1' } };
local p = {
["system title"] = "[[四國旅客鐵道|JR四國]]",
["station format"] = {
"%1站",
-- 消歧義
-- 予讚線
['高松'] = kagawa,
['國分'] = kagawa,
['高瀨'] = kagawa,
['本山'] = kagawa,
['觀音寺'] = kagawa,
['柳原'] = ehime,
['堀江'] = japan,
['松山'] = ehime,
['喜多山'] = ehime,
['新谷'] = ehime,
-- 予土線
['十川'] = kochi,
['西方'] = kochi,
-- 高德線
['昭和町'] = kagawa,
['栗林'] = japan,
['神前'] = kagawa,
['三本松'] = kagawa,
-- 德島線
['府中'] = tokushima,
['石井'] = tokushima,
['江口'] = tokushima,
-- 牟岐線
['中田'] = tokushima,
['西原'] = tokushima,
['新野'] = tokushima,
['北河內'] = tokushima,
-- 土讚線
['黑川'] = kagawa,
['薊野'] = kochi,
['旭'] = kochi,
['朝倉'] = jr,
['枝川'] = jr,
['伊野'] = jr,
['佐川'] = japan,
['仁井田'] = kochi
},
["lines"] = {
["Y"] = {
["title"] = "'''Y''' [[予讚線]]",
["color"] = "fbaf18",
["left terminus"] = "高松",
["right terminus"] = "松山"
},
["北U"] = {
["title"] = "'''U''' [[予讚線]]",
["color"] = "fbaf18",
["left terminus"] = "松山",
["right terminus"] = "內子"
},
["南U"] = {
["title"] = "'''U''' [[予讚線]]",
["color"] = "fbaf18",
["left terminus"] = "新谷",
["right terminus"] = "宇和島"
},
["內子線"] = {
["title"] = "'''U''' [[內子線]]",
["color"] = "fbaf18",
["left terminus"] = "內子",
["right terminus"] = "新谷"
},
["S"] = {
["title"] = "'''S''' [[予讚線|愛存在伊予灘線]]",
["color"] = "98a9d6",
["left terminus"] = "向井原",
["right terminus"] = "伊予大洲"
},
["G"] = {
["title"] = "'''G''' [[予土線|予土線(四萬十綠色鐵道)]]",
["color"] = "009257",
["left terminus"] = "窪川",
["right terminus"] = "宇和島"
},
["T"] = {
["title"] = "'''T''' [[高德線]]",
["color"] = "9acd32",
["left terminus"] = "德島",
["right terminus"] = "高松"
},
["N"] = {
["title"] = "'''N''' [[鳴門線]]",
["color"] = "b51e82",
["left terminus"] = "德島",
["right terminus"] = "鳴門"
},
["B"] = {
["title"] = "'''B''' [[德島線|德島線(吉野川藍色鐵道)]]",
["color"] = "2b4b65",
["left terminus"] = "德島",
["right terminus"] = "阿波池田"
},
["M"] = {
["title"] = "'''M''' [[牟岐線|牟岐線(阿波室戶海濱鐵道)]]",
["color"] = "00b5ad",
["left terminus"] = "德島",
["right terminus"] = "阿波海南"
},
["D"] = {
["title"] = "'''D''' [[土讚線]]",
["color"] = "8cc63e",
["left terminus"] = "多度津",
["right terminus"] = "高知"
},
["K"] = {
["title"] = "'''K''' [[土讚線]]",
["color"] = "2cb431",
["left terminus"] = "高知",
["right terminus"] = "窪川"
},
["Y瀨戶大橋線"] = {
["title"] = "'''Y''' [[瀨戶大橋線]]",
["color"] = "0071be",
["left terminus"] = "兒島",
["right terminus"] = "高松"
},
["瀨戶大橋線"] = {
["title"] = "[[瀨戶大橋線]]",
["color"] = "0071be",
["left terminus"] = "兒島",
["right terminus"] = "高松"
},
["瀨戶大橋線2"] = {
["title"] = "[[瀨戶大橋線]]",
["color"] = "0071be",
["left terminus"] = "兒島",
["right terminus"] = "宇多津"
},
},
}
return p