Module:Adjacent stations/JR East

< Module:Adjacent stations
Revision as of 18:30, 8 July 2021 by Zoran (talk | contribs) (Moved page from wikipedia:en:Module:Adjacent stations/JR East)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Adjacent stations doc

Lines

Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc


local akita = "%1 Station (Akita)"
local aomori = "%1 Station (Aomori)"
local chiba = "%1 Station (Chiba)"
local east = "%1 Station (JR East)"
local fukushima = "%1 Station (Fukushima)"
local gunma = "%1 Station (Gunma)"
local ibaraki = "%1 Station (Ibaraki)"
local iwate = "%1 Station (Iwate)"
local kanagawa = "%1 Station (Kanagawa)"
local miyagi = "%1 Station (Miyagi)"
local nagano = "%1 Station (Nagano)"
local niigata = "%1 Station (Niigata)"
local saitama = "%1 Station (Saitama)"
local tochigi = "%1 Station (Tochigi)"
local tokyo = "%1 Station (Tokyo)"
local yamagata = "%1 Station (Yamagata)"

local p = {
	["lang"] = "en-US",
	["system title"] = "[[File:JR logo (east).svg|30px]] [[East Japan Railway Company|JR East]]",
	["system color"] = "009e60",
	["station format"] = {
		"%1 Station",
		["Abiko"] = chiba,
		["Aoyama"] = {
			["Echigo"] = niigata,
			["Hanawa"] = iwate,
		},
		["Akatsuka"] = ibaraki,
		["Araki"] = chiba,
		["Araya"] = akita,
		["Ariake"] = nagano,
		["Atago"] = miyagi,
		["Daigo"] = akita,
		["Ebisu"] = tokyo,
		["Eda"] = fukushima,
		["Fujine"] = iwate,
		["Fujisaki"] = aomori,
		["Fukushima"] = fukushima,
		["Funaoka"] = miyagi,
		["Gion"] = chiba,
		["Gōdo"] = fukushima,
		["Haguro"] = ibaraki,
		["Hakusan"] = niigata,
		["Hashimoto"] = kanagawa,
		["Hatchōbori"] = tokyo,
		["Hayato"] = fukushima,
		["Hino"] = tokyo,
		["Hirabayashi"] = niigata,
		["Hirai"] = tokyo,
		["Hirata"] = nagano,
		["Hirono"] = fukushima,
		["Honjō"] = saitama,
		["Imagawa"] = niigata,
		["Ino"] = gunma,
		["Iriya"] = kanagawa,
		["Ishikawa"] = east,
		["Isobe"] = gunma,
		["Iwaki"] = fukushima,
		["Izumi"] = "Izumi Station (Iwaki)",
		["Jūjō"] = tokyo,
		["Kaize"] = nagano,
		["Kamijō"] = niigata,
		["Kabe"] = tokyo,
		["Kagawa"] = kanagawa,
		["Kamata"] = tokyo,
		["Kamo"] = niigata,
		["Kanda"] = tokyo,
		["Kashima"] = fukushima,
		["Kawabe"] = aomori,
		["Kawahigashi"] = fukushima,
		["Kawai"] = {
			["Ome Line"] = tokyo,
			["Suigun"] = ibaraki,
		},
		["Kawauchi"] = iwate,
		["Kirihara"] = niigata,
		["Kitaura"] = miyagi,
		["Kitayama"] = miyagi,
		["Kobayashi"] = chiba,
		["Koga"] = ibaraki,
		["Koikawa"] = akita,
		["Kōriyama"] = fukushima,
		["Kuji"] = {
			["Hachinohe"] = iwate,
			["Nambu"] = kanagawa,
		},
		["Kuki"] = saitama,
		["Kunimi"] = miyagi,
		["Kuroi"] = niigata,
		["Kurosawa"] = "Kurosawa Station (Yokote)",
		["Kusano"] = fukushima,
		["Maki"] = niigata,
		["Matsuyamamachi"] = miyagi,
		["Mega"] = yamagata,
		["Mikawa"] = niigata,
		["Misato"] = {
			["Koumi"] = nagano,
			["Musashino Line"] = saitama,
			["Shimosa"] = saitama,
		},
		["Mitake"] = tokyo,
		["Mito"] = ibaraki,
		["Miyauchi"] = niigata,
		["Murakami"] = niigata,
		["Murayama"] = yamagata,
		["Myōhōji"] = niigata,
		["Nakagawa"] = yamagata,
		["Nakano"] = tokyo,
		["Nakanoshima"] = kanagawa,
		["Nakasato"] = {
			["Iwaizumi"] = iwate,
			["Koumi"] = nagano,
		},
		["Narushima"] = yamagata,
		["Negishi"] = {
			["Negishi"] = kanagawa,
			["Tadami"] = fukushima,
			["Yokohama"] = kanagawa,
		},
		["Nishiyama"] = niigata,
		["Nisshin"] = saitama,
		["Nitta"] = miyagi,
		["Nozaki"] = tochigi,
		["Oiwake"] = akita,
		["Ogawamachi"] = saitama,
		["Ōgimachi"] = kanagawa,
		["Ogino"] = fukushima,
		["Ōji"] = tokyo,
		["Okamoto"] = tochigi,
		["Oku"] = tokyo,
		["Ōkubo"] = {
			["Chuo-Sobu"] = tokyo,
			["Ou Main"] = akita,
		},
		["Ōmagari"] = akita,
		["Ōmiya"] = saitama,
		["Ōmori"] = tokyo,
		["Ono"] = nagano,
		["Ōsawa"] = {
			["Joetsu"] = niigata,
			["Yamagata"] = yamagata,
		},
		["Ōtaki"] = yamagata,
		["Sakamoto"] = miyagi,
		["Sakata"] = yamagata,
		["Sakura"] = chiba,
		["Sanjō"] = niigata,
		["Sawa"] = ibaraki,
		["Sekiya"] = niigata,
		["Sendai"] = miyagi,
		["Shibata"] = niigata,
		["Shinmachi"] = gunma,
		["Shiomi"] = tokyo,
		["Shirasawa"] = akita,
		["Shiroishi"] = miyagi,
		["Shizu"] = ibaraki,
		["Shōwa"] = kanagawa,
		["Shukugawara"] = kanagawa,
		["Sugita"] = fukushima,
		["Tabata"] = tokyo,
		["Tagami"] = niigata,
		["Takahama"] = ibaraki,
		["Takamatsu"] = "Takamatsu Station (Kagawa)",
		["Takaiwa"] = nagano,
		["Takao"] = tokyo,
		["Takase"] = yamagata,
		["Taki"] = tochigi,
		["Tamagawa"] = iwate,
		["Tateyama"] = {
			["Sazanami"] = chiba,
			["Shinjuku Sazanami"] = chiba,
			["Uchibo"] = chiba,
			["Senzan"] = yamagata,
		},
		["Tatsuno"] = nagano,
		["Tennō"] = akita,
		["Toda"] = saitama,
		["Todoroki"] = aomori,
		["Tsukioka"] = niigata,
		["Tsukuda"] = gunma,
		["Tsutsujigaoka"] = miyagi,
		["Ueda"] = {
			["Hokuriku Shinkansen"] = nagano,
			["Joban"] = fukushima,
		},
		["Watari"] = miyagi,
		["Yamashita"] = miyagi,
		["Yamato"] = {
			["Ban'etsu West"] = fukushima,
			["Mito"] = ibaraki,
		},
		["Yanagawa"] = "Yanagawa Station (Yamanashi)",
		["Yanagihara"] = iwate,
		["Yanaizu"] = miyagi,
		["Yasuda"] = niigata,
		["Yokokura"] = nagano,
		["Yoshikawa"] = saitama,
		["Yushima"] = iwate,
	},
	["lines"] = {
		["Akita Shinkansen"] = {
			["title"] = "[[Akita Shinkansen]]<br/><small>''[[Komachi (train)|Komachi]]''</small>",
			["color"] = "FFC0CB",
			["left terminus"] = "Tokyo",
			["right terminus"] = "Akita",
		},
		["Hokuriku Shinkansen"] = {
			["title"] = "[[Hokuriku Shinkansen]]",
			["color"] = "800080",
			["left terminus"] = "Kanazawa",
			["right terminus"] = "Tokyo",
			["types"] = {
				["Kagayaki"] = {
					["title"] = "<small>''[[Kagayaki]]''</small>",
					["left terminus"] = "Kanazawa",
				},
				["Hakutaka"] = {
					["title"] = "<small>''[[Hakutaka]]''</small>",
					["left terminus"] = "Kanazawa",
				},
				["Asama"] = {
					["title"] = "<small>''[[Asama (train)|Asama]]''</small>",
					["left terminus"] = "Nagano",
				},
			},
		},
		["Joetsu Shinkansen"] = {
			["title"] = "[[Jōetsu Shinkansen]]",
			["color"] = "FF0080",
			["left terminus"] = "Tokyo",
			["types"] = {
				["Toki"] = {
					["title"] = "<small>''[[Toki (train)|Toki]]''</small>",
					["right terminus"] = "Niigata",
				},
				["Tanigawa"] = {
					["title"] = "<small>''[[Tanigawa (train)|Tanigawa]]''</small>",
					["right terminus"] = "Gala-Yuzawa",
				},
			},
		},
		["Tohoku Shinkansen"] = {
			["title"] = "[[Tōhoku Shinkansen]]",
			["color"] = "006400",
			["left terminus"] = "Tokyo",
			["types"] = {
				["Hayabusa"] = {
					["title"] = "<small>''[[Hayabusa (train)|Hayabusa]]''</small>",
					["right terminus"] = "Shin-Aomori",
				},
				["Yamabiko"] = {
					["title"] = "<small>''[[Yamabiko]]''</small>",
					["right terminus"] = "Morioka",
				},
				["Nasuno"] = {
					["title"] = "<small>''[[Nasuno]]''</small>",
					["right terminus"] = "Kōriyama",
				},
				["Hayate"] = {
					["title"] = "<small>''[[Hayate (train)|Hayate]]''</small>",
					["left terminus"] = "Morioka",
					["right terminus"] = "Shin-Aomori",
				},
			}
		},
		["Yamagata Shinkansen"] = {
			["title"] = "[[Yamagata Shinkansen]]<br/><small>[[Tsubasa (train)|''Tsubasa'']]</small>",
			["color"] = "FF8000",
			["left terminus"] = "Tokyo",
			["right terminus"] = "Shinjō",
		},
		["Agatsuma"] = {
			["title"] = "[[Agatsuma Line]]",
			["color"] = "00898c",
			["left terminus"] = "Ōmae",
			["right terminus"] = "Takasaki",
		},
		["Akagi"] = {
			["title"] = "''[[Akagi (train)|Akagi]]''",
			["color"] = "009e60",
			["left terminus"] = "Ueno",
			["right terminus"] = "Maebashi",
		},
		["Aterazawa"] = {
			["title"] = "[[Aterazawa Line]]",
			["color"] = "006dc0",
			["left terminus"] = "Aterazawa",
			["right terminus"] = "Yamagata",
		},
		["Azusa"] = {
			["title"] = "''[[Azusa (train)|Azusa]]''",
			["color"] = "009e60",
			["left terminus"] = "Minami-Otari",
			["right terminus"] = {"Chiba", "Tokyo"},
		},
		["Ban'etsu East"] = {
			["title"] = "[[Ban'etsu East Line]]",
			["color"] = "d14379",
			["left terminus"] = "Kōriyama",
			["right terminus"] = "Iwaki",
		},
		["Ban'etsu West"] = {
			["title"] = "[[Ban'etsu West Line]]",
			["color"] = "c66c00",
			["left terminus"] = "Niitsu",
			["right terminus"] = "Kōriyama",
		},
		["BRT"] = {
			["title"] = "[[Kesennuma Line|Kesennuma]] / [[Ōfunato Line|Ōfunato]] BRT",
			["color"] = "0f0f0f",
			["left terminus"] = "Maeyachi",
			["right terminus"] = "Sakari",
		},
		["Chuo"] = {
			["title"] = "[[Chūō Line (Rapid)|Chūō Line]]",
			["color"] = "ff4500",
			["left terminus"] = "Ōtsuki",
			["right terminus"] = "Tokyo",
		},
		["Chuo Main"] = {
			["title"] = "[[Chūō Main Line]]",
			["color"] = "006db1",
			["left terminus"] = "Shiojiri",
			["right terminus"] = "Tachikawa",
		},
		["Chuo-Sobu"] = {
			["title"] = "[[Chūō–Sōbu Line]]",
			["color"] = "ffd400",
			["left terminus"] = "Mitaka",
			["right terminus"] = "Chiba",
		},
		["Echigo"] = {
			["title"] = "[[Echigo Line]]",
			["color"] = "008c38",
			["left terminus"] = "Kashiwazaki",
			["right terminus"] = "Niigata",
		},
		["Fuji Excursion"] = {
			["title"] = "''[[Fuji Excursion]]''",
			["color"] = "009e60",
			["left terminus"] = "Ōtsuki",
			["right terminus"] = "Shinjuku",
		},
		["Gono"] = {
			["title"] = "[[Gono Line]]",
			["color"] = "0080be",
			["left terminus"] = "Higashi-Noshiro",
			["right terminus"] = "Hirosaki",
		},
		["Hachiko"] = {
			["title"] = "[[Hachikō Line]]",
			["color"] = "a09d94",
			["types"] = {
				["Takasaki"] = {
					["title"] = "",
					["left terminus"] = "Takasaki",
					["right terminus"] = "Komagawa",
				},
				["Hachiōji"] = {
					["title"] = "",
					["left terminus"] = "Komagawa",
					["right terminus"] = "Hachiōji",
				},
			}
		},
		["Hachinohe"] = {
			["title"] = "[[Hachinohe Line]]",
			["color"] = "ff221a",
			["left terminus"] = "Hachinohe",
			["right terminus"] = "Kuji",
		},
		["Hachioji"] = {
			["title"] = "''[[Hachiōji (train)|Hachioji]]''",
			["color"] = "009e60",
			["left terminus"] = "Hachiōji",
			["right terminus"] = "Tokyo",
		},
		["Hakushin"] = {
			["title"] = "[[Hakushin Line]]",
			["color"] = "ff68a7",
			["left terminus"] = "Niigata",
			["right terminus"] = "Shibata",
		},
		["Hanawa"] = {
			["title"] = "[[Hanawa Line]]",
			["color"] = "c10020",
			["left terminus"] = "Ōdate",
			["right terminus"] = "Morioka",
		},
		["Hitachi"] = {
			["title"] = "[[Hitachi (Japanese train)|''Hitachi'']]",
			["color"] = "009e60",
			["left terminus"] = "Shinagawa",
			["right terminus"] = "Sendai",
		},
		["Iiyama"] = {
			["title"] = "[[Iiyama Line]]",
			["color"] = "11c400",
			["left terminus"] = "Nagano",
			["right terminus"] = "Echigo-Kawaguchi",
		},
		["Inaho"] = {
			["title"] = "''[[Inaho]]''",
			["color"] = "009e60",
			["left terminus"] = "Kogota",
			["right terminus"] = "Onagawa",
		},
		["Ishinomaki"] = {
			["title"] = "[[Ishinomaki Line]]",
			["color"] = "ff648d",
			["left terminus"] = "Kogota",
			["right terminus"] = "Onagawa",
		},
		["Ito"] = {
			["title"] = "[[Itō Line]]",
			["color"] = "ffa500",
			["left terminus"] = "Itō",
			["right terminus"] = "Atami",
		},
		["Itsukaichi"] = {
			["title"] = "[[Itsukaichi Line]]",
			["color"] = "ff4500",
			["left terminus"] = "Musashi-Itsukaichi",
			["right terminus"] = "Haijima",
		},
		["Iwaizumi"] = {
			["title"] = "[[Iwaizumi Line]]",
			["color"] = "808080",
			["left terminus"] = "Iwaizumi",
			["right terminus"] = "Moichi",
		},
		["Joban"] = {
			["title"] = "[[Jōban Line]]",
			["color"] = "006acd",
			["left terminus"] = "Shinagawa",
			["right terminus"] = "Sendai",
			["types"] = {
				["Special Rapid"] = {
					["title"] = "",
					["right terminus"] = "Tsuchiura",
				},
			},
		},
		["Joban Local"] = {
			["title"] = "[[Jōban Line]]",
			["color"] = "808080",
			["left terminus"] = "Ayase",
			["right terminus"] = "Toride",
		},
		["Joban Rapid"] = {
			["title"] = "[[Jōban Line]]",
			["color"] = "00ba6e",
			["left terminus"] = "Shinagawa",
			["right terminus"] = "Toride",
		},
		["Joetsu"] = {
			["title"] = "[[Jōetsu Line]]",
			["color"] = "00add9",
			["left terminus"] = "Takasaki",
			["right terminus"] = "Nagaoka",
		},
		["Kaiji"] = {
			["title"] = "''[[Kaiji (train)|Kaiji]]''",
			["color"] = "009e60",
			["left terminus"] = "Ryūō",
			["right terminus"] = "Tokyo",
		},
		["Kamaishi"] = {
			["title"] = "[[Kamaishi Line]]",
			["color"] = "0069cc",
			["left terminus"] = "Hanamaki",
			["right terminus"] = "Kamaishi",
		},
		["Karasuyama"] = {
			["title"] = "[[Karasuyama Line]]",
			["color"] = "ff8200",
			["left terminus"] = "Utsunomiya",
			["right terminus"] = "Karasuyama",
		},
		["Kashima"] = {
			["title"] = "[[Kashima Line]]",
			["color"] = "b15d00",
			["left terminus"] = "Sawara",
			["right terminus"] = "Kashima Soccer Stadium",
		},
		["Kawagoe Komagawa"] = {
			["title"] = "[[Kawagoe Line]]",
			["color"] = "a09d94",
			["left terminus"] = "Komagawa",
			["right terminus"] = "Kawagoe",
		},
		["Kawagoe Omiya"] = {
			["title"] = "[[Kawagoe Line]]",
			["color"] = "009e60",
			["left terminus"] = "Kawagoe",
			["right terminus"] = "Ōmiya",
		},
		["Keihin-Tohoku"] = {
			["title"] = "[[Keihin–Tōhoku Line]]",
			["color"] = "00b2e5",
			["left terminus"] = "Yokohama",
			["right terminus"] = "Ōmiya",
		},
		["Keiyo"] = {
			["title"] = "[[Keiyō Line]]",
			["color"] = "ff0066",
			["left terminus"] = "Tokyo",
			["right terminus"] = "Soga",
		},
		["Kesennuma"] = {
			["title"] = "[[Kesennuma Line]]",
			["color"] = "4d30aa",
			["left terminus"] = "Kogota",
			["right terminus"] = "Yanaizu",
		},
		["Kitakami"] = {
			["title"] = "[[Kitakami Line]]",
			["color"] = "9b007b",
			["left terminus"] = "Yokote",
			["right terminus"] = "Kitakami",
		},
		["Koumi"] = {
			["title"] = "[[Koumi Line]]",
			["color"] = "008c38",
			["left terminus"] = "Komoro",
			["right terminus"] = "Kobuchizawa",
		},
		["Kururi"] = {
			["title"] = "[[Kururi Line]]",
			["color"] = "00c9aa",
			["left terminus"] = "Kisarazu",
			["right terminus"] = "Kazusa-Kameyama",
		},
		["Kusatsu"] = {
			["title"] = "''[[Kusatsu (train)|Kusatsu]]''",
			["color"] = "009e60",
			["left terminus"] = "Ueno",
			["right terminus"] = "Manza-Kazawaguchi",
		},
		["Minakami"] = {
			["title"] = "''[[Minakami (train)|Minakami]]''",
			["color"] = "009e60",
			["left terminus"] = "Ueno",
			["right terminus"] = "Minakami",
		},
		["Mito"] = {
			["title"] = "[[Mito Line]]",
			["color"] = "006acd",
			["left terminus"] = "Oyama",
			["right terminus"] = "Mito",
		},
		["Musashino"] = {
			["title"] = "''[[Musashino (train)|Musashino]]''",
			["color"] = "0000FF",
			["left terminus"] = {"Fuchūhommachi", "Hachiōji"},
			["right terminus"] = "Ōmiya",
		},
		["Musashino Line"] = {
			["title"] = "[[Musashino Line]]",
			["color"] = "ff4600",
			["left terminus"] = "Fuchūhommachi",
			["right terminus"] = {"Kaihimmakuhari", "Tokyo"},
		},
		["Nambu"] = {
			["title"] = "[[Nambu Line]]",
			["color"] = "ffe400",
			["left terminus"] = "Tachikawa",
			["right terminus"] = "Kawasaki",
		},
	    ["Nambu Branch"] = {
	        ["title"] = "[[Nambu Line#Nambu Branch Line|Nambu Branch Line]]",
	        ["color"] = "ffe400",
	        ["left terminus"] = "Shitte",
	        ["right terminus"] = "Hama-Kawasaki",
	    },
		["Narita"] = {
			["title"] = "[[Narita Line]]",
			["color"] = "00ba6e",
			["left terminus"] = "Chiba",
			["right terminus"] = {"Chōshi", "Abiko", "Narita Airport Terminal 1"},
			["types"] = {
				["Main"] = {
					["title"] = "",
					["right terminus"] = "Chōshi",
				},
				["Abiko"] = {
					["title"] = "",
					["left terminus"] = "Abiko",
					["right terminus"] = "Chiba",
				},
			},
		},
		["Narita Express"] = {
			["title"] = "''[[Narita Express]]''",
			["color"] = "000000",
			["left terminus"] = {"Ōfuna", "Takao", "Ōmiya"},
			["right terminus"] = "Narita Airport Terminal 1",
		},
		["Negishi"] = {
			["title"] = "[[Negishi Line]]",
			["color"] = "00b2e5",
			["left terminus"] = "Ōfuna",
			["right terminus"] = "Yokohama",
		},
		["Nikko/Kinugawa"] = {
			["title"] = "''[[Nikkō (train)|Nikkō]]'' and ''[[Kinugawa (train)|Kinugawa]]''",
			["color"] = "009e60",
			["left terminus"] = "Shinjuku",
			["right terminus"] = {"Tōbu Nikkō", "Kinugawa-Onsen"},
		},
		["Nikko Line"] = {
			["title"] = "[[Nikkō Line]]",
			["color"] = "ff8200",
			["left terminus"] = "Nikkō",
			["right terminus"] = "Utsunomiya",
		},
		["Odoriko"] = {
			["title"] = "''[[Odoriko]]''",
			["color"] = "009e60",
			["left terminus"] = {"Itō", "Atami"},
			["right terminus"] = "Tokyo",
		},
		["Ofunato"] = {
			["title"] = "[[Ōfunato Line]]",
			["color"] = "ff8524",
			["left terminus"] = "Ichinoseki",
			["right terminus"] = "Kesennuma",
		},
		["Oga"] = {
			["title"] = "[[Oga Line]]",
			["color"] = "009e60",
			["left terminus"] = "Akita",
			["right terminus"] = "Oga",
		},
		["Oito"] = {
			["title"] = "[[Ōito Line]]",
			["color"] = "997191",
			["left terminus"] = "Minami-Otari",
			["right terminus"] = "Matsumoto",
		},
		["Ome"] = {
			["title"] = "''[[Ōme (train)|Ōme]]''",
			["color"] = "009e60",
			["left terminus"] = "Ōme",
			["right terminus"] = "Tokyo",
		},
		["Ome Line"] = {
			["title"] = "[[Ōme Line]]",
			["color"] = "ff4500",
			["left terminus"] = "Oku-Tama",
			["right terminus"] = "Tachikawa",
		},
		["Ominato"] = {
			["title"] = "[[Ōminato Line]]",
			["color"] = "c99700",
			["left terminus"] = "Noheji",
			["right terminus"] = "Ōminato",
		},
		["Ou Main"] = {
			["title"] = "[[Ōu Main Line]]",
			["color"] = "fd7900",
			["left terminus"] = "Shinjō",
			["right terminus"] = "Aomori",
			["types"] = {
				["Rapid"] = {
					["title"] = "<small>Rapid</small>",
					["left terminus"] = "Akita",
				},
			},
		},
		["Rikuu East"] = {
			["title"] = "[[Rikuu East Line]]",
			["color"] = "75787a",
			["left terminus"] = "Shinjō",
			["right terminus"] = "Kogota",
		},
		["Rikuu West"] = {
			["title"] = "[[Rikuu West Line]]",
			["color"] = "2adc81",
			["left terminus"] = "Sakata",
			["right terminus"] = "Shinjō",
		},
		["Ryomo"] = {
			["title"] = "[[Ryōmō Line]]",
			["color"] = "d4c200",
			["left terminus"] = "Takasaki",
			["right terminus"] = "Oyama",
		},
		["Sagami"] = {
			["title"] = "[[Sagami Line]]",
			["color"] = "00898b",
			["left terminus"] = "Chigasaki",
			["right terminus"] = "Hashimoto",
		},
		["Saikyo"] = {
			["title"] = "[[Saikyō Line]]",
			["color"] = "009154",
			["left terminus"] = "Ōsaki",
			["right terminus"] = "Ōmiya",
		},
		["Saphir Odoriko"] = {
			["title"] = "''[[Odoriko#Saphir Odoriko|Saphir Odoriko]]''",
			["color"] = "009e60",
			["left terminus"] = "Itō",
			["right terminus"] = {"Tokyo", "Shinjuku"},
		},
		["Sazanami"] = {
			["title"] = "''[[Sazanami (train)|Sazanami]]''",
			["color"] = "009e60",
			["left terminus"] = "Tokyo",
			["right terminus"] = "Kimitsu",
		},
		["Senseki"] = {
			["title"] = "[[Senseki Line]]",
			["color"] = "00add9",
			["left terminus"] = "Aoba-dori",
			["right terminus"] = "Ishinomaki",
		},
		["Senseki-Tohoku"] = {
			["title"] = "[[Senseki-Tōhoku Line]]",
			["color"] = "ffc4ef",
			["left terminus"] = "Sendai",
			["right terminus"] = "Ishinomaki",
			["types"] = {
				["Red Rapid"] = {
					["title"] = "",
					["right terminus"] = "Onagawa",
				}
			}
		},
		["Senzan"] = {
			["title"] = "[[Senzan Line]]",
			["color"] = "00d238",
			["left terminus"] = "Yamagata",
			["right terminus"] = "Sendai",
		},
		["Shimokita"] = {
			["title"] = "''[[Shimokita (train)|Shimokita]]''",
			["color"] = "00b9e2",
			["left terminus"] = "Noheji",
			["right terminus"] = "Ōminato",
		},
		["Shimosa"] = {
			["title"] = "[[Shimōsa (train)|''Shimōsa'']]",
			["color"] = "0000ff",
			["left terminus"] = "Ōmiya",
			["right terminus"] = "Kaihimmakuhari",
		},
		["Shin'etsu Main"] = {
			["title"] = "[[Shin'etsu Main Line]]",
			["color"] = "00add6",
			["left terminus"] = "Naoetsu",
			["right terminus"] = "Niigata",
		},
		["Shinano"] = {
			["title"] = "''[[Shinano (train)|Shinano]]''",
			["color"] = "009e60",
			["left terminus"] = "Nagoya",
			["right terminus"] = "Nagano",
		},
		["Shinonoi"] = {
			["title"] = "[[Shinonoi Line]]",
			["color"] = "d65a00",
			["left terminus"] = "Shiojiri",
			["right terminus"] = "Nagano",
		},
		["Shiosai"] = {
			["title"] = "''[[Shiosai]]''",
			["color"] = "009e60",
			["left terminus"] = "Tokyo",
			["right terminus"] = "Chōshi",
		},
		["Shirayuki"] = {
			["title"] = "''[[Shirayuki (train)|Shirayuki]]''",
			["color"] = "009e60",
			["left terminus"] = "Naoetsu",
			["right terminus"] = "Niigata",
		},
		["Shonan"] = {
			["title"] = "''[[Shōnan (train)|Shōnan]]''",
			["color"] = "009e60",
			["left terminus"] = "Odawara",
			["right terminus"] = {"Tokyo", "Shinjuku"}
		},
		["Shonan-Shinjuku"] = {
			["title"] = "[[Shōnan–Shinjuku Line]]",
			["color"] = "ff0000",
			["left terminus"] = {"Odawara", "Zushi"},
			["right terminus"] = {"Takasaki", "Maebashi", "Utsunomiya"},
		},
		["Sobu"] = {
			["title"] = "[[Sōbu Line (Rapid)|Sōbu Line]]",
			["color"] = "006db1",
			["left terminus"] = "Tokyo",
			["right terminus"] = "Chiba",
		},
		["Sobu Main"] = {
			["title"] = "[[Sōbu Main Line]]",
			["color"] = "d4c200",
			["left terminus"] = "Chiba",
			["right terminus"] = "Chōshi",
		},
		["Sobu Main/Narita"] = {
			["title"] = "[[Sōbu Main Line|Sōbu Main]] / [[Narita Line|Narita]] Lines",
			["color"] = "d4c200",
			["left terminus"] = "Chiba",
			["right terminus"] = {"Chōshi", "Abiko", "Narita Airport Terminal 1"},
		},
		["Sotetsu JR Direct"] = {
			["title"] = "[[Sotetsu JR Direct Line]]",
			["color"] = "009154",
			["left terminus"] = "Hazawa yokohama-kokudai",
			["right terminus"] = "Ōsaki",
		},
		["Sotobo"] = {
			["title"] = "[[Sotobō Line]]",
			["color"] = "ff0009",
			["left terminus"] = "Chiba",
			["right terminus"] = "Awa-Kamogawa",
		},
		["Sotobo/Uchibo"] = {
			["title"] = "[[Sotobō Line|Sotobō]] / [[Uchibō Line|Uchibō]] Lines",
			["color"] = "009e60",
			["left terminus"] = "Chiba",
			["right terminus"] = "Awa-Kamogawa",
		},
		["Suigun"] = {
			["title"] = "[[Suigun Line]]",
			["color"] = "008c38",
			["left terminus"] = "Mito",
			["right terminus"] = {"Kōriyama", "Hitachi-Ōta"},
			["types"] = {
				["Main"] = {
					["right terminus"] = "Kōriyama",
				},
				["Branch"] = {
					["title"] = "Hitachi-Ōta Branch",
					["right terminus"] = "Hitachi-Ōta",
				},
			},
		},
		["Sunrise Izumo/Sunrise Seto"] = {
			["title"] = "''[[Sunrise Izumo]]'' and ''[[Sunrise Seto]]''",
			["color"] = "009e60",
			["left terminus"] = "Atami",
			["right terminus"] = "Tokyo",
		},
		["Tadami"] = {
			["title"] = "[[Tadami Line]]",
			["color"] = "007fbe",
			["left terminus"] = "Koide",
			["right terminus"] = "Aizu-Wakamatsu",
		},
		["Takasaki"] = {
			["title"] = "[[Takasaki Line]]",
			["color"] = "ffa500",
			["left terminus"] = "Tokyo",
			["right terminus"] = "Maebashi",
		},
		["Tazawako"] = {
			["title"] = "[[Tazawako Line]]",
			["color"] = "bc63db",
			["left terminus"] = "Ōmagari",
			["right terminus"] = "Morioka",
		},
		["Tohoku Main"] = {
			["title"] = "[[Tōhoku Main Line]]",
			["color"] = "009e60",
			["left terminus"] = "Kuroiso",
			["right terminus"] = "Morioka",
			["types"] = {
				["Rapid City Rabbit"] = {
					["title"] = "<small>Rapid ''City Rabbit''</small>",
					["left terminus"] = "Fukushima",
					["right terminus"] = "Sendai",
				},
				["Rapid Hamayuri"] = {
					["title"] = "<small>Rapid ''Hamayuri''</small>",
					["left terminus"] = "Hanamaki",
				},
				["Rapid Aterui"] = {
					["title"] = "<small>Rapid ''Aterui''</small>",
				},
			},
		},
		["Tokaido"] = {
			["title"] = "[[Tōkaidō Main Line|Tōkaidō Line]]",
			["color"] = "ffa500",
			["left terminus"] = "Atami",
			["right terminus"] = "Tokyo",
		},
		["Tokiwa"] = {
			["title"] = "[[Tokiwa (train)|''Tokiwa'']]",
			["color"] = "009e60",
			["left terminus"] = "Shinagawa",
			["right terminus"] = "Takahagi",
		},
		["Tsugaru"] = {
			["title"] = "[[Tsugaru (train)|''Tsugaru'']]",
			["color"] = "009e60",
			["left terminus"] = "Akita",
			["right terminus"] = "Aomori",
		},
		["Tsugaru Line"] = {
			["title"] = "[[Tsugaru Line]]",
			["color"] = "00add9",
			["left terminus"] = "Minmaya",
			["right terminus"] = "Aomori",
		},
		["Tsugaru-Kaikyo"] = {
			["title"] = "[[Tsugaru-Kaikyo Line]]",
			["color"] = "00bd16",
			["left terminus"] = "Naka-Oguni",
			["right terminus"] = "Aomori",
		},
		["Tsurumi"] = {
			["title"] = "[[Tsurumi Line]]",
			["color"] = "ffd700",
			["left terminus"] = "Tsurumi",
			["right terminus"] = {"Ōgimachi", "Umi-Shibaura", "Ōkawa"},
		},
		["Uchibo"] = {
			["title"] = "[[Uchibō Line]]",
			["color"] = "006acc",
			["left terminus"] = "Chiba",
			["right terminus"] = "Awa-Kamogawa",
		},
		["Uetsu Main"] = {
			["title"] = "[[Uetsu Main Line]]",
			["color"] = "00bbe0",
			["left terminus"] = "Niitsu",
			["right terminus"] = "Akita",
		},
		["Utsunomiya"] = {
			["title"] = "[[Utsunomiya Line]]",
			["color"] = "ffa500",
			["left terminus"] = "Tokyo",
			["right terminus"] = "Kuroiso",
			["types"] = {
				["Rapid"] = {
					["title"] = "",
					["left terminus"] = "Ueno",
					["right terminus"] = "Utsunomiya",
				},
			},
		},
		["Utsunomiya/Takasaki"] = {
			["title"] = "[[Utsunomiya Line|Utsunomiya]] / [[Takasaki Line|Takasaki]] Lines",
			["color"] = "ffa500",
			["left terminus"] = "Tokyo",
			["right terminus"] = {"Kuroiso", "Maebashi"},
			["types"] = {
				["Rapid"] = {
					["title"] = "",
					["right terminus"] = {"Utsunomiya", "Maebashi"},
				},
			},
		},
		["Wakashio"] = {
			["title"] = "''[[Wakashio]]''",
			["color"] = "009e60",
			["left terminus"] = "Tokyo",
			["right terminus"] = "Awa-Kamogawa",
		},
		["Yahiko"] = {
			["title"] = "[[Yahiko Line]]",
			["color"] = "9b007b",
			["left terminus"] = "Yahiko",
			["right terminus"] = "Higashi-Sanjō",
		},
		["Yamada"] = {
			["title"] = "[[Yamada Line (JR East)|Yamada Line]]",
			["color"] = "c66d00",
			["left terminus"] = "Morioka",
			["right terminus"] = "Miyako",
		},
		["Yamagata"] = {
			["title"] = "[[Yamagata Line]]",
			["color"] = "fd7900",
			["left terminus"] = "Fukushima",
			["right terminus"] = "Shinjō",
		},
		["Yamanote"] = {
			["title"] = "[[Yamanote Line]]",
			["color"] = "9acd32",
			["circular"] = true,
			["left terminus"] = "Next counter-clockwise",
			["right terminus"] = "Next clockwise",
		},
		["Yokohama"] = {
			["title"] = "[[Yokohama Line]]",
			["color"] = "7fc342",
			["left terminus"] = "Hachiōji",
			["right terminus"] = "Yokohama",
		},
		["Yokosuka"] = {
			["title"] = "[[Yokosuka Line]]",
			["color"] = "006db1",
			["left terminus"] = "Kurihama",
			["right terminus"] = "Tokyo",
		},
		["Yonesaka"] = {
			["title"] = "[[Yonesaka Line]]",
			["color"] = "ba63dc",
			["left terminus"] = "Sakamachi",
			["right terminus"] = "Yonezawa",
		},
	},
}

return p