Module:Adjacent stations/Seoul Metropolitan Subway

local p = {
	["system title"] = "[[Seoul Metropolitan Subway]]",
	["system icon"] = "",
	["header background color"] = {
		["1"] = "0052A4",
		["2"] = "00A84D",
		["3"] = "EF7C1C",
		["4"] = "00A4E3",
		["5"] = "996CAC",
		["6"] = "CD7C2F",
		["7"] = "747F00",
		["8"] = "E6186C",
		["9"] = "BDB092",
		["AREX"] = "0090D2",
		["Shinbundang"] = "D31145",
		["Seohae"] = "8FC31F",
		["Gimpo Goldline"] = "A17800",
		["Everline"] = "56AD2D",
		["GTX-A"] = "9A6292",
		["Ui"] = "B7C450",
		["U"] = "FD8100",
		["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 (Gyeonggi)",
			["GTX-A"] = "%1 station (Gyeonggi)",
		},
			["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"] = "0052A4",
			["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"] = "00A84D",
			["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"] = "EF7C1C",
			["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"] = "00A4E3",
			["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"] = "996CAC",
			["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"] = "CD7C2F",
			["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"] = "747F00",
			["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"] = "E6186C",
			["icon"] = "[[File:Seoul Metro Line 8.svg|16px|alt=]]",
			["left terminus"] = "Byeollae",
			["right terminus"] = "Moran",
		},
	    ["9"] = {
			["title"] = "[[Seoul Subway Line 9|Line 9]]",
			["short name"] = "Line 9",
			["color"] = "BDB092",
			["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"] = "0090D2",
			["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"] = "77C4A3",
			["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"] = "178C72",
			["icon"] = "[[File:Gyeongchun Line.svg|16px|alt=]]",
			["left terminus"] = {"Cheongnyangni", "Kwangwoon University"},
			["right terminus"] = "Chuncheon",
		},
	    ["Suin–Bundang"] = {
			["title"] = "[[Suin–Bundang Line]]",
			["color"] = "FABE00",
			["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"] = "D31145",
			["icon"] = "[[File:Shinbundang Line.svg|16px|alt=]]",
			["left terminus"] = "Gangnam",
			["right terminus"] = "Gwanggyo",
			["types"] = {
				["Extension"] = {
					["title"] = "",
					["left terminus"] = "Sinsa",
					["right terminus"] = "Gwanggyo",
				},
			},
		},
		    ["GTX-A"] = {
			["title"] = "[[Great_Train_eXpress#GTX-A|GTX-A]]",
			["color"] = "9A6292",
			["icon"] = "[[File:GTX-A Logo.svg|16px|alt=]]",
			["left terminus"] = "Suseo",
			["right terminus"] = "Dongtan",
		},
		["Sin Ansan"] = {
			["title"] = "[[Sinansan Line|Sin Ansan Line]]",
			["note-mid"] = "Planned",
			["color"] = "F04938",
			["left terminus"] = "Seoul",
			["right terminus"] = "Jungang",
		},
	    ["Everline"] = {
			["title"] = "[[Everline|EverLine]]",
			["color"] = "56AD2D",
			["icon"] = "[[File:Seoul Metro Line EverLine Bilingual.svg|16px|alt=]]",
			["left terminus"] = "Giheung",
			["right terminus"] = "Jeondae–Everland",
		},
	    ["U"] = {
			["title"] = "[[U Line]]",
			["color"] = "FD8100",
			["icon"] = "[[File:Seoul Metro Line U Line Bilingual.svg|16px|alt=]]",
			["left terminus"] = "Balgok",
			["right terminus"] = "Tapseok",
		},
	    ["Ui"] = {
			["title"] = "[[Ui LRT]]",
			["color"] = "B7C450",
			["icon"] = "[[File:Seoul Metro Line Ui LRT Bilingual.svg|16px|alt=]]",
			["left terminus"] = "Bukhansan Ui",
			["right terminus"] = "Sinseol-dong",
		},
	    ["Gyeonggang"] = {
			["title"] = "[[Gyeonggang Line]]",
			["color"] = "0054A6",
			["icon"] = "[[File:Gyeonggang Line.svg|16px|alt=]]",
			["left terminus"] = "Pangyo",
			["right terminus"] = "Yeoju",
		},
	    ["Seohae"] = {
			["title"] = "[[Seohae Line]]",
			["color"] = "8FC31F",
			["icon"] = "[[File:Seohae Line.svg|16px|alt=]]",
			["left terminus"] = "Ilsan",
			["right terminus"] = "Wonsi",
		},
	    ["Gimpo Goldline"] = {
			["title"] = "[[Gimpo Goldline]]",
			["color"] = "A17800",
			["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