Module:Adjacent stations/JR Hokkaido

local x = "%1 Station (Hokkaido)" local y = "%1 Station (JR Hokkaido)" local p = { ["lang"] = "en-GB", ["system icon"] = "", ["system title"] = "JR Hokkaido", ["system color"] = "00bd16", ["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 #00bd16;", ["east"] = "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"] = { "00bd16", ["east"] = "00AE3B", },   ["header text color"] = "FFFFFF", ["station format"] = { "%1 Station", ["Asari"] = x,		["Chitose"] = x,		["Shiroishi"] = y,		["Futamata"] = x,		["Futomi"] = x,		["Gakuden"] = x,		["Hiragishi"] = y,		["Ikeda"] = x,		["Kitahama"] = x,		["Kitami"] = x,		["Kotoni"] = y,		["Kushiro"] = x,		["Midori"] = x,		["Mikage"] = x,		["Mikawa"] = x,		["Mizuho"] = y,		["Mori"] = x,		["Midorigaoka"] = x,		["Nagayama"] = x,		["Nisshin"] = y,		["Ochiai"] = x,		["Oiwake"] = x,		["Shinkawa"] = x,		["Shinrin-Kōen"] = x,		["Shiomi"] = x,		["Shioya"] = x,		["Shiroishi"] = y,		["Takasago"] = x,		["Tomiura"] = x,	}, ["lines"] = { ["_default"] = { ["title"] = "%1 Line", ["color"] = "00bd16", },		["Hokkaido Shinkansen"] = { ["title"] = "Hokkaido Shinkansen", ["color"] = "9ACD32", ["left terminus"] = "Shin-Aomori", ["right terminus"] = "Shin-Hakodate-Hokuto", ["icon"] = "", ["types"] = { ["Sapporo Extension"] = { ["title"] = "", ["right-terminus"] = "Sapporo", ["note-mid"] = "Sapporo Extension", },				["Hayabusa"] = { ["title"] = "Hayabusa", },				["Hayate"] = { ["title"] = "Hayate" }			},		},		["Chitose"] = { ["color"] = "0072bc", ["left terminus"] = {"Numanohata", "New Chitose Airport"}, ["right terminus"] = "Sapporo", ["types"] = { ["Local"] = { ["left terminus"] = {"Numanohata", "New Chitose Airport"}, ["right terminus"] = "Sapporo", ["background color"] = "", },				["Airport"] = { ["title"] = "Airport branch", ["left terminus"] = "New Chitose Airport", ["color"] = "00BFFF", ["background color"] = "", },			},		},		["Rapid Airport"] = { ["title"] = "%1", ["left terminus"] = "New Chitose Airport", ["right terminus"] = "Otaru", ["color"] = "FFA500", },		["Special Rapid Airport"] = { ["title"] = "%1", ["left terminus"] = "New Chitose Airport", ["right terminus"] = "Otaru", ["color"] = "FF0000", },		["Semi-Rapid Airport"] = { ["title"] = "%1", ["left terminus"] = "New Chitose Airport", ["right terminus"] = "Sapporo", ["color"] = "008000", },		["Furano"] = { ["title"] = "Furano Line", ["left terminus"] = "Asahikawa", ["right terminus"] = "Furano", ["color"] = "aa5ea6", },		["Hakodate"] = { ["title"] = "Hakodate Main Line", ["left terminus"] = "Hakodate", ["right terminus"] = "Asahikawa", ["color"] = "0072bc", ["types"] = { ["Local"] = { ["left terminus"] = "Hakodate", ["right terminus"] = "Asahikawa", },				["Rapid"] = { ["title"] = "Rapid", ["color"] = "FF0000", },				["Sawara"] = { ["title"] = "Sawara branch line", ["left terminus"] = "Ōnuma", ["right terminus"] = "Mori", },				["Fujishiro"] = { ["title"] = "Fujishiro branch line", ["left terminus"] = "Nanae", ["right terminus"] = "Onuma", },				["2"] = {					["title"] = "", ["color"] = "FF0000", ["background color"] = "transparent", },				["Local 2"] = { ["title"] = "Local", ["color"] = "FF0000", ["background color"] = "transparent", },				["Rapid 2"] = { ["title"] = "Rapid", ["color"] = "FF0000", ["background color"] = "FF0000", },				["3"] = {					["title"] = "", ["color"] = "FFA500", ["background color"] = "transparent", },				["Local 3"] = { ["title"] = "Local", ["color"] = "FFA500", ["background color"] = "transparent", },				["Rapid 3"] = { ["title"] = "Rapid", ["color"] = "FF0000", ["background color"] = "FFA500", },			},		},		["Hidaka"] = { ["title"] = "Hidaka Main Line", ["left terminus"] = "Tomakomai", ["right terminus"] = "Mukawa", ["color"] = "2cb431", ["types"] = { ["Former"] = { ["title"] = "Former services", ["right terminus"] = "Samani", },			},		},		["Kitami"] = { ["title"] = "Kitami", ["left terminus"] = "Asahikawa", ["right terminus"] = "Kitami", ["color"] = "FF0000", ["background color"] = "FFA500", },		["Lilac"] = { ["title"] = "Lilac", ["left terminus"] = "Sapporo", ["right terminus"] = "Asahikawa", },		["Muroran"] = { ["title"] = "Muroran Main Line", ["left terminus"] = "Oshamambe", ["right terminus"] = "Iwamizawa", ["color"] = "0072bc", ["types"] = { ["Local"] = { ["title"] = "Local", },				["2"] = {					["title"] = "", ["color"] = "808080", },				["Local 2"] = { ["title"] = "Local", ["color"] = "808080", ["background color"] = "transparent", },			},		},		["Nemuro"] = { ["title"] = "Nemuro Main Line", ["left terminus"] = "Takikawa", ["right terminus"] = "Nemuro", ["color"] = "f6989d", },		["Rumoi"] = { ["title"] = "Rumoi Main Line", ["left terminus"] = "Rumoi", ["right terminus"] = "Fukagawa", ["color"] = "7cfc00", },		["Sarobetsu"] = { ["title"] = "Sarobetsu", ["left terminus"] = "Asahikawa", ["right terminus"] = "Wakkanai", },		["Sasshō"] = { ["title"] = "Sasshō Line", ["color"] = "2E8B57", ["left terminus"] = "Sapporo", ["right terminus"] = "Hokkaidō-Iryōdaigaku", ["types"] = { ["Former"] = { ["right terminus"] = "Shin-Totsukawa", },			},		},		["Sekihoku"] = { ["title"] = "Sekihoku Main Line", ["color"] = "FFA500", ["left terminus"] = "Shin-Asahikawa", ["right terminus"] = "Abashiri", },		["Sekishō"] = { ["color"] = "9ACD32", ["left terminus"] = "Minami-Chitose", ["right terminus"] = "Shintoku", },		["Senmō"] = { ["color"] = "ef59a1", ["title"] = "Senmō Main Line", ["left terminus"] = "Abashiri", ["right terminus"] = "Kushiro", },		["Niseko Liner"] = { ["title"] = "%1", ["left terminus"] = "Kutchan", ["right terminus"] = "Sapporo", },		["Taisetsu"] = { ["title"] = "Taisetsu", ["left terminus"] = "Asahikawa", ["right terminus"] = "Abashiri", },		["Tsugaru-Kaikyo"] = { ["color"] = "00bd16", ["left terminus"] = "Hakodate", ["right terminus"] = "Naka-Oguni", },		["Kaikyo"] = { ["color"] = "00bd16", ["left terminus"] = "Kikonai", ["right terminus"] = "Naka-Oguni", },		["Tokachi"] = { ["title"] = "Tokachi", ["left terminus"] = "Sapporo", ["right terminus"] = "Obihiro", ["color"] = "008000", },		["Ōzora"] = { ["title"] = "Ōzora", ["left terminus"] = "Sapporo", ["right terminus"] = "Kushiro", ["color"] = "800080", },		["Hokuto"] = { ["title"] = "Hokuto", ["left terminus"] = "Hakodate", ["right terminus"] = "Sapporo", ["color"] = "ADD8E6", },		["Sōya"] = { ["title"] = "%1", ["left terminus"] = "Sapporo", ["right terminus"] = "Wakkanai", },		["Sōya Main Line"] = { ["title"] = "%1", ["left terminus"] = "Wakkanai", ["right terminus"] = "Asahikawa", ["color"] = "954a35", ["types"] = { ["Rapid Nayoro"] = { ["title"] = "Rapid Nayoro", ["color"] = "FF0000", },			},		},		["Okhotsk"] = { ["title"] = "%1", ["left terminus"] = "Sapporo", ["right terminus"] = "Abashiri", },		["Lilac"] = { ["title"] = "%1", ["left terminus"] = "Sapporo", ["right terminus"] = "Asahikawa", },		["Kamui"] = { ["title"] = "%1", ["left terminus"] = "Sapporo", ["right terminus"] = "Asahikawa", },		["Suzuran"] = { ["title"] = "%1", ["left terminus"] = "Higashi-Muroran", ["right terminus"] = "Sapporo", },		["Tohoku Shinkansen"] = { ["title"] = "Tōhoku Shinkansen", },	},	["aliases"] = { ["shinkansen"] = "Hokkaido Shinkansen", ["chitose"] = "Chitose", ["tsugaru-kaikyo"] = "Tsugaru-Kaikyo", ["t-k"] = "Tsugaru-Kaikyo", ["tk"] = "Tsugaru-Kaikyo", ["kaikyo"] = "Kaikyo", ["tokachi"] = "Tokachi", ["lilac"] = "Lilac", ["Ozora"] = "Ōzora", ["ozora"] = "Ōzora", ["hokuto"] = "Hokuto", ["suzuran"] = "Suzuran", ["RA"] = "Rapid Airport", ["rapidairport"] = "Rapid Airport", ["ra"] = "Rapid Airport", ["rapid-airport"] = "Rapid Airport", ["rapid airport"] = "Rapid Airport", ["SRA"] = "Special Rapid Airport", ["sra"] = "Special Rapid Airport", ["specialrapid"] = "Special Rapid Airport", ["specialrapidairport"] = "Special Rapid Airport", ["sassho"] = "Sasshō", ["Sassho"] = "Sasshō", ["hakodate"] = "Hakodate", ["Soya"] = "Sōya", ["soya"] = "Sōya", ["Soya Main Line"] = "Sōya Main Line", ["soya mainline"] = "Sōya Main Line", ["soya main line"] = "Sōya Main Line", ["okhotsk"] = "Okhotsk", ["lilac"] = "Lilac", ["kamui"] = "Kamui", ["Sekisho"] = "Sekishō", ["sekisho"] = "Sekishō", ["Senmo"] = "Senmō", ["senmo"] = "Senmō", ["Tōhoku Shinkansen"] = "Tohoku Shinkansen," }, }

return p