模組:Adjacent stations/東日本旅客鐵道東京近郊路線
外观
local tokyo = "%1站 (東京都)"
local kanagawa = "%1站 (神奈川縣)"
local saitama = "%1站 (埼玉縣)"
local chiba = "%1站 (千葉縣)"
local yamanashi = "%1站 (山梨縣)"
local gunma = "%1站 (群馬縣)"
local tochigi = "%1站 (栃木縣)"
local ibaraki = "%1站 (茨城縣)"
local fukushima = "%1站 (福島縣)"
local nagano = "%1站 (長野縣)"
local niigata = "%1站 (新潟縣)"
local japan = "%1站 (日本)"
local frame = mw.getCurrentFrame();
local link = frame:expandTemplate{ title = 'link-ja', args = { '%1站', '%1駅', '%1' } };
local p = {
["system title"] = "[[東日本旅客鐵道|JR東日本]]",
["station format"] = {
"%1站",
-- 消歧義
["郡山"] = fukushima,
["小野"] = nagano,
-- 埼京線·川越線
["板橋"] = japan,
["十條"] = tokyo,
["戶田"] = saitama,
["日進"] = saitama,
-- 中央·總武線
["大久保"] = tokyo,
["中野"] = tokyo,
["平井"] = tokyo,
-- 中央線快速
["日野"] = tokyo,
["豐田"] = tokyo,
["高尾"] = tokyo,
-- 青梅線
["古里"] = tokyo,
["白丸"] = tokyo,
-- 五日市線
-- 橫濱線
["小机"] = "[[小机站|小-{机}-]]",
["中山"] = kanagawa,
["十日市場"] = kanagawa,
["橋本"] = kanagawa,
-- 鶴見線
["扇町"] = kanagawa,
["大川"] = japan,
-- 常磐快速線
["我孫子"] = chiba,
-- 京濱東北線·根岸線
["大宮"] = saitama,
["大森"] = tokyo,
["根岸"] = kanagawa,
-- 常磐緩行線
["新橋"] = japan,
-- 武藏野線
["新座"] = saitama,
["吉川"] = saitama,
["三鄉"] = saitama,
-- 南武線
-- 橫須賀線·總武線快速
["田浦"] = japan,
-- 東海道線
["新橋"] = japan,
-- 伊東線
-- 宇都宮線
["古河"] = japan,
["石橋"] = tochigi,
["岡本"] = tochigi,
["野崎"] = tochigi,
-- 辰野支線
["小野"] = nagano,
-- 高崎線
["吹上"] = saitama,
["本庄"] = saitama,
["新町"] = gunma,
["高崎"] = japan,
-- 山手線
["神田"] = tokyo,
["大塚"] = tokyo,
-- 成田線
-- 我孫子支線
["湖北"] = japan,
["小林"] = chiba,
-- 相模線
["入谷"] = kanagawa,
["番田"] = kanagawa,
-- 八高線·川越線
["明覺"] = japan,
["小川町"] = saitama,
["高崎"] = japan,
-- 常磐線
["高濱"] = ibaraki,
["石岡"] = japan,
["東海"] = japan,
["植田"] = fukushima,
["泉"] = "[[泉站 (磐城市)|泉]]",
["內鄉"] = japan,
["磐城"] = fukushima,
["草野"] = fukushima,
["廣野"] = fukushima,
["龍田"] = japan,
["富岡"] = fukushima,
-- 中央本線
["梁川"] = yamanashi,
["鹽山"] = japan,
-- 總武本線
["榎戶"] = chiba,
["松尾"] = chiba,
["旭"] = chiba,
-- 鹿島線
-- 外房線
["三門"] = japan,
["永田"] = chiba,
["大原"] = chiba,
-- 東金線
-- 內房線
["長浦"] = chiba,
["保田"] = chiba,
["富浦"] = chiba,
["千歲"] = chiba,
-- 久留里線
["祇園"] = chiba,
["平山"] = japan,
-- 信越本線
["磯部"] = gunma,
["橫川"] = gunma,
-- 上越線
["井野"] = gunma,
["上牧"] = gunma,
["水上"] = japan,
-- 兩毛線
["小俁"] = tochigi,
["富田"] = tochigi,
-- 水戶線
["大和"] = ibaraki,
["羽黑"] = ibaraki,
["稻田"] = ibaraki,
-- 日光線
-- 烏山線
["仁井"] = tochigi,
["瀧"] = tochigi,
["烏山"] = japan,
["仁井田"] = tochigi,
-- 篠之井線
["平田"] = nagano,
-- 小海線
-- 水郡線
["川東"] = fukushima,
-- 常陸太田支線
["額田"] = ibaraki,
-- 吾妻線
["金島"] = gunma,
-- 模版格式需要
["宮內"] = niigata,
['扇町/大川'] = "[[扇町站 (神奈川縣)|扇町]]/[[大川站 (日本)|大川]]"
},
["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"] = "新潟"
},
["北陸新幹線"] = {
["title"] = "[[File:Shinkansen jre.svg|20px]] [[北陸新幹線]]",
["color"] = "008000",
["left terminus"] = "東京",
["right terminus"] = "上越妙高"
},
["CO中央本線"] = {
["title"] = "[[File:JR CO line symbol.svg|18px|CO]] [[中央本線]]",
["color"] = "0074be",
["left terminus"] = "東京",
["right terminus"] = "鹽尻"
},
["JA"] = {
["title"] = "[[File:JR JA line symbol.svg|20px]] [[埼京線]]",
["color"] = "00ac9a",
["left terminus"] = {"大崎","羽澤橫濱國大"},
["right terminus"] = "大宮"
},
["JB"] = {
["title"] = "[[File:JR JB line symbol.svg|20px]] [[中央·總武緩行線]]",
["color"] = "fdbc00",
["left terminus"] = "三鷹",
["right terminus"] = "千葉"
},
["JC中央線快速"] = {
["title"] = "[[File:JR JC line symbol.svg|20px]] [[中央線快速]]<br>([[中央本線]])",
["color"] = "f15a22",
["left terminus"] = "東京",
["right terminus"] = {"高尾","大月","鹽尻"}
},
["高尾"] = {
["title"] = "[[File:JR JC line symbol.svg|20px]] [[中央線快速]]<br>([[中央本線]])",
["color"] = "f15a22",
["left terminus"] = "東京",
["right terminus"] = {"大月","鹽尻"}
},
["JC中央線"] = {
["title"] = "[[File:JR JC line symbol.svg|20px]] [[中央本線]]",
["color"] = "f15a22",
["left terminus"] = "東京",
["right terminus"] = {"大月","鹽尻"}
},
["JC青梅線"] = {
["title"] = "[[File:JR JC line symbol.svg|20px]] [[青梅線]]",
["color"] = "f15a22",
["left terminus"] = "立川",
["right terminus"] = "奧多摩"
},
["JC五日市線"] = {
["title"] = "[[File:JR JC line symbol.svg|20px]] [[五日市線]]",
["color"] = "f15a22",
["left terminus"] = "拜島",
["right terminus"] = "武藏五日市"
},
["JE"] = {
["title"] = "[[File:JR JE line symbol.svg|20px]] [[京葉線]]",
["color"] = "c9242f",
["left terminus"] = "東京",
["right terminus"] = "蘇我"
},
["JH"] = {
["title"] = "[[File:JR JH line symbol.svg|20px]] [[橫濱線]]",
["color"] = "9acd32",
["left terminus"] = "櫻木町",
["right terminus"] = "八王子"
},
["JI"] = {
["title"] = "[[File:JR JI line symbol.svg|20px]] [[鶴見線]]",
["color"] = "ffd400",
["left terminus"] = "鶴見",
["right terminus"] = {"扇町","海芝浦","大川"}
},
["海芝浦支線"] = {
["title"] = "[[File:JR JI line symbol.svg|20px]] [[鶴見線|海芝浦支線]]",
["color"] = "ffd400",
["left terminus"] = "鶴見",
["right terminus"] = "海芝浦"
},
["大川支線"] = {
["title"] = "[[File:JR JI line symbol.svg|20px]] [[鶴見線|大川支線]]",
["color"] = "ffd400",
["left terminus"] = "鶴見",
["right terminus"] = "大川"
},
["JJ"] = {
["title"] = "[[File:JR JJ line symbol.svg|20px]] [[常磐線快速|常磐快速線]]<br>[[上野東京線]]",
["color"] = "339999",
["left terminus"] = "品川",
["right terminus"] = {"取手","仙台"},
},
["JK京濱東北線"] = {
["title"] = "[[File:JR JK line symbol.svg|20px]] [[京濱東北線]]",
["color"] = "00b2e5",
["left terminus"] = "橫濱",
["right terminus"] = "大宮"
},
["JK根岸線"] = {
["title"] = "[[File:JR JK line symbol.svg|20px]] [[根岸線]]",
["color"] = "00b2e5",
["left terminus"] = "大船",
["right terminus"] = "橫濱"
},
["JL"] = {
["title"] = "[[File:JR JL line symbol.svg|20px]] [[常磐緩行線|常磐緩行線]]<br>([[常磐線]])",
["color"] = "808080",
["left terminus"] = "綾瀨",
["right terminus"] = "取手"
},
["JM"] = {
["title"] = "[[File:JR JM line symbol.svg|20px]] [[武藏野線]]",
["color"] = "f15a22",
["left terminus"] = "西船橋",
["right terminus"] = "府中本町"
},
["西浦和支線"] = {
["title"] = "[[File:JR JM line symbol.svg|20px]] [[武藏野線|西浦和支線]]",
["color"] = "f15a22",
["left terminus"] = "西船橋",
["right terminus"] = "大宮"
},
["大宮支線"] = {
["title"] = "[[File:JR JM line symbol.svg|20px]] [[武藏野線|大宮支線]]",
["color"] = "f15a22",
["left terminus"] = "大宮",
["right terminus"] = "府中本町"
},
["國立支線"] = {
["title"] = "[[File:JR JM line symbol.svg|20px]] [[武藏野線|國立支線]]",
["color"] = "f15a22",
["left terminus"] = "西船橋",
["right terminus"] = "國立"
},
["JN"] = {
["title"] = "[[File:JR JN line symbol.svg|20px]] [[南武線]]",
["color"] = "ffd400",
["left terminus"] = "川崎",
["right terminus"] = "立川"
},
["JN南武線支線"] = {
["title"] = "[[File:JR JN line symbol.svg|20px]] [[南武線|南武支線]]",
["color"] = "ffd400",
["left terminus"] = "尻手",
["right terminus"] = "濱川崎"
},
["JO"] = {
["title"] = "[[File:JR JO line symbol.svg|20px]] [[橫須賀·總武快速線]]",
["color"] = "0067C0",
["left terminus"] = "久里濱",
["right terminus"] = {"千葉","銚子"}
},
["JO成田線"] = {
["title"] = "[[File:JR JO line symbol.svg|20px]] [[成田線]]",
["color"] = "00b261",
["left terminus"] = "千葉",
["right terminus"] = "銚子"
},
["JO成田機場支線"] = {
["title"] = "[[File:JR JO line symbol.svg|20px]] [[成田線|成田機場支線]]",
["color"] = "00b261",
["left terminus"] = {"成田","千葉"},
["right terminus"] = "成田機場"
},
["JO總武本線"] = {
["title"] = "[[File:JR JO line symbol.svg|20px]] [[總武本線]]",
["color"] = "ffc20d",
["left terminus"] = {"東京","千葉"},
["right terminus"] = "銚子"
},
["JS"] = {
["title"] = "[[File:JR JS line symbol.svg|20px]] [[湘南新宿線]]",
["color"] = "e21f26",
["left terminus"] = {"小田原","逗子"},
["right terminus"] = {"宇都宮","前橋"}
},
["JT東海道線"] = {
["title"] = "[[File:JR JT line symbol.svg|20px]] [[東海道線 (JR東日本)|東海道線]]<br>[[上野東京線]]",
["color"] = "f68b1e",
["left terminus"] = "東京",
["right terminus"] = "熱海"
},
["JT伊東線"] = {
["title"] = "[[File:JR JT line symbol.svg|20px]] [[伊東線]]<br>[[上野東京線]]",
["color"] = "22aa33",
["left terminus"] = "熱海",
["right terminus"] = "伊東"
},
["宇都宮線"] = {
["title"] = "[[宇都宮線]]<br>[[湘南新宿線]]<br>[[上野東京線]]<br>([[東北本線]])",
["color"] = "f68b1e",
["left terminus"] = "東京",
["right terminus"] = {"黑磯","盛岡"}
},
["宇都宮線x"] = {
["title"] = "[[宇都宮線]]<br>([[東北本線]])",
["color"] = "f68b1e",
["left terminus"] = "東京",
["right terminus"] = {"黑磯","盛岡"}
},
["高崎線"] = {
["title"] = "[[高崎線]]<br>[[湘南新宿線]]<br>[[上野東京線]]",
["color"] = "f68b1e",
["left terminus"] = "東京",
["right terminus"] = {"高崎","前橋"}
},
["高崎前橋"] = {
["title"] = "[[湘南新宿線]]<br>[[上野東京線]]",
["color"] = "f68b1e",
["left terminus"] = "東京",
["right terminus"] = "前橋"
},
["JU宇都宮線"] = {
["title"] = "[[File:JR JU line symbol.svg|20px]] [[宇都宮線]]<br>[[上野東京線]]",
["color"] = "f68b1e",
["left terminus"] = "東京",
["right terminus"] = {"黑磯","盛岡"}
},
["JU高崎線"] = {
["title"] = "[[File:JR JU line symbol.svg|20px]] [[高崎線]]<br>[[上野東京線]]",
["color"] = "f68b1e",
["left terminus"] = "東京",
["right terminus"] = {"高崎","前橋"}
},
["JY"] = {
["title"] = "[[File:JR JY line symbol.svg|20px]] [[山手線]]",
["color"] = "9acd32",
["circular"] = true,
["left terminus"] = "外環",
["right terminus"] = "內環"
},
["高谷支線"] = {
["title"] = "[[File:JR JE line symbol.svg|20px]] [[京葉線|高谷支線]]",
["color"] = "c9242f",
["left terminus"] = "東京",
["right terminus"] = "西船橋"
},
["二俁支線"] = {
["title"] = "[[File:JR JE line symbol.svg|20px]] [[京葉線|二俁支線]]",
["color"] = "c9242f",
["left terminus"] = "海濱幕張",
["right terminus"] = "西船橋"
},
["川越線東"] = {
["title"] = "[[川越線]]",
["color"] = "00ac9a",
["left terminus"] = "大宮",
["right terminus"] = "川越"
},
["川越線西"] = {
["title"] = "[[川越線]]",
["color"] = "a8a39d",
["left terminus"] = "川越",
["right terminus"] = "高麗川"
},
["成田線"] = {
["title"] = "[[成田線]]",
["color"] = "00b261",
["left terminus"] = "千葉",
["right terminus"] = "銚子"
},
["我孫子支線"] = {
["title"] = "[[成田線|我孫子支線]]<br>[[上野東京線]]",
["color"] = "00b261",
["left terminus"] = "我孫子",
["right terminus"] = "成田"
},
["相模線"] = {
["title"] = "[[相模線]]",
["color"] = "009793",
["left terminus"] = "茅崎",
["right terminus"] = "橋本"
},
["八高線南"] = {
["title"] = "[[八高線]]",
["color"] = "a8a39d",
["left terminus"] = "八王子",
["right terminus"] = "高麗川"
},
["八高線北"] = {
["title"] = "[[八高線]]",
["color"] = "b4aa96",
["left terminus"] = "高麗川",
["right terminus"] = "高崎"
},
["相鐵·JR直通線"] = {
["title"] = "[[File:JR JS line symbol.svg|20px]] [[相鐵·JR直通線]]",
["color"] = "00ac9a",
["left terminus"] = "羽澤橫濱國大",
["right terminus"] = {"新宿","大宮"}
},
["常磐線"] = {
["title"] = "[[常磐線]]",
["color"] = "3333ff",
["left terminus"] = "品川",
["right terminus"] = "仙台"
},
["中央本線"] = {
["title"] = "[[中央本線]]",
["color"] = "0074be",
["left terminus"] = "東京",
["right terminus"] = "鹽尻"
},
["總武本線"] = {
["title"] = "[[總武本線]]",
["color"] = "ffc20d",
["left terminus"] = {"東京","千葉"},
["right terminus"] = "銚子"
},
["鹿島線"] = {
["title"] = "[[鹿島線]]",
["color"] = "c56e2e",
["left terminus"] = "佐原",
["right terminus"] = "鹿島足球場"
},
["外房線"] = {
["title"] = "[[外房線]]",
["color"] = "db4028",
["left terminus"] = "千葉",
["right terminus"] = "安房鴨川"
},
["東金線"] = {
["title"] = "[[東金線]]",
["color"] = "f15a22",
["left terminus"] = "大網",
["right terminus"] = "成東"
},
["內房線"] = {
["title"] = "[[內房線]]",
["color"] = "00b2e5",
["left terminus"] = "千葉",
["right terminus"] = "安房鴨川"
},
["久留里線"] = {
["title"] = "[[久留里線]]",
["color"] = "00B5AD",
["left terminus"] = "木更津",
["right terminus"] = "上總龜山"
},
["信越本線南"] = {
["title"] = "[[信越本線]]",
["color"] = "9acd32",
["left terminus"] = "高崎",
["right terminus"] = "橫川"
},
["上越線"] = {
["title"] = "[[上越線]]",
["color"] = "00b3e6",
["left terminus"] = "高崎",
["right terminus"] = "長岡"
},
["兩毛線"] = {
["title"] = "[[兩毛線]]",
["color"] = "ffd400",
["left terminus"] = "高崎",
["right terminus"] = "小山"
},
["水戶線"] = {
["title"] = "[[水戶線]]",
["color"] = "3333ff",
["left terminus"] = "小山",
["right terminus"] = "友部"
},
["日光線"] = {
["title"] = "[[日光線]]",
["color"] = "880022",
["left terminus"] = "宇都宮",
["right terminus"] = "日光"
},
["烏山線"] = {
["title"] = "[[烏山線]]",
["color"] = "339966",
["left terminus"] = "宇都宮",
["right terminus"] = "烏山"
},
["篠之井線"] = {
["title"] = "[[篠之井線]]",
["color"] = "d56a29",
["left terminus"] = "鹽尻",
["right terminus"] = "篠之井"
},
["小海線"] = {
["title"] = "[[小海線]]",
["color"] = "41934c",
["left terminus"] = "小淵澤",
["right terminus"] = "小諸"
},
["水郡線"] = {
["title"] = "[[水郡線]]",
["color"] = "368c44",
["left terminus"] = "水戶",
["right terminus"] = "郡山"
},
["常陸太田支線"] = {
["title"] = "[[水郡線|常陸太田支線]]",
["color"] = "368c44",
["left terminus"] = "上菅谷",
["right terminus"] = "常陸太田"
},
["吾妻線"] = {
["title"] = "[[吾妻線]]",
["color"] = "0f5474",
["left terminus"] = "高崎",
["right terminus"] = "大前"
},
["越中島支線"] = {
["title"] = "[[越中島支線]]",
["left terminus"] = "小岩",
["right terminus"] = "越中島貨物"
},
["東北本線"] = {
["title"] = "[[東北本線]]",
["color"] = "3cb371",
["left terminus"] = "東京",
["right terminus"] = "盛岡"
},
["磐越東線"] = {
["title"] = "[[磐越東線]]",
["color"] = "c71585",
["left terminus"] = "磐城",
["right terminus"] = "郡山"
},
["辰野支線"] = {
["title"] = "[[中央本線|辰野支線]]",
["color"] = "0074be",
["left terminus"] = "岡谷",
["right terminus"] = "鹽尻"
},
["大糸線"] = {
["title"] = "[[大糸線]]",
["color"] = "9370db",
["left terminus"] = "松本",
["right terminus"] = "南小谷"
}
}
}
return p