Module:Adjacent stations/JR Shikoku

Documentation for this module may be created at Module:Adjacent stations/JR Shikoku/doc

local kagawa = "%1 Station (Kagawa)"
local tokushima = "%1 Station (Tokushima)"
local ehime = "%1 Station (Ehime)"
local kochi = "%1 Station (Kōchi)"
local p = {
	["lang"] = "en-GB",
	["system icon"] = "[[File:JR logo (shikoku).svg|20px|link=Shikoku Railway Company|alt=The logo of Shikoku Railway Company (JR Shikoku).]]",
	["system title"] = "[[Shikoku Railway Company|JR Shikoku]]",
	["system color"] = "309AC3",
	["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 #009ac8;",
    ["header background color"] = "309AC3",
    ["header text color"] = "ffffff",
	["station format"] = {
		"%1 Station",
		["Kanzaki"] = kagawa,
		["Kitayama"] = ehime,
		["Kōchi"] = kochi,
		["Kuramoto"] = tokushima,
		["Matsuyama"] = ehime,
		["Niida"] = kochi,
		["Sambommatsu"] = kagawa,
		["Shōwachō"] = kagawa,
		["Takamatsu"] = kagawa,
		["Tsukuda"] = tokushima,
		["Yashima"] = kagawa,
	},
	["lines"] = {
		["_default"] = {
			["title"] = "[[%1 Line]]",
			["color"] = "309AC3",
			["icon format"] = "link",
			["text color"] = "FFFFFF",
		},
		["Ashizuri"] = {
			["title"] = "[[Ashizuri (train)|''Ashizuri'']]",
			["left terminus"] = "Kōchi",
			["right terminus"] = "Sukumo",
		},
		["Dosan"] = {
			["color"] = "E25885",
			["left terminus"] = "Kubokawa",
			["right terminus"] = "Tadotsu",
			["short name"] = "D / K",
			["icon format"] = "route",
			["types"] = {
				["D"] = {
					["short name"] = "D"
				},
				["K"] = {
					["short name"] = "K"
				},
			},
		},
		["Honshi-Bisan"] = {
			["title"] = "[[Honshi-Bisan Line]]",
			["left terminus"] = "Utazu",
			["rightt terminus"] = "Chayamachi",
			["color"] = "0072bc",
		},
		["Ishizuchi"] = {
			["title"] = "[[Ishizuchi|''Ishizuchi'']]",
			["left terminus"] = "Takamatsu",
			["right terminus"] = "Uwajima",
		},
		["Kōtoku"] = {
			["color"] = "6CC629",
			["left terminus"] = "Takamatsu",
			["right terminus"] = "Tokushima",
			["short name"]  = "T",
			["icon format"] = "route",
		},
		["Marine Liner"] = {
			["title"] = "[[Marine Liner|''Marine Liner'']]",
			["left terminus"] = "Okayama",
			["right terminus"] = "Takamatsu",
		},
		["Mugi"] = {
			["color"] = "00B5A7",
			["left terminus"] = "Tokushima",
			["right terminus"] = "Awa-Kainan",
			["short name"] = "M",
			["icon format"] = "route",
		},
		["Muroto"] = {
			["title"] = "[[Muroto (train)|''Muroto'']]",
			["left terminus"] = "Tokushima",
			["right terminus"] = "Awa-Kainan",
		},
		["Nanpū"] = {
			["title"] = "[[Nanpū|''Nanpū'']]",
			["left terminus"] = "Okayama",
			["right terminus"] = "Kōchi",
		},
		["Naruto"] = {
			["color"] = "822151",
			["left terminus"] = "Ikenotani",
			["right terminus"] = "Naruto",
			["short name"] = "N",
			["icon format"] = "route",
		},
		["Shimanto"] = {
			["title"] = "[[Shimanto (train)|''Shimanto'']]",
			["left terminus"] = "Takamatsu",
			["right terminus"] = "Sukumo",
		},
		["Shiokaze"] = {
			["title"] = "[[Shiokaze (train)|''Shiokaze'']]",
			["left terminus"] = "Okayama",
			["right terminus"] = "Matsuyama",
		},
		["Tokushima"] = {
			["color"] = "2a6482",
			["left terminus"] = "Awa-Ikeda",
			["right terminus"] = "Tokushima",
			["short name"] = "B",
			["icon format"] = "route",
		},
		["Sunport"] = {
			["title"] = "''Sunport''",
			["left terminus"] = "Iyo-Saijō",
			["right terminus"] = "Takamatsu",
		},
		["Sunrise Seto"] = {
			["title"] = "[[Sunrise Seto|''Sunrise Seto'']]",
			["left terminus"] = "Tokyo",
			["right terminus"] = "Takamatsu",
		},
		["Tsurugisan"] = {
			["title"] = "[[Tsurugisan (train)|''Tsurugisan'']]",
			["left terminus"] = "Awa-Ikeda",
			["right terminus"] = "Tokushima",
		},
		["Uchiko"] = {
			["color"] = "fbaf18",
			["left terminus"] = "Niiya",
			["right terminus"] = "Uchiko",
			["short name"] = "U",
			["icon format"] = "route",
		},
		["Uwakai"] = {
			["title"] = "[[Uwakai|''Uwakai'']]",
			["left terminus"] = "Matsuyama",
			["right terminus"] = "Uwajima",
		},
		["Uzushio"] = {
			["title"] = "[[Uzushio (train)|''Uzushio'']]",
			["color"] = "009ac8",
			["left terminus"] = "Kojima",
			["right terminus"] = "Tokushima",
		},
		["Yodo"] = {
			["color"] = "008C4F",
			["left terminus"] = "Uwajima",
			["right terminus"] = "Kubokawa",
			["short name"] = "G",
			["icon format"] = "route",
		},
		["Yosan"] = {
			["color"] = "fbaf18",
			["left terminus"] = "Uwajima",
			["right terminus"] = "Takamatsu",
			["types"] = {
				["S"] = {
					["title"] = "",
					["note-mid"] = "via [[Iyo-Nagahama Station|Iyo-Nagahama]]",
					["short name"] = "S",
					["icon format"] = "route",
					["color"] = "97AAD6",
					["background color"] = "transparent",
				},
				["U"] = {
					["title"] = "",
					["short name"] = "U",
					["icon format"] = "route",
				},
				["Uchiko"] = {
					["title"] = "([[Uchiko Line]])",
					["short name"] = "U",
					["icon format"] = "route",
				},
				["Y"] = {
					["title"] = "",
					["short name"] = "Y",
					["icon format"] = "route",
				},
			},
		},
	},
	["aliases"] = {
		["Kotoku"] = "Kōtoku",
		["kotoku"] = "Kōtoku",
		["t"] = "Kōtoku",
		["T"] = "Kōtoku",
		["yodo"] = "Yodo",
		["G"] = "Yodo",
		["g"] = "Yodo",
		["uzushio"] = "Uzushio",
		["tokushima"] = "Tokushima",
		["b"] = "Tokushima",
		["B"] = "Tokushima",
		["naruto"] = "Naruto",
		["n"] = "Naruto",
		["nanpu"] = "Nanpū",
		["mugi"] = "Mugi",
		["m"] = "Mugi",
		["M"] = "Mugi",
		["uchiko"] = "Uchiko",
	},
}

return p