Module:Adjacent stations/Seoul Metropolitan Subway

local p = {
	["system title"] = "[[Seoul Metropolitan Subway]]",
	["system icon"] = "",
	["header background color"] = {
		["1"] = "0d3692",
		["2"] = "33a23d",
		["3"] = "fe5b10",
		["4"] = "32a1c8",
		["5"] = "8b50a4",
		["6"] = "c55c1d",
		["7"] = "54640d",
		["8"] = "f51361",
		["9"] = "fe5b10",
		["AREX"] = "3681b7",
		["Shinbundang"] = "c82127",
		["Seohae"] = "81a914",
		["Gimpo Goldline"] = "ad8605",
		["Everline"] = "4ea346",
		["Ui"] = "b7c452",
		["U"] = "fe9700",
		["Sillim"] = "6789ca",
	},
    ["header text color"] = "ffffff",
	["station format"] = {
		"%1 station",
		["Chongshin University"] = "Isu station",
		["City Hall"] = "City Hall station (Seoul)",
		["Daegok"] = "Daegok station (Goyang)",
		["Dongbaek"] = "Dongbaek station (Yongin)",
		["Dongcheon"] = "Dongcheon station (Yongin)",
		["Geumgok"] = "Geumgok station (Namyangju)",
		["Gochon"] = "Gochon station (Gimpo)",
		["Hwajeong"] = "Hwajeong station (Goyang)",
		["Incheon International Airport Terminal 1"] = "[[Incheon International Airport Terminal 1 station|Incheon Int'l Airport Terminal 1]]",
		["Incheon International Airport Terminal 2"] = "[[Incheon International Airport Terminal 2 station|Incheon Int'l Airport Terminal 2]]",
		["Jeungsan"] = "Jeungsan station (Seoul)",
		["Jung-dong"] = "Jung-dong station (Bucheon)",
		["Jungang"] = "Jungang station (Ansan)",
		["Masan"] = "Masan station (Gimpo)",
		["Olympic Park"] = "Olympic Park station (Seoul)",
		["Seongnam"] = {
			["7"] = "%1 station (Incheon)",
			["Gyeonggang"] = "%1 station (Seongnam)",
		},
			["Seoul"] = "Seoul Station",
		["Sincheon"] = "Sincheon station (Siheung)",
		["Sinchon"] = {
			"%1 station",
			["Gyeongui–Jungang"] = "Sinchon station (Gyeongui Line)",
		},
		["Sinheung"] = "Sinheung station (Seongnam)",
		["Sports Complex"] = "Sports Complex station (Seoul)",
		["Uijeongbu"] = {
			"%1 station",
			["U"] = "Uijeongbu station (U Line)",
		},
		["World Cup Stadium"] = "World Cup Stadium station (Seoul)",
		["Yangjeong"] = "Yangjeong station (Namyangju)",
		["Yangpyeong"] = {
			"%1 station",
			["5"] = "Yangpyeong station (Seoul)",
			["Gyeongui–Jungang"] = "Yangpyeong station (Yangpyeong)",			
		},
		["Yongmun"] = "Yongmun station (Yangpyeong)",
	},
	["lines"] = {
		["1"] = {
			["title"] = "[[Seoul Subway Line 1|Line 1]]",
			["short name"] = "Line 1",
			["color"] = "0d3692",
			["icon"] = "[[File:Seoul Metro Line 1.svg|16px|alt=]]",
			["left terminus"] = "Soyosan",
			["right terminus"] = {"Sinchang", "Incheon"},
			["types"] = {
				["GW"] = {
					["title"] = "Gyeongwon Express",
					["left terminus"] = "Dongducheon",
					["right terminus"] = "Incheon",
				},
			    ["GI"] = {
					["title"] = "Gyeongin Express",
					["left terminus"] = "Yongsan",
					["right terminus"] = "Dongincheon",
				},
			    ["GB"] = {
					["title"] = "Gyeongbu Express",
					["left terminus"] = "Cheongnyangni",
					["right terminus"] = "Sinchang",
				},
				["Byeongjeom Depot"] = {
					["title"] = "Byeongjeom Depot Line",
					["left terminus"] = "Byeongjeom",
					["right terminus"] = "Seodongtan",
				},
			    ["Gwangmyeong shuttle service"] = {
					["title"] = "",
					["note-mid"] = "Gwangmyeong Shuttle Service",
					["left terminus"] = "Yeongdeungpo",
					["right terminus"] = "Gwangmyeong",
				},
			},
		},
		["2"] = {
			["title"] = "[[Seoul Subway Line 2|Line 2]]",
			["short name"] = "Line 2",
			["color"] = "33a23d",
			["icon"] = "[[File:Seoul Metro Line 2.svg|16px|alt=]]",
			["text color"] = "ffffff",
			["left terminus"] = "Next counter-clockwise",
			["right terminus"] = "Next clockwise",
			["circular"] = true,
			["types"] = {
				["Seongsu"] = {
					["title"] = "Seongsu Branch",
					["short name"] = "Line 2 Seongsu Branch",
					["left terminus"] = "Seongsu",
					["right terminus"] = "Sinseol-dong",
					["circular"] = false,
				},
				["Sinjeong"] = {
					["title"] = "Sinjeong Branch",
					["short name"] = "Line 2 Sinjeong Branch",
					["left terminus"] = "Sindorim",
					["right terminus"] = "Kkachisan",
					["circular"] = false,
				},
			},
		},
		["3"] = {
			["title"] = "[[Seoul Subway Line 3|Line 3]]",
			["short name"] = "Line 3",
			["color"] = "fe5b10",
			["icon"] = "[[File:Seoul Metro Line 3.svg|16px|alt=]]",
			["text color"] = "ffffff",
			["left terminus"] = "Daehwa",
			["right terminus"] = "Ogeum",
			["types"] = {
				["Ilsan"] = {
					["short name"] = "Ilsan Line",
				},
			},
		},
	    ["4"] = {
			["title"] = "[[Seoul Subway Line 4|Line 4]]",
			["short name"] = "Line 4",
			["color"] = "32a1c8",
			["icon"] = "[[File:Seoul Metro Line 4.svg|16px|alt=]]",
			["text color"] = "ffffff",
			["left terminus"] = "Jinjeop",
			["right terminus"] = "Oido",
			["types"] = {
				["Ansan"] = {
					["short name"] = "Ansan Line",
				},
				["Gwacheon"] = {
					["short name"] = "Gwacheon Line",
				},
			},
		},
	    ["5"] = {
			["title"] = "[[Seoul Subway Line 5|Line 5]]",
			["short name"] = "Line 5",
			["color"] = "8b50a4",
			["icon"] = "[[File:Seoul Metro Line 5.svg|16px|alt=]]",
			["left terminus"] = "Banghwa",
			["right terminus"] = {"Macheon", "Hanam Pungsan"},
			["types"] = {
				["Macheon"] = {
					["title"] = "Macheon Branch",
					["left terminus"] = "Banghwa",
					["right terminus"] = "Macheon",
				},
			},
		},
		["6"] = {
			["title"] = "[[Seoul Subway Line 6|Line 6]]",
			["short name"] = "Line 6",
			["color"] = "c55c1d",
			["icon"] = "[[File:Seoul Metro Line 6.svg|16px|alt=]]",
			["text color"] = "ffffff",
			["left terminus"] = "Eungam",
			["right terminus"] = "Sinnae",
		},
	    ["7"] = {
			["title"] = "[[Seoul Subway Line 7|Line 7]]",
			["short name"] = "Line 7",
			["color"] = "54640d",
			["icon"] = "[[File:Seoul Metro Line 7.svg|16px|alt=]]",
			["left terminus"] = "Jangam",
			["right terminus"] = "Seongnam",
		},
	    ["8"] = {
			["title"] = "[[Seoul Subway Line 8|Line 8]]",
			["short name"] = "Line 8",
			["color"] = "f51361",
			["icon"] = "[[File:Seoul Metro Line 8.svg|16px|alt=]]",
			["left terminus"] = "Amsa",
			["right terminus"] = "Moran",
		},
	    ["9"] = {
			["title"] = "[[Seoul Subway Line 9|Line 9]]",
			["short name"] = "Line 9",
			["color"] = "aa9872",
			["icon"] = "[[File:Seoul Metro Line 9.svg|16px|alt=]]",
			["text color"] = "ffffff",
			["left terminus"] = "Gaehwa",
			["right terminus"] = "VHS Medical Center",
			["types"] = {
				["Express"] = {
					["title"] = "Express",
					["short name"] = "Line 9 Express",
					["left terminus"] = "Gimpo International Airport",
					["right terminus"] = "VHS Medical Center",
				},
				["Local"] = {
					["title"] = "Local",
					["short name"] = "Line 9 Local",
				},
			},
		},
		["AREX"] = {
			["title"] = "[[AREX]]",
			["color"] = "3681b7",
			["icon"] = "[[File:Seoul Metro Line Arex.svg|16px|alt=]]",
			["text color"] = "ffffff",
			["left terminus"] = "Seoul",
			["right terminus"] = "Incheon International Airport Terminal 2",
		},
	    ["Gyeongui–Jungang"] = {
			["title"] = "[[Gyeongui–Jungang Line]]",
			["short name"] = "Gyeongui–Jungang Line",
			["color"] = "73c6a6",
			["icon"] = "[[File:Gyeongui-Jungang Line.svg|16px|alt=]]",
			["text color"] = "ffffff",
			["left terminus"] = "Munsan",
			["right terminus"] = "Jipyeong",
			["types"] = {
				["GY"] = {
					["title"] = "Gyeongui Express",
					["left terminus"] = "Munsan",
					["right terminus"] = "Jipyeong",
				},
			    ["GS"] = {
					["title"] = "Gyeongui Express Line",
					["left terminus"] = "Munsan",
					["right terminus"] = "Seoul",
				},
			    ["J"] = {
					["title"] = "Jungang Express",
					["left terminus"] = "Munsan",
					["right terminus"] = "Yongmun",
				},
			    ["Munsan - Dorasan"] = {
					["title"] = "Munsan–Imjingang Shuttle Service",
					["left terminus"] = "Imjingang",
					["right terminus"] = "Munsan",
				},
			},
		},
	    ["Gyeongchun"] = {
			["title"] = "[[Gyeongchun Line]]",
			["color"] = "0C8E72",
			["icon"] = "[[File:Gyeongchun Line.svg|16px|alt=]]",
			["left terminus"] = {"Cheongnyangni", "Kwangwoon University"},
			["right terminus"] = "Chuncheon",
		},
	    ["Suin–Bundang"] = {
			["title"] = "[[Suin–Bundang Line]]",
			["color"] = "ffb300",
			["icon"] = "[[File:Suin-Bundang Line.svg|16px|alt=]]",
			["left terminus"] = "Cheongnyangni",
			["right terminus"] = "Incheon",
			["types"] = {
				["B"] = {
					["title"] = "",
					["note-mid"] = "Bundang Express Line",
					["left terminus"] = {"Wangsimni", "Cheongnyangni"},
					["right terminus"] = "Gosaek",
				},
			    ["S"] = {
					["title"] = "",
					["note-mid"] = "Suin Express Line",
					["left terminus"] = "Oido",
					["right terminus"] = "Incheon",
				},
			},
		},
	    ["Shinbundang"] = {
			["title"] = "[[Shinbundang Line]]",
			["color"] = "c82127",
			["icon"] = "[[File:Shinbundang Line.svg|16px|alt=]]",
			["left terminus"] = "Gangnam",
			["right terminus"] = "Gwanggyo",
			["types"] = {
				["Extension"] = {
					["title"] = "",
					["left terminus"] = "Sinsa",
					["right terminus"] = "Gwanggyo",
				},
			},
		},
		["Sin Ansan"] = {
			["title"] = "[[Sinansan Line|Sin Ansan Line]]",
			["note-mid"] = "Planned",
			["color"] = "F04938",
			["left terminus"] = "Seoul",
			["right terminus"] = "Jungang",
		},
	    ["Everline"] = {
			["title"] = "[[Everline|EverLine]]",
			["color"] = "4ea346",
			["icon"] = "[[File:Seoul Metro Line EverLine Bilingual.svg|16px|alt=]]",
			["left terminus"] = "Giheung",
			["right terminus"] = "Jeondae–Everland",
		},
	    ["U"] = {
			["title"] = "[[U Line]]",
			["color"] = "fe9700",
			["icon"] = "[[File:Seoul Metro Line U Line Bilingual.svg|16px|alt=]]",
			["left terminus"] = "Balgok",
			["right terminus"] = "Tapseok",
		},
	    ["Ui"] = {
			["title"] = "[[Ui LRT]]",
			["color"] = "b7c452",
			["icon"] = "[[File:Seoul Metro Line Ui LRT Bilingual.svg|16px|alt=]]",
			["left terminus"] = "Bukhansan Ui",
			["right terminus"] = "Sinseol-dong",
		},
	    ["Gyeonggang"] = {
			["title"] = "[[Gyeonggang Line]]",
			["color"] = "0066bc",
			["icon"] = "[[File:Gyeonggang Line.svg|16px|alt=]]",
			["left terminus"] = "Pangyo",
			["right terminus"] = "Yeoju",
		},
	    ["Seohae"] = {
			["title"] = "[[Seohae Line]]",
			["color"] = "81a914",
			["icon"] = "[[File:Seohae Line.svg|16px|alt=]]",
			["left terminus"] = "Ilsan",
			["right terminus"] = "Wonsi",
		},
	    ["Gimpo Goldline"] = {
			["title"] = "[[Gimpo Goldline]]",
			["color"] = "ad8605",
			["icon"] = "[[File:Seoul Metro Line Gimpo Goldline Bilingual.svg|16px|alt=]]",
			["text color"] = "FFFFFF",
			["left terminus"] = "Gimpo International Airport",
			["right terminus"] = "Yangchon",
		},
		    ["Sillim"] = {
			["title"] = "[[Sillim Line]]",
			["color"] = "6789ca",
			["icon"] = "[[File:Seoul Metro Line Sillim Line Bilingual.svg|16px|alt=]]",
			["text color"] = "FFFFFF",
			["left terminus"] = "Saetgang",
			["right terminus"] = " Gwanaksan",
		},
	},
	["aliases"] = {
		["bundang"] = "Suin–Bundang",
		["gyeongjung"] = "Gyeongui–Jungang",
		["gyeongui"] = "Gyeongui–Jungang",
		["jungang"] = "Gyeongui–Jungang",
		["sinansen"] = "Sin Ansan",
		["seohae"] = "Seohae",
		["suin"] = "Suin–Bundang",
	},
}

return p