Module:Adjacent stations/JR East

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

local p = {
	["lang"] = "en-GB",
	["system icon"] = "[[File:JR logo (east).svg|20px|link=East Japan Railway Company|alt=Logo of the East Japan Railway Company (JR East)]]",
	["system title"] = "[[East Japan Railway Company|JR East]]",
	["system color"] = "0A8C0D",
    ["name format"] = {
    	"font-family: sans-serif; background-color: transparent; font-size: 150%; color: black; padding: 0.1em; line-height: 1.2em; white-space: nowrap; text-align: center; border-bottom: 8px solid #0A8C0D;",
    	["o"] = "font-family: sans-serif; background-color: transparent; font-size: 150%; color: black; padding: 0.1em; line-height: 1.2em; white-space: nowrap; text-align: center;",
    },
    ["header background color"] = "0A8C0D",
    ["header text color"] = "FFFFFF",
	["station format"] = {
		"Estasyon ng %1",
		["Abiko"] = chiba,
		["Aoyama"] = {
			["Echigo"] = niigata,
			["Hanawa"] = iwate,
		},
		["Akatsuka"] = ibaraki,
		["Araki"] = chiba,
		["Araya"] = akita,
		["Ariake"] = nagano,
		["Asahi"] = chiba,
		["Atago"] = miyagi,
		["Chitose"] = chiba,
		["Daigo"] = akita,
		["Ebisu"] = tokyo,
		["Eda"] = fukushima,
		["Enokido"] = chiba,
		["Fujine"] = iwate,
		["Fujisaki"] = aomori,
		["Fukiage"] = saitama,
		["Fukushima"] = fukushima,
		["Funaoka"] = miyagi,
		["Futomi"] = chiba,
		["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,
		["Hota"] = chiba,
		["Imagawa"] = niigata,
		["Ino"] = gunma,
		["Iriya"] = kanagawa,
		["Ishibashi"] = tochigi,
		["Ishikawa"] = east,
		["Isobe"] = gunma,
		["Iwaki"] = fukushima,
		["Iwatsuki"] = miyagi,
		["Izumi"] = "Izumi Station (Iwaki)",
		["Jūjō"] = tokyo,
		["Kaize"] = nagano,
		["Kamijō"] = niigata,
		["Kabe"] = tokyo,
		["Kagawa"] = kanagawa,
		["Kamata"] = tokyo,
		["Kamo"] = niigata,
		["Kamonomiya"] = kanagawa,
		["Kanda"] = tokyo,
		["Kashima"] = fukushima,
		["Kawabe"] = aomori,
		["Kawahigashi"] = fukushima,
		["Kawai"] = {
			["Ome Line"] = tokyo,
			["Suigun"] = ibaraki,
		},
		["Kawauchi"] = iwate,
		["Kirihara"] = niigata,
		["Kitaura"] = miyagi,
		["Kitayama"] = miyagi,
		["Kobayashi"] = chiba,
		["Kobuchi"] = kanagawa,
		["Koga"] = ibaraki,
		["Koikawa"] = akita,
		["Kōriyama"] = fukushima,
		["Kōzu"] = kanagawa,
		["Kuji"] = {
			["Hachinohe"] = iwate,
			["Nambu"] = kanagawa,
		},
		["Kuki"] = saitama,
		["Kunimi"] = miyagi,
		["Kuroi"] = niigata,
		["Kurosawa"] = "Kurosawa Station (Yokote)",
		["Kusano"] = fukushima,
		["Machida"] = tokyo,
		["Maki"] = niigata,
		["Matsuo"] = chiba,
		["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,
		["Nagata"] = chiba,
		["Nagaura"] = chiba,
		["Nakagawa"] = yamagata,
		["Nakayama"] = kanagawa,
		["Nakano"] = tokyo,
		["Nakanoshima"] = kanagawa,
		["Nakasato"] = {
			["Iwaizumi"] = iwate,
			["Koumi"] = nagano,
		},
		["Narushima"] = yamagata,
		["Negishi"] = {
			["Negishi"] = kanagawa,
			["Tadami"] = fukushima,
			["Yokohama"] = kanagawa,
		},
		["Nishiyama"] = niigata,
		["Nisshin"] = saitama,
		["Nitta"] = miyagi,
		["Nogi"] = tochigi,
		["Nozaki"] = tochigi,
		["Oiwake"] = akita,
		["Ogawamachi"] = saitama,
		["Ōgimachi"] = kanagawa,
		["Ogino"] = fukushima,
		["Ōhara"] = chiba,
		["Ō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,
		["Tōkaichiba"] = kanagawa,
		["Tomiura"] = chiba,
		["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"] = {
		["_default"] = {
			["color"] = "0A8C0D",
		},
		["Akita Shinkansen"] = {
			["icon"] = "[[File:Shinkansen jre.svg|18px|link=Akita Shinkansen|alt=The symbol for the Akita Shinkansen run by JR East.]]",
			["title"] = "[[Akita Shinkansen]]",
			["color"] = "ED4399",
			["left terminus"] = "Tokyo",
			["right terminus"] = "Akita",
			["types"] = {
				["Komachi"] = {
					["title"] = "''[[Komachi (tren)|Komachi]]''",
				},
			},
		},
		["Hokuriku Shinkansen"] = {
			["icon"] = "[[File:Shinkansen jre.svg|18px|link=Hokuriku Shinkansen|alt=The symbol for the portion of the Hokuriku Shinkansen run by JR East.]]",
			["title"] = "[[Hokuriku Shinkansen]]",
			["color"] = "800080",
			["left terminus"] = "Tokyo",
			["right terminus"] = "Jōetsumyōkō",
			["types"] = {
				["Kagayaki"] = {
					["title"] = "",
					["right terminus"] = "Nagano",
					["background color"] = "FFFACD",
				},
				["Hakutaka"] = {
					["title"] = "",
					["right terminus"] = "Jōetsumyōkō",
					["background color"] = "FF4500",
				},
				["Asama"] = {
					["title"] = "",
					["right terminus"] = "Nagano",
					["background color"] = "9370DB",
				},
			},
		},
		["Jōetsu Shinkansen"] = {
			["icon"] = "[[File:Shinkansen jre.svg|18px|link=Jōetsu Shinkansen|alt=The symbol for the Jōetsu Shinkansen run by JR East.]]",
			["title"] = "[[Jōetsu Shinkansen]]",
			["color"] = "f58d79",
			["left terminus"] = "Tokyo",
			["types"] = {
				["Toki"] = {
					["title"] = "''[[Toki (tren)|Toki]]''",
					["right terminus"] = "Niigata",
				},
				["Tanigawa"] = {
					["title"] = "''[[Tanigawa (tren)|Tanigawa]]''",
					["right terminus"] = "Gala-Yuzawa",
				},
			},
		},
		["Tohoku Shinkansen"] = {
			["icon"] = "[[File:Shinkansen jre.svg|18px|link=Tohoku Shinkansen|alt=The symbol for the Tohoku Shinkansen run by JR East.]]",
			["title"] = "[[Tōhoku Shinkansen]]",
			["color"] = "41934c",
			["left terminus"] = "Tokyo",
			["types"] = {
				["Hayabusa"] = {
					["title"] = "''[[Hayabusa (tren)|Hayabusa]]''",
					["right terminus"] = "Shin-Aomori",
				},
				["Yamabiko"] = {
					["title"] = "''[[Yamabiko]]''",
					["right terminus"] = "Morioka",
				},
				["Nasuno"] = {
					["title"] = "''[[Nasuno]]''",
					["right terminus"] = "Kōriyama",
				},
				["Hayate"] = {
					["title"] = "''[[Hayate (tren)|Hayate]]''",
					["left terminus"] = "Morioka",
					["right terminus"] = "Shin-Aomori",
				},
			},
		},
		["Yamagata Shinkansen"] = {
			["icon"] = "[[File:Shinkansen jre.svg|18px|link=Yamagata Shinkansen|alt=The symbol for the Yamagata Shinkansen run by JR East.]]",
			["title"] = "[[Yamagata Shinkansen]]",
			["color"] = "f36221",
			["left terminus"] = "Tokyo",
			["right terminus"] = "Shinjō",
			["types"] = {
				["Tsubasa"] = {
					["title"] = "''[[Tsubasa (tren)|Tsubasa]]''",
				},
			},
		},
		["Agatsuma"] = {
			["title"] = "[[Linyang Agatsuma]]",
			["color"] = "00898c",
			["left terminus"] = "Takasaki",
			["right terminus"] = "Ōmae",
		},
		["Akagi"] = {
			["title"] = "''[[Akagi (tren)|Akagi]]''",
			["color"] = "009e60",
			["left terminus"] = {"Ueno", "Shinjuku"},
			["right terminus"] = "Takasaki",
		},
		["Aterazawa"] = {
			["title"] = "[[Linyang Aterazawa]]",
			["color"] = "006dc0",
			["left terminus"] = "Aterazawa",
			["right terminus"] = "Yamagata",
		},
		["Azusa"] = {
			["title"] = "''[[Azusa (tren)|Azusa]]''",
			["color"] = "009e60",
			["left terminus"] = "Minami-Otari",
			["right terminus"] = {"Chiba", "Tokyo"},
		},
		["Ban'etsu East"] = {
			["title"] = "[[Silangang Linya ng Ban'etsu]]",
			["color"] = "d14379",
			["left terminus"] = "Kōriyama",
			["right terminus"] = "Iwaki",
		},
		["Ban'etsu West"] = {
			["title"] = "[[Kanlurang Linya ng Ban'etsu]]",
			["color"] = "c66c00",
			["left terminus"] = "Niitsu",
			["right terminus"] = "Kōriyama",
		},
		["BRT"] = {
			["title"] = "[[Linyang Kesennuma|Kesennuma]] / [[Linyang Ōfunato|Ōfunato]] BRT",
			["color"] = "0f0f0f",
			["left terminus"] = "Maeyachi",
			["right terminus"] = "Sakari",
		},
		["Chuo"] = {
			["title"] = "[[Linyang Chūō (Mabilisan)|Linyang Chūō]]",
			["icon"] = "[[File:JR JC line symbol.svg|16px|alt=]]",
			["color"] = "ff4500",
			["left terminus"] = "Ōtsuki",
			["right terminus"] = "Tokyo",
		},
		["Chuo Main"] = {
			["title"] = "[[Pangunahing Linyang Chūō]]",
			["color"] = "006db1",
			["note-mid"] = "Lokal",
			["left terminus"] = "Shiojiri",
			["right terminus"] = "Tachikawa",
		},
		["Chuo-Sobu"] = {
			["title"] = "[[Linyang Chūō–Sōbu]]",
			["color"] = "ffd400",
			["left terminus"] = "Mitaka",
			["right terminus"] = "Chiba",
		},
		["Echigo"] = {
			["title"] = "[[Linyang Echigo]]",
			["color"] = "008c38",
			["left terminus"] = "Kashiwazaki",
			["right terminus"] = "Niigata",
		},
		["Fuji Excursion"] = {
			["title"] = "''[[Fuji Excursion]]''",
			["color"] = "009e60",
			["left terminus"] = "Ōtsuki",
			["right terminus"] = "Shinjuku",
		},
		["Gono"] = {
			["title"] = "[[Linyang Gonō]]",
			["color"] = "003399",
			["left terminus"] = "Higashi-Noshiro",
			["right terminus"] = "Hirosaki",
		},
		["Hachiko"] = {
			["title"] = "[[Linyang Hachikō]]",
			["color"] = "a09d94",
			["types"] = {
				["Takasaki"] = {
					["title"] = "",
					["left terminus"] = "Takasaki",
					["right terminus"] = "Komagawa",
				},
				["Hachiōji"] = {
					["title"] = "",
					["left terminus"] = "Komagawa",
					["right terminus"] = "Hachiōji",
				},
			}
		},
		["Hachinohe"] = {
			["title"] = "[[Linyang Hachinohe]]",
			["color"] = "ff221a",
			["left terminus"] = "Hachinohe",
			["right terminus"] = "Kuji",
		},
		["Hachioji"] = {
			["title"] = "''[[Hachiōji (tren)|Hachioji]]''",
			["color"] = "009e60",
			["left terminus"] = "Hachiōji",
			["right terminus"] = "Tokyo",
		},
		["Hakushin"] = {
			["title"] = "[[Linyang Hakushin]]",
			["color"] = "ff68a7",
			["left terminus"] = "Niigata",
			["right terminus"] = "Shibata",
		},
		["Hanawa"] = {
			["title"] = "[[Linyang Hanawa]]",
			["color"] = "c10020",
			["left terminus"] = "Ōdate",
			["right terminus"] = "Morioka",
		},
		["Hitachi"] = {
			["title"] = "[[Hitachi (Hapones na tren)|''Hitachi'']]",
			["color"] = "009e60",
			["left terminus"] = "Shinagawa",
			["right terminus"] = "Sendai",
		},
		["Iiyama"] = {
			["title"] = "[[Linyang Iiyama]]",
			["color"] = "7bc24b",
			["left terminus"] = "Nagano",
			["right terminus"] = "Echigo-Kawaguchi",
		},
		["Inaho"] = {
			["title"] = "''[[Inaho]]''",
			["color"] = "009e60",
			["left terminus"] = "Kogota",
			["right terminus"] = "Onagawa",
		},
		["Ishinomaki"] = {
			["title"] = "[[Linyang Ishinomaki]]",
			["color"] = "ff648d",
			["left terminus"] = "Kogota",
			["right terminus"] = "Onagawa",
		},
		["Ito"] = {
			["title"] = "[[Linyang Itō]]",
			["color"] = "ffa500",
			["left terminus"] = "Itō",
			["right terminus"] = "Atami",
		},
		["Itsukaichi"] = {
			["title"] = "[[Linyang Itsukaichi]]",
			["color"] = "ff4500",
			["left terminus"] = "Musashi-Itsukaichi",
			["right terminus"] = "Haijima",
		},
		["Iwaizumi"] = {
			["title"] = "[[Linyang Iwaizumi]]",
			["color"] = "808080",
			["left terminus"] = "Iwaizumi",
			["right terminus"] = "Moichi",
		},
		["Joban"] = {
			["title"] = "[[Linyang Jōban]]",
			["icon"] = "[[File:JR JJ line symbol.svg|16px|alt=]]",
			["color"] = "006acd",
			["left terminus"] = "Shinagawa",
			["right terminus"] = "Sendai",
			["types"] = {
				["Special Rapid"] = {
					["title"] = "",
					["right terminus"] = "Tsuchiura",
				},
			},
		},
		["Joban Local"] = {
			["title"] = "[[Linyang Jōban]]",
			["icon"] = "[[File:JR JL line symbol.svg|16px|alt=]]",
			["color"] = "808080",
			["left terminus"] = "Ayase",
			["right terminus"] = "Toride",
		},
		["Joban Rapid"] = {
			["title"] = "[[Linyang Jōban]]",
			["icon"] = "[[File:JR JJ line symbol.svg|16px|alt=]]",
			["short name"] = "JJ",
			["color"] = "00ba6e",
			["left terminus"] = "Shinagawa",
			["right terminus"] = "Toride",
		},
		["Joetsu"] = {
			["title"] = "[[Linyang Jōetsu]]",
			["color"] = "00add9",
			["left terminus"] = "Takasaki",
			["right terminus"] = "Nagaoka",
		},
		["Kaiji"] = {
			["title"] = "''[[Kaiji (tren)|Kaiji]]''",
			["color"] = "009e60",
			["left terminus"] = "Ryūō",
			["right terminus"] = "Tokyo",
		},
		["Kamaishi"] = {
			["title"] = "[[Linyang Kamaishi]]",
			["color"] = "0069cc",
			["left terminus"] = "Hanamaki",
			["right terminus"] = "Kamaishi",
		},
		["Karasuyama"] = {
			["title"] = "[[Linyang Karasuyama]]",
			["color"] = "ff8200",
			["left terminus"] = "Utsunomiya",
			["right terminus"] = "Karasuyama",
		},
		["Kashima"] = {
			["title"] = "[[Linyang Kashima]]",
			["color"] = "b15d00",
			["left terminus"] = "Sawara",
			["right terminus"] = "Kashima Soccer Stadium",
		},
		["Kawagoe Komagawa"] = {
			["title"] = "[[Linyang Kawagoe]]",
			["color"] = "a09d94",
			["left terminus"] = "Komagawa",
			["right terminus"] = "Kawagoe",
		},
		["Kawagoe Omiya"] = {
			["title"] = "[[Linyang Kawagoe]]",
			["color"] = "009e60",
			["left terminus"] = "Kawagoe",
			["right terminus"] = "Ōmiya",
		},
		["Keihin-Tohoku"] = {
			["title"] = "[[Linyang Keihin–Tōhoku]]",
			["icon"] = "[[File:JR JK line symbol.svg|16px|alt=]]",
			["color"] = "00b2e5",
			["left terminus"] = "Yokohama",
			["right terminus"] = "Ōmiya",
		},
		["Keiyo"] = {
			["title"] = "[[Linyang Keiyō]]",
			["icon"] = "[[File:JR JE line symbol.svg|16px|alt=]]",
			["color"] = "ff0066",
			["left terminus"] = "Tokyo",
			["right terminus"] = "Soga",
		},
		["Kesennuma"] = {
			["title"] = "[[Linyang Kesennuma]]",
			["color"] = "4d30aa",
			["left terminus"] = "Kogota",
			["right terminus"] = "Yanaizu",
		},
		["Kitakami"] = {
			["title"] = "[[Linyang Kitakami]]",
			["color"] = "9b007b",
			["left terminus"] = "Yokote",
			["right terminus"] = "Kitakami",
		},
		["Koumi"] = {
			["title"] = "[[Linyang Koumi]]",
			["color"] = "008c38",
			["left terminus"] = "Komoro",
			["right terminus"] = "Kobuchizawa",
		},
		["Kururi"] = {
			["title"] = "[[Linyang Kururi]]",
			["color"] = "00c9aa",
			["left terminus"] = "Kisarazu",
			["right terminus"] = "Kazusa-Kameyama",
		},
		["Kusatsu"] = {
			["title"] = "''[[Kusatsu (tren)|Kusatsu]]''",
			["color"] = "009e60",
			["left terminus"] = "Ueno",
			["right terminus"] = "Naganohara-Kusatsuguchi",
		},
		["Minakami"] = {
			["title"] = "''[[Minakami (tren)|Minakami]]''",
			["color"] = "009e60",
			["left terminus"] = "Ueno",
			["right terminus"] = "Minakami",
		},
		["Mito"] = {
			["title"] = "[[Linyang Mito]]",
			["color"] = "006acd",
			["left terminus"] = "Oyama",
			["right terminus"] = "Mito",
		},
		["Musashino"] = {
			["title"] = "''[[Musashino (tren)|Musashino]]''",
			["icon"] = "[[File:JR JM line symbol.svg|16px|alt=]]",
			["color"] = "0000FF",
			["left terminus"] = {"Fuchūhommachi", "Hachiōji"},
			["right terminus"] = "Ōmiya",
		},
		["Musashino Line"] = {
			["title"] = "[[Linyang Musashino]]",
			["color"] = "ff4600",
			["left terminus"] = "Fuchūhommachi",
			["right terminus"] = {"Kaihimmakuhari", "Tokyo"},
		},
		["Nambu"] = {
			["title"] = "[[Linyang Nambu]]",
			["icon"] = "[[File:JR JN line symbol.svg|16px|alt=]]",
			["color"] = "FFD700",
			["left terminus"] = "Tachikawa",
			["right terminus"] = "Kawasaki",
		},
	    ["Nambu Branch"] = {
	        ["title"] = "[[Linyang Nambu#Sangang Linya|Sangang Linyang Nambu]]",
	        ["color"] = "FFD700",
	        ["left terminus"] = "Shitte",
	        ["right terminus"] = "Hama-Kawasaki",
	    },
		["Narita"] = {
			["title"] = "[[Linyang Narita]]",
			["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"] = "[[Linyang Negishi]]",
			["color"] = "00b2e5",
			["left terminus"] = "Ōfuna",
			["right terminus"] = "Yokohama",
		},
		["Nikko/Kinugawa"] = {
			["title"] = "''[[Nikkō (tren)|Nikkō]]'' at ''[[Kinugawa (tren)|Kinugawa]]''",
			["color"] = "009e60",
			["left terminus"] = "Shinjuku",
			["right terminus"] = {"Tōbu Nikkō", "Kinugawa-Onsen"},
		},
		["Nikko Line"] = {
			["title"] = "[[Linyang Nikkō]]",
			["color"] = "880022",
			["left terminus"] = "Nikkō",
			["right terminus"] = "Utsunomiya",
		},
		["Odoriko"] = {
			["title"] = "''[[Odoriko]]''",
			["color"] = "009e60",
			["left terminus"] = {"Itō", "Atami"},
			["right terminus"] = "Tokyo",
		},
		["Ofunato"] = {
			["title"] = "[[Linyang Ōfunato]]",
			["color"] = "ff8524",
			["left terminus"] = "Ichinoseki",
			["right terminus"] = "Kesennuma",
		},
		["Oga"] = {
			["title"] = "[[Linyang Oga]]",
			["color"] = "009e60",
			["left terminus"] = "Akita",
			["right terminus"] = "Oga",
		},
		["Oito"] = {
			["title"] = "[[Linyang Ōito]]",
			["color"] = "997191",
			["left terminus"] = "Minami-Otari",
			["right terminus"] = "Matsumoto",
		},
		["Ome"] = {
			["title"] = "''[[Ōme (tren)|Ōme]]''",
			["color"] = "009e60",
			["left terminus"] = "Ōme",
			["right terminus"] = "Tokyo",
		},
		["Ome Line"] = {
			["title"] = "[[Linyang Ōme]]",
			["color"] = "ff4500",
			["left terminus"] = "Oku-Tama",
			["right terminus"] = "Tachikawa",
		},
		["Ominato"] = {
			["title"] = "[[Linyang Ōminato]]",
			["color"] = "c99700",
			["left terminus"] = "Noheji",
			["right terminus"] = "Ōminato",
		},
		["Ou Main"] = {
			["title"] = "[[Pangunahing Linya ng Ōu]]",
			["color"] = "fd7900",
			["left terminus"] = "Shinjō",
			["right terminus"] = "Aomori",
			["types"] = {
				["Rapid"] = {
					["title"] = "Mabilisan",
					["left terminus"] = "Akita",
				},
			},
		},
		["Rikuu East"] = {
			["title"] = "[[Silangang Linya ng Rikuu]]",
			["color"] = "75787a",
			["left terminus"] = "Shinjō",
			["right terminus"] = "Kogota",
		},
		["Rikuu West"] = {
			["title"] = "[[Kanlurang Linya ng Rikuu]]",
			["color"] = "2adc81",
			["left terminus"] = "Sakata",
			["right terminus"] = "Shinjō",
		},
		["Ryomo"] = {
			["title"] = "[[Linyang Ryōmō]]",
			["color"] = "d4c200",
			["left terminus"] = "Oyama",
			["right terminus"] = "Takasaki",
		},
		["Sagami"] = {
			["title"] = "[[Linyang Sagami]]",
			["color"] = "00898b",
			["left terminus"] = "Hachiōji",
			["right terminus"] = "Chigasaki",
		},
		["Saikyo"] = {
			["title"] = "[[Linyang Saikyō]]",
			["icon"] = "[[File:JR JA line symbol.svg|16px|alt=]]",
			["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 (tren)|Sazanami]]''",
			["color"] = "009e60",
			["left terminus"] = "Tokyo",
			["right terminus"] = "Kimitsu",
		},
		["Senseki"] = {
			["title"] = "[[Linyang Senseki]]",
			["color"] = "00add9",
			["left terminus"] = "Aoba-dori",
			["right terminus"] = "Ishinomaki",
		},
		["Senseki-Tohoku"] = {
			["title"] = "[[Linyang Senseki-Tōhoku]]",
			["color"] = "ffc4ef",
			["left terminus"] = "Sendai",
			["right terminus"] = "Ishinomaki",
			["types"] = {
				["Red Rapid"] = {
					["title"] = "",
					["right terminus"] = "Onagawa",
				}
			}
		},
		["Senzan"] = {
			["title"] = "[[Linyang Senzan]]",
			["color"] = "00d238",
			["left terminus"] = "Yamagata",
			["right terminus"] = "Sendai",
		},
		["Shimokita"] = {
			["title"] = "''[[Shimokita (tren)|Shimokita]]''",
			["color"] = "00b9e2",
			["left terminus"] = "Noheji",
			["right terminus"] = "Ōminato",
		},
		["Shimosa"] = {
			["title"] = "[[Shimōsa (tren)|''Shimōsa'']]",
			["color"] = "0000ff",
			["left terminus"] = "Ōmiya",
			["right terminus"] = "Kaihimmakuhari",
		},
		["Shin'etsu Main"] = {
			["title"] = "[[Pangunahing Linya ng Shin'etsu]]",
			["color"] = "00add6",
			["left terminus"] = "Naoetsu",
			["right terminus"] = "Niigata",
				["types"] = {
					["Takasaki"] = {
						["title"] = "",
						["left terminus"] = "Takasaki",
						["right terminus"] = "Yokokawa",
					},
					["Shinonoi"] = {
						["title"] = "",
						["left terminus"] = "Shinonoi",
						["right terminus"] = "Nagano",
					}
				}
		},
		["Shinano"] = {
			["title"] = "''[[Shinano (tren)|Shinano]]''",
			["color"] = "009e60",
			["left terminus"] = "Nagoya",
			["right terminus"] = "Nagano",
		},
		["Shinonoi"] = {
			["title"] = "[[Linyang Shinonoi]]",
			["color"] = "d65a00",
			["left terminus"] = "Shiojiri",
			["right terminus"] = "Nagano",
		},
		["Shiosai"] = {
			["title"] = "''[[Shiosai]]''",
			["color"] = "009e60",
			["left terminus"] = "Tokyo",
			["right terminus"] = "Chōshi",
		},
		["Shirayuki"] = {
			["title"] = "''[[Shirayuki (tren)|Shirayuki]]''",
			["color"] = "009e60",
			["left terminus"] = "Naoetsu",
			["right terminus"] = "Niigata",
		},
		["Shonan"] = {
			["title"] = "''[[Shōnan (tren)|Shōnan]]''",
			["icon"] = "[[File:JR JS line symbol.svg|16px|alt=]]",
			["color"] = "009e60",
			["left terminus"] = "Odawara",
			["right terminus"] = {"Tokyo", "Shinjuku"}
		},
		["Shonan-Shinjuku"] = {
			["title"] = "[[Linyang Shōnan–Shinjuku]]",
			["color"] = "ff0000",
			["left terminus"] = {"Odawara", "Zushi"},
			["right terminus"] = {"Takasaki", "Maebashi", "Utsunomiya"},
		},
		["Sobu"] = {
			["title"] = "[[Linyang Sōbu (Mabilisan)|Linyang Sōbu]]",
			["icon"] = "[[File:JR JB line symbol.svg|16px|alt=]]",
			["color"] = "006db1",
			["left terminus"] = "Tokyo",
			["right terminus"] = "Chiba",
		},
		["Sobu Main"] = {
			["title"] = "[[Pangunahing Linya ng Sōbu]]",
			["color"] = "d4c200",
			["left terminus"] = "Chiba",
			["right terminus"] = "Chōshi",
		},
		["Sobu Main/Narita"] = {
			["title"] = "Mga linya ng [[Pangunahing Linya ng Sōbu|Pangunahing Sōbu]] / [[Linyang Narita|Narita]]",
			["color"] = "d4c200",
			["left terminus"] = "Chiba",
			["right terminus"] = {"Chōshi", "Abiko", "Narita Airport Terminal 1"},
		},
		["Sotetsu JR Direct"] = {
			["title"] = "[[Sōtetsu–JR Link Line]]",
			["color"] = "009154",
			["left terminus"] = "Ebina",
			["right terminus"] = "Shinjuku",
		},
		["Sotobo"] = {
			["title"] = "[[Linyang Sotobō]]",
			["color"] = "ff0009",
			["left terminus"] = {"Soga", "Chiba"}, 
			["right terminus"] = "Awa-Kamogawa",
		},
		["Sotobo/Uchibo"] = {
			["title"] = "Mga linya ng [[Linyang Sotobō|Sotobō]] / [[Linyang Uchibō|Uchibō]]",
			["color"] = "009e60",
			["left terminus"] = "Chiba",
			["right terminus"] = "Awa-Kamogawa",
		},
		["Suigun"] = {
			["title"] = "[[Linyang Suigun]]",
			["color"] = "008c38",
			["left terminus"] = "Mito",
			["right terminus"] = {"Kōriyama", "Hitachi-Ōta"},
			["types"] = {
				["Main"] = {
					["right terminus"] = "Kōriyama",
				},
				["Branch"] = {
					["title"] = "Sangang Hitachi-Ōta",
					["right terminus"] = "Hitachi-Ōta",
				},
			},
		},
		["Sunrise Izumo/Sunrise Seto"] = {
			["title"] = "''[[Sunrise Izumo]]'' at ''[[Sunrise Seto]]''",
			["color"] = "009e60",
			["left terminus"] = "Atami",
			["right terminus"] = "Tokyo",
		},
		["Tadami"] = {
			["title"] = "[[Linyang Tadami]]",
			["color"] = "007fbe",
			["left terminus"] = "Koide",
			["right terminus"] = "Aizu-Wakamatsu",
		},
		["Takasaki"] = {
			["title"] = "[[Linyang Takasaki]]",
			["color"] = "ffa500",
			["left terminus"] = "Tokyo",
			["right terminus"] = "Maebashi",
		},
		["Tazawako"] = {
			["title"] = "[[Linyang Tazawako]]",
			["color"] = "bc63db",
			["left terminus"] = "Ōmagari",
			["right terminus"] = "Morioka",
		},
		["Togane"] = {
			["title"] = "[[Linyang Tōgane]]",
			["color"] = "F15A22",
			["left terminus"] = "Ōami",
			["right terminus"] = "Narutō",
		},
		["Tohoku"] = {
			["title"] = "[[Pangunahing Linya ng Tōhoku]]",
			["color"] = "009e60",
			["left terminus"] = "Kuroiso",
			["right terminus"] = "Morioka",
			["types"] = {
				["Rapid City Rabbit"] = {
					["title"] = "Mabilisang ''City Rabbit''",
					["left terminus"] = "Fukushima",
					["right terminus"] = "Sendai",
				},
				["Rapid Hamayuri"] = {
					["title"] = "Mabilisang ''Hamayuri''",
					["left terminus"] = "Hanamaki",
				},
				["Rapid Aterui"] = {
					["title"] = "Mabilisang ''Aterui''",
				},
			},
		},
		["Tokaido"] = {
			["title"] = "[[Pangunahing Linya ng Tōkaidō|Linyang Tōkaidō]]",
			["icon"] = "[[File:JR JT line symbol.svg|16px|alt=]]",
			["color"] = "ffa500",
			["left terminus"] = "Atami",
			["right terminus"] = "Tokyo",
		},
		["Tokiwa"] = {
			["title"] = "[[Tokiwa (tren)|''Tokiwa'']]",
			["color"] = "009e60",
			["left terminus"] = "Shinagawa",
			["right terminus"] = "Takahagi",
		},
		["Tsugaru"] = {
			["title"] = "[[Tsugaru (tren)|''Tsugaru'']]",
			["color"] = "009e60",
			["left terminus"] = "Akita",
			["right terminus"] = "Aomori",
		},
		["Tsugaru Line"] = {
			["title"] = "[[Linyang Tsugaru]]",
			["color"] = "00add9",
			["left terminus"] = "Minmaya",
			["right terminus"] = "Aomori",
		},
		["Tsugaru-Kaikyo"] = {
			["title"] = "[[Linyang Tsugaru-Kaikyo]]",
			["color"] = "00bd16",
			["left terminus"] = "Naka-Oguni",
			["right terminus"] = "Aomori",
		},
		["Tsurumi"] = {
			["title"] = "[[Linyang Tsurumi]]",
			["icon"] = "[[File:JR JI line symbol.svg|16px|alt=]]",
			["color"] = "ffd700",
			["left terminus"] = "Tsurumi",
			["right terminus"] = {"Ōgimachi", "Umi-Shibaura", "Ōkawa"},
		},
		["Uchibo"] = {
			["title"] = "[[Linyang Uchibō]]",
			["color"] = "006acc",
			["left terminus"] = {"Soga", "Chiba"},
			["right terminus"] = "Awa-Kamogawa",
		},
		["Uetsu Main"] = {
			["title"] = "[[Pangunahing Linya ng Uetsu]]",
			["color"] = "00bbe0",
			["left terminus"] = "Niitsu",
			["right terminus"] = "Akita",
		},
		["Utsunomiya"] = {
			["title"] = "[[Linyang Utsunomiya]]",
			["icon"] = "[[File:JR JU line symbol.svg|16px|alt=]]",
			["color"] = "ffa500",
			["left terminus"] = "Tokyo",
			["right terminus"] = "Kuroiso",
			["types"] = {
				["Rapid"] = {
					["title"] = "",
					["left terminus"] = "Ueno",
					["right terminus"] = "Utsunomiya",
				},
			},
		},
		["Utsunomiya/Takasaki"] = {
			["title"] = "Mga linya ng [[Linyang Utsunomiya|Utsunomiya]] / [[Linyang Takasaki|Takasaki]]",
			["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"] = "[[Linyang Yahiko]]",
			["color"] = "9b007b",
			["left terminus"] = "Yahiko",
			["right terminus"] = "Higashi-Sanjō",
		},
		["Yamada"] = {
			["title"] = "[[Linyang Yamada (JR East)|Linyang Yamada]]",
			["color"] = "c66d00",
			["left terminus"] = "Morioka",
			["right terminus"] = "Miyako",
		},
		["Yamagata"] = {
			["title"] = "[[Linyang Yamagata]]",
			["color"] = "fd7900",
			["left terminus"] = "Fukushima",
			["right terminus"] = "Shinjō",
		},
		["Yamanote"] = {
			["title"] = "[[Linyang Yamanote]]",
			["icon"] = "[[File:JR JY line symbol.svg|16px|alt=]]",
			["color"] = "9acd32",
			["circular"] = true,
			["left terminus"] = "Next counter-clockwise",
			["right terminus"] = "Next clockwise",
		},
		["Yokohama"] = {
			["title"] = "[[Linyang Yokohama]]",
			["icon"] = "[[File:JR JH line symbol.svg|16px|alt=]]",
			["color"] = "7fc342",
			["left terminus"] = "Hachiōji",
			["right terminus"] = "Yokohama",
		},
		["Yokosuka"] = {
			["title"] = "[[Linyang Yokosuka]]",
			["icon"] = "[[File:JR JO line symbol.svg|16px|alt=]]",
			["color"] = "006db1",
			["left terminus"] = "Kurihama",
			["right terminus"] = "Tokyo",
		},
		["Yonesaka"] = {
			["title"] = "[[Linyang Yonesaka]]",
			["color"] = "ba63dc",
			["left terminus"] = "Sakamachi",
			["right terminus"] = "Yonezawa",
		},
	},
	["aliases"] = {
		["Joetsu Shinkansen"] = "Jōetsu Shinkansen",
		["joetsu shinkansen"] = "Jōetsu Shinkansen",
		["jc"] = "Chuo",
		["jj"] = "Joban",
		["jl"] = "Joban Local",
		["jk"] = "Keihin-Tohoku",
		["je"] = "Keiyo",
		["jm"] = "Musashino Line",
		["jn"] = "Nambu",
		["ja"] = "Saikyo",
		["js"] = "Shonan-Shinjuku",
		["jb"] = "Sobu Main",
		["jt"] = "Tokaido",
		["ji"] = "Tsurumi",
		["ju"] = "Utsunomiya",
		["jy"] = "Yamanote",
		["jh"] = "Yokohama",
		["jo"] = "Yokosuka",
	},
}

return p