Module:Adjacent stations/Osaka Metro

Documentation for this module may be created at Module:Adjacent stations/Osaka Metro/doc

local x = "%1 Station (Osaka)"
local y = "%1 Station (Higashiōsaka)"
local z = "%1 Station (Osaka Metro)"
local a = "%1 Station (Osaka, Osaka)"
local p = {
	["system title"] = "[[Osaka Metro]]",
	["system icon"] = "[[File:Osaka Metro logo 2.svg|link=Osaka Metro|18px]]",
	["station format"] = {
		"%1 Station",
		["Imazato"] = "Imazato Station (Osaka Metro)",
		["Nagata"] = x,
		["Taishō"] = x,
		["Kujō"] = x,
		["Takaida"] = y,
		["Nakatsu"] = z,
		["Shōwachō"] = x,
		["Nagai"] = x,
		["Abiko"] = x,
		["Moriguchi"] = x,
		["Hirano"] = z,
		["Nagahara"] = x,
		["Tamade"] = x,
		["Tamagawa"] = x,
		["Sakuragawa"] = x,
		["Ebisuchō"] = x,
		["Shōji"] = a,
		["Nakafutō"] = x,
		["Nakafuto"] = x,
		["Hirabayashi"] = x,
		["Shimizu"] = x,
		["Kyōbashi"] = x,
		["Ōgimachi"] = x,
		["Kitahama"] = x,
	},
	["line icon format"] = "link",
	["lines"] = {
		["_default"] = {
			["text color"] = "FFFFFF",
		},
		["Midosuji"] = {
			["title"] = "[[Midōsuji Line]]",
			["icon"] = "[[File:Osaka Metro Midosuji line symbol.svg|16px|link=Midōsuji Line]]",
			["color"] = "E5171F",
			["left terminus"] = "Esaka",
			["right terminus"] = "Nakamozu",
			["short name"] = "M",
		},
		["Tanimachi"] = {
			["title"] = "[[Tanimachi Line]]",
			["icon"] = "[[File:Osaka Metro Tanimachi line symbol.svg|16px|link=Tanimachi Line]]",
			["color"] = "522886",
			["left terminus"] = "Dainichi",
			["right terminus"] = "Yaominami",
			["short name"] = "T",
		},
		["Yotsubashi"] = {
			["title"] = "[[Yotsubashi Line]]",
			["icon"] = "[[File:Osaka Metro Yotsubashi line symbol.svg|16px|link=Yotsubashi Line]]",
			["color"] = "0078BE",
			["left terminus"] = "Nishi-Umeda",
			["right terminus"] = "Suminoekōen",
			["short name"] = "Y",
		},
		["Chuo"] = {
			["title"] = "[[Osaka Metro Chūō Line|Chūō Line]]",
			["icon"] = "[[File:Osaka Metro Chuo line symbol.svg|16px|link=Osaka Metro Chūō Line]]",
			["color"] = "019A66",
			["left terminus"] = "Cosmosquare",
			["right terminus"] = "Nagata",
			["short name"] = "C",
		},
		["Sennichimae"] = {
			["title"] = "[[Sennichimae Line]]",
			["icon"] = "[[File:Osaka Metro Sennichimae line symbol.svg|16px|link=Sennichimae Line]]",
			["color"] = "E44D93",
			["left terminus"] = "Nodahanshin",
			["right terminus"] = "Minami-Tatsumi",
			["short name"] = "S",
		},
		["Sakaisuji"] = {
			["title"] = "[[Sakaisuji Line]]",
			["icon"] = "[[File:Osaka Metro Sakaisuji line symbol.svg|16px|link=Sakaisuji Line]]",
			["color"] = "814721",
			["left terminus"] = "Tenjimbashisuji Rokuchōme",
			["right terminus"] = "Tengachaya",
			["short name"] = "K",
		},
		["Nagahori"] = {
			["title"] = "[[Nagahori Tsurumi-ryokuchi Line]]",
			["icon"] = "[[File:Osaka Metro Nagahori Tsurumi-ryokuchi line symbol.svg|16px|link=Nagahori Tsurumi-ryokuchi Line]]",
			["color"] = "A9CC51",
			["left terminus"] = "Taishō",
			["right terminus"] = "Kadoma-minami",
			["short name"] = "N",
			["text color"] = "000000",
		},
		["Imazatosuji"] = {
			["title"] = "[[Imazatosuji Line]]",
			["icon"] = "[[File:Osaka Metro Imazatosuji line symbol.svg|16px|link=Imazatosuji Line]]",
			["color"] = "EE7B1A",
			["left terminus"] = "Itakano",
			["right terminus"] = "Imazato",
			["short name"] = "I",
			["text color"] = "000000",
		},
		["Porttown"] = {
			["title"] = "[[Nankō Port Town Line]]",
			["icon"] = "[[File:Osaka Metro Nanko Port Town line symbol.svg|16px|link=Nankō Port Town Line]]",
			["color"] = "00A0DE",
			["left terminus"] = "Cosmosquare",
			["right terminus"] = "Suminoekōen",
			["short name"] = "P",
		},
	},
	["aliases"] = {
		["m"] = "Midosuji",
		["M"] = "Midosuji",
		["1"] = "Midosuji",
		["t"] = "Tanimachi",
		["T"] = "Tanimachi",
		["2"] = "Tanimachi",
		["y"] = "Yotsubashi",
		["Y"] = "Yotsubashi",
		["3"] = "Yotsubashi",
		["c"] = "Chuo",
		["C"] = "Chuo",
		["4"] = "Chuo",
		["s"] = "Sennichimae",
		["S"] = "Sennichimae",
		["5"] = "Sennichimae",
		["k"] = "Sakaisuji",
		["K"] = "Sakaisuji",
		["6"] = "Sakaisuji",
		["n"] = "Nagahori",
		["N"] = "Nagahori",
		["7"] = "Nagahori",
		["tsurumi-ryokuchi"] = "Nagahori",
		["nagahori tsurumi-ryokuchi"] = "Nagahori",
		["i"] = "Imazatosuji",
		["I"] = "Imazatosuji",
		["8"] = "Imazatosuji",
		["p"] = "Porttown",
		["P"] = "Porttown",
		["newtram"] = "Porttown",
		["nanko"] = "Porttown",
		["porttown"] = "Porttown",
		["nanko porttown"] = "Porttown",
	},
}

return p