模块:Adjacent stations/东日本旅客铁道
![文档图示](http://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png)
您可能想要创建本Scribunto模块的文档。 编者可以在本模块的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模块的子页面。 |
local tokyo = "%1站 (東京都)"
local kanagawa = "%1站 (神奈川縣)"
local saitama = "%1站 (埼玉縣)"
local chiba = "%1站 (千葉縣)"
local yamanashi = "%1站 (山梨縣)"
local gunma = "%1站 (群馬縣)"
local niigata = "%1站 (新潟縣)"
local nagano = "%1站 (長野縣)"
local tochigi = "%1站 (栃木縣)"
local ibaraki = "%1站 (茨城縣)"
local fukushima = "%1站 (福島縣)"
local yamagata = "%1站 (山形縣)"
local miyagi = "%1站 (宮城縣)"
local iwate = "%1站 (岩手縣)"
local akita = "%1站 (秋田縣)"
local aomori = "%1站 (青森縣)"
local japan = "%1站 (日本)"
local jreast= "%1站 (JR東日本)"
local terminal= "%1"
local frame = mw.getCurrentFrame();
local link = frame:expandTemplate{ title = 'link-ja', args = { '%1站', '%1駅', '%1' } };
local p = {
["system title"] = "[[東日本旅客鐵道|JR東日本]]",
["station format"] = {
"%1站",
-- 消歧義
-- 東北新幹線
["大宮"] = saitama,
["郡山"] = fukushima,
-- 上越新幹線
["高崎"] = japan,
-- 北陸新幹線
-- 山形新幹線
-- 秋田新幹線
-- 常磐線
["內鄉"] = japan,
["磐城"] = fukushima,
["草野"] = fukushima,
["廣野"] = fukushima,
["龍田"] = japan,
["富岡"] = fukushima,
["小高"] = japan,
["山下"] = miyagi,
-- 水郡線
["川東"] = fukushima,
["額田"] = ibaraki,
-- 東北本線
["豐原"] = tochigi,
["白河"] = japan,
["本宮"] = fukushima,
["杉田"] = fukushima,
["安達"] = fukushima,
["松川"] = japan,
["福島"] = fukushima,
["白石"] = miyagi,
["大河原"] = miyagi,
["船岡"] = miyagi,
["松島"] = japan,
["愛宕"] = miyagi,
["松山町"] = miyagi,
["新田"] = miyagi,
["平泉"] = japan,
-- 羽越本線
["水原"] = japan,
["神山"] = japan,
["月岡"] = niigata,
["平林"] = niigata,
["村上"] = niigata,
["今川"] = niigata,
["金浦"] = japan,
["新屋"] = akita,
-- 白新線
["豐榮"] = japan,
["黑山"] = japan,
-- 磐越西線
-- 仙山線
-- 仙石線
-- 奧羽本線
["石川"] = jreast,
["白澤"] = akita,
["大久保"] = akita,
["和田"] = japan,
["前山"] = japan,
["大曲"] = akita,
["醍醐"] = akita,
["釜淵"] = yamagata,
["新庄"] = japan,
["村山"] = yamagata,
["漆山"] = yamagata,
["中川"] = yamagata,
["大澤"] = yamagata,
["福島"] = fukushima,
-- 篠之井線
-- 小海線
["高岩"] = nagano,
-- 飯山線
["立花"] = nagano,
["橫倉"] = nagano,
-- 大糸線
["白馬"] = japan,
["有明"] = nagano,
["島內"] = japan,
-- 越後線
["白山"] = niigata,
["關屋"] = niigata,
["青山"] = niigata,
["吉田"] = niigata,
["桐原"] = niigata,
["妙法寺"] = niigata,
["西山"] = niigata,
-- 彌彥線
-- 米坂線
["成島"] = yamagata,
["中郡"] = yamagata,
-- 只見線
["上條"] = niigata,
["瀧谷"] = fukushima,
["根岸"] = fukushima,
-- 磐越東線
-- 石卷線
-- 氣仙沼線
["柳津"] = miyagi,
["本吉"] = japan,
-- 大船渡線
["西下"] = iwate,
-- 陸羽東線
["北浦"] = miyagi,
-- 陸羽西線
["清川"] = japan,
-- 北上線
["柳原"] = iwate,
-- 釜石線
-- 山田線
-- 花輪線
-- 八戶線
["有家"] = iwate,
["玉川"] = iwate,
-- 大湊線
-- 津輕線
-- 左澤線
-- 田澤湖線
-- 男鹿線
["追分"] = akita,
-- 五能線
--信越本線
["三條"] = niigata,
["加茂"] = niigata,
["新潟貨物總站"] = terminal,
--岩泉線
["中里"] = iwate,
},
["lines"] = {
-- 新幹線
["東北新幹線"] = {
["title"] = "[[File:Shinkansen jre.svg|20px]] [[東北新幹線]]",
["color"] = "008000",
["left terminus"] = "東京",
["right terminus"] = "新青森"
},
["上越新幹線"] = {
["title"] = "[[File:Shinkansen jre.svg|20px]] [[上越新幹線]]",
["color"] = "008000",
["left terminus"] = "東京",
["right terminus"] = "新潟"
},
["Gala湯澤支線"] = {
["title"] = "[[File:Shinkansen jre.svg|20px]] [[上越線|Gala湯澤支線]]",
["color"] = "008000",
["left terminus"] = "越後湯澤",
["right terminus"] = "Gala湯澤"
},
["北陸新幹線"] = {
["title"] = "[[File:Shinkansen jre.svg|20px]] [[北陸新幹線]]",
["color"] = "008000",
["left terminus"] = "東京",
["right terminus"] = "上越妙高"
},
["山形新幹線"] = {
["title"] = "[[File:Shinkansen jre.svg|20px]] [[山形新幹線]]",
["color"] = "ee7b28",
["left terminus"] = "福島",
["right terminus"] = "新庄"
},
["秋田新幹線"] = {
["title"] = "[[File:Shinkansen jre.svg|20px]] [[秋田新幹線]]",
["color"] = "ed4399",
["left terminus"] = "盛岡",
["right terminus"] = "秋田"
},
["常磐線"] = {
["title"] = "[[常磐線]]",
["color"] = "3333ff",
["left terminus"] = "取手",
["right terminus"] = "仙台"
},
["上越線"] = {
["title"] = "[[上越線]]",
["color"] = "00b3e6",
["left terminus"] = "高崎",
["right terminus"] = "長岡"
},
["信越本線中"] = {
["title"] = "[[信越本線]]",
["color"] = "00b3e6",
["left terminus"] = "篠之井",
["right terminus"] = "長野"
},
["信越本線北"] = {
["title"] = "[[信越本線]]",
["color"] = "00b3e6",
["left terminus"] = "直江津",
["right terminus"] = "新潟"
},
["信越本線貨"] = {
["title"] = "[[信越本線]](貨物支線)",
["color"] = "00b3e6",
["left terminus"] = "越後石山",
["right terminus"] = "東新潟港"
},
["水郡線"] = {
["title"] = "[[水郡線]]",
["color"] = "368c44",
["left terminus"] = "水戶",
["right terminus"] = "郡山"
},
["東北本線"] = {
["title"] = "[[東北本線]]",
["color"] = "3cb371",
["left terminus"] = "黑磯",
["right terminus"] = "盛岡"
},
["利府線"] = {
["title"] = "[[利府線]]",
["color"] = "3cb371",
["left terminus"] = "黑磯",
["right terminus"] = "利府"
},
["羽越本線貨"] = {
["title"] = "[[羽越本線]](貨物支線)",
["color"] = "16c0e9",
["left terminus"] = "酒田",
["right terminus"] = "酒田港"
},
["羽越本線"] = {
["title"] = "[[羽越本線]]",
["color"] = "16c0e9",
["left terminus"] = "新津",
["right terminus"] = "秋田"
},
["白新線"] = {
["title"] = "[[白新線]]",
["color"] = "f387b7",
["left terminus"] = "新潟",
["right terminus"] = "新發田"
},
["磐越西線"] = {
["title"] = "[[磐越西線]]",
["color"] = "cb7b35",
["left terminus"] = "郡山",
["right terminus"] = "新潟"
},
["仙山線"] = {
["title"] = "[[仙山線]]",
["color"] = "77dd00",
["left terminus"] = "仙台",
["right terminus"] = "山形"
},
["仙石線"] = {
["title"] = "[[仙石線]]",
["color"] = "00aaee",
["left terminus"] = "青葉通",
["right terminus"] = "石卷"
},
["奧羽本線"] = {
["title"] = "[[奧羽本線]]",
["color"] = "ff6600",
["left terminus"] = "福島",
["right terminus"] = "青森"
},
["篠之井線"] = {
["title"] = "[[篠之井線]]",
["color"] = "f15a22",
["left terminus"] = "鹽尻",
["right terminus"] = "篠之井"
},
["小海線"] = {
["title"] = "[[小海線]]",
["color"] = "41934c",
["left terminus"] = "小淵澤",
["right terminus"] = "小諸"
},
["飯山線"] = {
["title"] = "[[飯山線]]",
["color"] = "7bc24b",
["left terminus"] = "長野",
["right terminus"] = "越後川口"
},
["大糸線"] = {
["title"] = "[[大糸線]]",
["color"] = "9370db",
["left terminus"] = "松本",
["right terminus"] = "南小谷"
},
["越後線"] = {
["title"] = "[[越後線]]",
["color"] = "40934d",
["left terminus"] = "柏崎",
["right terminus"] = "新潟"
},
["彌彥線"] = {
["title"] = "[[彌彥線]]",
["color"] = "922790",
["left terminus"] = "彌彥",
["right terminus"] = "東三條"
},
["米坂線"] = {
["title"] = "[[米坂線]]",
["color"] = "9e7eb9",
["left terminus"] = "米澤",
["right terminus"] = "坂町"
},
["只見線"] = {
["title"] = "[[只見線]]",
["color"] = "008dd1",
["left terminus"] = "會津若松",
["right terminus"] = "小出"
},
["磐越東線"] = {
["title"] = "[[磐越東線]]",
["color"] = "c71585",
["left terminus"] = "磐城",
["right terminus"] = "郡山"
},
["石卷線"] = {
["title"] = "[[石卷線]]",
["color"] = "ed77a4",
["left terminus"] = "小牛田",
["right terminus"] = "女川"
},
["氣仙沼線"] = {
["title"] = "[[氣仙沼線]]",
["color"] = "3b459b",
["left terminus"] = "小牛田",
["right terminus"] = "氣仙沼"
},
["氣仙沼線BRT"] = {
["title"] = "[[氣仙沼線]][[BRT]]",
["color"] = "3b459b",
["left terminus"] = "前谷地",
["right terminus"] = "氣仙沼"
},
["大船渡線"] = {
["title"] = "[[大船渡線]]",
["color"] = "f18e44",
["left terminus"] = "一之關",
["right terminus"] = "盛"
},
["大船渡線BRT"] = {
["title"] = "[[大船渡線]][[BRT]]",
["color"] = "f18e44",
["left terminus"] = "氣仙沼",
["right terminus"] = "盛"
},
["大船渡線BRT2"] = {
["title"] = "[[大船渡線]][[BRT]]",
["color"] = "f18e44",
["left terminus"] = "陸前矢作",
["right terminus"] = "陸前高田"
},
["陸羽東線"] = {
["title"] = "[[陸羽東線]]",
["color"] = "999999",
["left terminus"] = "小牛田",
["right terminus"] = "新庄"
},
["陸羽西線"] = {
["title"] = "[[陸羽西線]]",
["color"] = "6fbf7f",
["left terminus"] = "新庄",
["right terminus"] = "酒田"
},
["北上線"] = {
["title"] = "[[北上線]]",
["color"] = "851a72",
["left terminus"] = "北上",
["right terminus"] = "橫手"
},
["釜石線"] = {
["title"] = "[[釜石線]]",
["color"] = "0073bf",
["left terminus"] = "花卷",
["right terminus"] = "釜石"
},
["山田線"] = {
["title"] = "[[山田線]]",
["color"] = "cd7a1e",
["left terminus"] = "盛岡",
["right terminus"] = "宮古"
},
["花輪線"] = {
["title"] = "[[花輪線]]",
["color"] = "aa1e30",
["left terminus"] = "盛岡",
["right terminus"] = "大館"
},
["八戶線"] = {
["title"] = "[[八戶線]]",
["color"] = "e93920",
["left terminus"] = "八戶",
["right terminus"] = "久慈"
},
["大湊線"] = {
["title"] = "[[大湊線]]",
["color"] = "f1aa28",
["left terminus"] = "野邊地",
["right terminus"] = "大湊"
},
["津輕線"] = {
["title"] = "[[津輕線]]",
["color"] = "15a2c4",
["left terminus"] = "青森",
["right terminus"] = "三廄"
},
["左澤線"] = {
["title"] = "[[左澤線]]",
["color"] = "0073bf",
["left terminus"] = "山形",
["right terminus"] = "左澤"
},
["田澤湖線"] = {
["title"] = "[[田澤湖線]]",
["color"] = "9d72b0",
["left terminus"] = "大曲",
["right terminus"] = "盛岡"
},
["男鹿線"] = {
["title"] = "[[男鹿線]]",
["color"] = "36823e",
["left terminus"] = "秋田",
["right terminus"] = "男鹿"
},
["五能線"] = {
["title"] = "[[五能線]]",
["color"] = "0c7aad",
["left terminus"] = "東能代",
["right terminus"] = "弘前"
},
["岩泉線"] = {
["title"] = "[[岩泉線]]",
["color"] = "cccccc",
["left terminus"] = "茂市",
["right terminus"] = "岩泉"
}
}
}
return p