Modul:Adjacent stations/KAI Commuter

local x = "Halte %1"

local p = {
	["system title"] = "",
	["system icon"] = "[[Berkas:Logo KAI Commuter.svg|pranala=KAI Commuter|80px]]",
	["station format"] = {
		"Stasiun %1",
		
		["Jatinegara (loop)"] = "[[Stasiun Jatinegara|Jatinegara]]",
		
		-- AWAL-AKHIR PERJALANAN
		["Bandara Soekarno-Hatta"] ="'''[[Stasiun %1|%1]]'''",
		["Bekasi"] ="'''[[Stasiun %1|%1]]'''",
		["Blitar"] ="'''[[Stasiun %1|%1]]'''",
		["Bogor"] ="'''[[Stasiun %1|%1]]'''",
		["Bojonegoro"] ="'''[[Stasiun %1|%1]]'''",
		["Cepu"] ="'''[[Stasiun %1|%1]]'''",
		["Cibatu"] ="'''[[Stasiun %1|%1]]'''",
		["Cicalengka"] ="'''[[Stasiun %1|%1]]'''",
		["Cikarang"] ="'''[[Stasiun %1|%1]]'''",
		["Duri"] ="'''[[Stasiun %1|%1]]'''",
		["Jakarta Kota"] ="'''[[Stasiun %1|%1]]'''",
		["Kertosono"] ="'''[[Stasiun %1|%1]]'''",
		["Kutoarjo"] ="'''[[Stasiun %1|%1]]'''",
		["Malang"] ="'''[[Stasiun %1|%1]]'''",
		["Lamongan"] ="'''[[Stasiun %1|%1]]'''",
		["Manggarai (Basoetta)"] ="'''[[Stasiun Manggarai|Manggarai]]'''",
		["Nambo"] ="'''[[Stasiun %1|%1]]'''",
		["Padalarang"] ="'''[[Stasiun %1|%1]]'''",
		["Palur"] ="'''[[Stasiun %1|%1]]'''",
		["Parung Panjang"] ="'''[[Stasiun %1|%1]]'''",
		["Pasuruan"] ="'''[[Stasiun %1|%1]]'''",
		["Serpong"] ="'''[[Stasiun %1|%1]]'''",
		["Sidoarjo"] ="'''[[Stasiun %1|%1]]'''",
		["Surabaya Kota"] ="'''[[Stasiun %1|%1]]'''",
		["Tangerang"] ="'''[[Stasiun %1|%1]]'''",
		["Tanjung Priok"] ="'''[[Stasiun %1|%1]]'''",
		["Tigaraksa"] ="'''[[Stasiun %1|%1]]'''",
		["Yogyakarta"] ="'''[[Stasiun %1|%1]]'''",
		
		-- NAMA SAMA
		["Karangsari (Garut)"] = "[[Stasiun %1|Karangsari]]",
		["Blimbing (Malang)"] = "[[Stasiun %1|Blimbing]]",
		["Gedangan (Sidoarjo)"] = "[[Stasiun %1|Gedangan]]",
		
		-- HALTE
		["Banjarkemantren"] = x,
		["Buduran"] = x,
		["Jemursari"] = x,
		["Kertomenanggal"] = x,
		["Margorejo"] = x,
		["Ngagel"] = x,
		["Pagerwojo"] = x,
		["Sawotratap"] = x
	},
	["lines"] = {
		
		-- WILAYAH I JAKARTA
		-- Lin aktif
		
		["Pink Line"] = {
			["title"] = "'''[[Commuter Line Tanjung Priuk|<span style=color:#ef509a>Commuter Line Tanjung Priuk</span>]]'''",
			["color"] = "ef509a",
			["icon"] = "[[Berkas:Jakarta KRL TP.svg|17px|link=Commuter Line Tanjung Priuk]]",
			["right terminus"] = "Tanjung Priuk",
			["left terminus"] = "Jakarta Kota"
		},
		["Blue Line"] = {
			["title"] = "'''[[Commuter Line Cikarang|<span style=color:#26baed>Commuter Line Cikarang</span>]]'''",
			["color"] = "26baed",
			["icon"] = "[[Berkas:Jakarta KRL C.svg|17px|link=Commuter Line Cikarang]]",
			["types"] = {
			    ["Angke–Cikarang"] = {
					["title"] = "''Half-racket''",
					["right terminus"] = "Cikarang",
					["left terminus"] = "Angke",
					["note-mid"] = "Angke—Cikarang via Manggarai",
					},
			    ["Full Racket"] = {
					["title"] = "''Full-racket''",
					["left terminus"] = "Cikarang",
					["right terminus"] = "Cikarang",
					["note-mid"] = "Cikarang—Kampung Bandan—Cikarang via Pasar Senen—Manggarai",
					["circular"] = true,
				},
				["Kampung Bandan–Cikarang"] = {
					["title"] = "''Half-racket''",
					["right terminus"] = "Cikarang",
					["left terminus"] = "Kampung Bandan",
					["note-mid"] = "Kampung Bandan—Cikarang via Manggarai"
				},
			},
		},
		["Red Line"] = {
			["title"] = "'''[[Commuter Line Bogor|<span style=color:#ec2329>Commuter Line Bogor</span>]]'''",
			["color"] = "ec2329",
			["icon"] = "[[Berkas:Jakarta KRL B.svg|17px|link=Commuter Line Bogor]]",
			["types"] = {
				["Bogor–Jakarta Kota"] = {
					["title"] = "Jakarta Kota–Bogor",
					["right terminus"] = "Bogor",
					["left terminus"] = "Jakarta Kota",
				},
				["Jakarta Kota–Nambo"] = {
					["title"] = "Jakarta Kota–Nambo",
					["left terminus"] = "Jakarta Kota",
					["right terminus"] = "Nambo",
				},			
			},
		},
		["Green Line"] = {
			["title"] = "'''[[Commuter Line Rangkasbitung|<span style=color:#99ca3e>Commuter Line Rangkasbitung</span>]]'''",
			["color"] = "99ca3e",
			["icon"] = "[[Berkas:Jakarta KRL R.svg|17px|link=Commuter Line Rangkasbitung]]",
			["types"] = {
				["Rangkasbitung–Tanah Abang"] = {
					["title"] = "Tanah Abang–Rangkasbitung",
					["left terminus"] = "Tanah Abang",
					["right terminus"] = "Rangkasbitung",
				},
				["Maja–Tanah Abang"] = {
					["title"] = "Tanah Abang–Maja",
					["left terminus"] = "Tanah Abang",
					["right terminus"] = "Maja",
				},
				["Parungpanjang–Tanah Abang"] = {
					["title"] = "Tanah Abang–Parungpanjang",
					["left terminus"] = "Tanah Abang",
					["right terminus"] = "Parungpanjang",
				},
				["Serpong–Tanah Abang"] = {
					["title"] = "Tanah Abang–Serpong",
					["left terminus"] = "Tanah Abang",
					["right terminus"] = "Serpong",
				},
			},
		},
		["Brown Line"] = {
			["title"] = "'''[[Commuter Line Tangerang|<span style=color:#c25f28>Commuter Line Tangerang</span>]]'''",
			["color"] = "c25f28",
			["icon"] = "[[Berkas:Jakarta KRL T.svg|17px|link=Commuter Line Tangerang]]",
			["right terminus"] = "Tangerang",
			["left terminus"] = "Duri"
		},
	
		["Lokal Merak"] = {
			["title"] = "'''[[Commuter Line Merak|<span style=color:#008E49>Commuter Line Merak</span>]]'''",
			["color"] = "008E49",
			["icon"] = "[[Berkas:Lokal Merak Kode lin.png|17px|link=Commuter Line Merak]]",
			["left terminus"] = "Rangkasbitung",
			["right terminus"] = "Merak",
			["left terminus"] = "Rangkasbitung",
			["right terminus"] = "Merak"
		},

		["Soekarno-Hatta"] = {
			["title"] = "'''[[Commuter Line Bandara Soekarno-Hatta|<span style=color:#2d2a70>Commuter Line Basoetta</span>]]'''",
			["icon"] = "[[Berkas:Kualanamu Airport Rail Link Icon.png|17px|link=Commuter Line Soekarno-Hatta]]",
			["color"] = "262262",
			["left terminus"] = "Manggarai (Basoetta)",
			["right terminus"] = "Bandara Soekarno-Hatta",
		},

		--Rencana operasional Lin JIS
		["Purple Line"] = {
			["title"] = "'''[[Lin JIS|<span style=color:#662F90>Lin JIS</span>]]'''",
			["color"] = "662F90",
			["icon"] = "[[Berkas:Jakarta KRL J.svg|17px|link=KA Commuter Line Tanjung Priuk–Jatinegara]]",
			["types"] = {
				["Tanjung Priuk–Jatinegara"] = {
					["title"] = "Jatinegara–Tanjung Priuk",
					["right terminus"] = "Jatinegara",
					["left terminus"] = "Tanjung Priuk"
				},
			},
		},
		-- Lin nonaktif
		["Yellow Line"] = {
			["title"] = "'''[[Lin Lingkar|<span style=color:#fbb316>Lin Lingkar</span>]]'''",
			["color"] = "fbb316",
			["icon"] = "[[Berkas:Jakarta KRL L.svg|17px|link=KA Commuter Line Jatinegara–Bogor]]",
		},
	
		-- WILAYAH II BANDUNG
	    ["Lokal Bandung Raya"] = {
			["title"] = "'''[[Commuter Line Bandung Raya|<span style=color:#2D398B>Commuter Line Bandung Raya</span>]]'''",
			["color"] = "2A3B90",
			["types"] = {
				["PDL-CCL"] = {
					["title"] = "Padalarang–Cicalengka",
					["left terminus"] = "Padalarang",
					["right terminus"] = "Cicalengka",
				},
				["PWK-CCL"] = {
					["title"] = "Purwakarta–Cicalengka",
					["left terminus"] = "Purwakarta",
					["right terminus"] = "Cicalengka",
				}
			}
		},
		["Cibatuan"] = {
			["title"] = "'''[[Commuter Line Garut|<span style=color:#1C75BC>Commuter Line Garut</span>]]'''",
			["color"] = "1C75BC",
			["left terminus"] = "Purwakarta",
			["right terminus"] = "Garut",
		},
	
	    ["Jatiluhur/Lokal Cikampek"] = {
			["title"] = "'''[[Commuter Line Walahar dan Jatiluhur|<span style=color:#404041>Commuter Line Jatiluhur</span>]]'''",
			["icon"] = "[[Berkas:LJ Icon.png|17px|link=Commuter Line Jatiluhur dan Walahar]]",
			["color"] = "404041",
			["left terminus"] = "Cikarang",
			["right terminus"] = "Cikampek",
		},
	
	    ["Walahar Ekspres/Lokal Purwakarta"] = {
			["title"] = "'''[[Commuter Line Walahar dan Jatiluhur|<span style=color:#6d6e70>Commuter Line Walahar</span>]]'''",
			["icon"] = "[[Berkas:LW Icon.png|17px|link=Commuter Line Jatiluhur dan Walahar]]",
			["color"] = "6d6e70",
			["left terminus"] = "Cikarang",
			["right terminus"] = "Purwakarta",
		},
		
		-- WILAYAH VI YOGYAKARTA
		["Prameks Blue Line"] = {
			["title"] = "'''[[Commuter Line Prambanan Ekspres|<span style=color:#43A2C5>Commuter Line Prameks</span>]]'''",
			["color"] = "43A2C5",
			["icon"] = "[[File:Lin Kutoarjo Line Code.png|17px|link=Commuter Line Yogyakarta]]",
			["left terminus"] = "Kutoarjo",
			["right terminus"] = "Yogyakarta"
		},
		["Yogyakarta Red Line"] = {
			["title"] = "'''[[Commuter Line Yogyakarta|<span style=color:#CA2047>Commuter Line Yogyakarta</span>]]'''",
			["color"] = "CA2047",
			["icon"] = "[[File:KRL Commuterline Yogyakarta Line cleaner icon.png|17px|link=Commuter Line Prambanan Ekspres]]",
			["left terminus"] = "Yogyakarta",
			["right terminus"] = "Palur",
		},
	
		-- WILAYAH VIII SURABAYA
		["Cepu"] = {
			["title"] = "'''[[Kereta api lokal di Jawa Timur#Blorasura|<span style=color:#414495>Commuter Line Blorasura</span>]]'''",
			["color"] = "414495",
			["icon"] = "[[File:Jatim Commuterline Blorasura icon.png|17px|link=Kereta api lokal di Jawa Timur#Blorasura]]",
			["left terminus"] = "Cepu",
			["right terminus"] = "Surabaya Pasarturi",
		},		

		["Surabaya–Pasuruan"] = {
			["title"] = "'''[[Kereta api lokal di Jawa Timur#Supas|<span style=color:#a95d40>Commuter Line Supas</span>]]'''",
			["color"] = "a95d40",
			["icon"] = "[[File:Jatim Commuterline Supas icon.png|17px|link=Kereta api lokal di Jawa Timur#Supas]]",
			["left terminus"] = "Surabaya Kota",
			["right terminus"] = "Pasuruan",
		},
	
	    ["Jenggala"] = {
			["title"] = "'''[[Kereta api lokal di Jawa Timur#Jenggala|<span style=color:#5cbcac>Commuter Line Jenggala</span>]]'''",
			["color"] = "5cbcac",
			["icon"] = "[[File:Jatim Commuterline Jenggala icon.png|17px|link=Kereta api lokal di Jawa Timur#Jenggala]]",
			["types"] = {
				["SDA-MR"] = {
					["title"] = "",
					["left terminus"] = "Sidoarjo",
					["right terminus"] = "Mojokerto",
					["note-mid"] = "Sidoarjo–Mojokerto, p.p."
				},
				["SB-MR"] = {
					["title"] = "",
					["left terminus"] = "Surabaya Kota",
					["right terminus"] = "Mojokerto",
					["note-mid"] = "Surabaya Kota–Mojokerto, p.p."
				}
			}
		},
		["Dhoho"] = {
			["title"] = "'''[[Commuter Line Dhoho, Penataran, dan Tumapel|<span style=color:#729b6b>Commuter Line Dhoho</span>]]'''",
			["icon"] = "[[File:Jatim Commuterline Dhoho icon.png|17px|link=Commuter Line Dhoho, Penataran, dan Tumapel]]",
			["color"] = "729b6b",
			["types"] = {
				["SB-BL"] = {
					["title"] = "",
					["left terminus"] = "Surabaya Kota",
					["right terminus"] = "Blitar",
					["note-mid"] = "Surabaya Kota–Blitar"
				},
				["SB-KTS"] = {
					["title"] = "",
					["left terminus"] = "Surabaya Kota",
					["right terminus"] = "Kertosono",
					["note-mid"] = "Surabaya Kota–Kertosono"
				},
				["BL-KTS"] = {
					["title"] = "",
					["left terminus"] = "Blitar",
					["right terminus"] = "Kertosono",
					["note-mid"] = "Blitar–Kertosono"
				}
			}
		},
		["Indro"] = {
			["title"] = "'''[[Kereta api lokal di Jawa Timur#Sindro|<span style=color:#22acd5>Commuter Line Sindro</span>]]'''",
			["color"] = "22acd5",
			["icon"] = "[[File:Jatim Commuterline Sindro icon.png|17px|link=Kereta api lokal di Jawa Timur#Sindro]]",
			["types"] = {
				["IDO-SDA"] = {
					["title"] = "",
					["left terminus"] = "Indro",
					["right terminus"] = "Sidoarjo",
					["note-mid"] = "Indro–Sidoarjo, p.p."
				},
				["SBI-SDA"] = {
					["title"] = "",
					["left terminus"] = "Surabaya Pasarturi",
					["right terminus"] = "Sidoarjo",
					["note-mid"] = "Surabaya Pasarturi–Sidoarjo, p.p."
				}
			}
		},
		["Penataran"] = {
			["title"] = "'''[[Commuter Line Dhoho, Penataran, dan Tumapel|<span style=color:#00a53a>Commuter Line Penataran</span>]]'''",
			["icon"] = "[[File:Jatim Commuterline Penataran icon.png|17px|link=Commuter Line Dhoho, Penataran, dan Tumapel]]",
			["color"] = "00a53a",
			["left terminus"] = "Surabaya Kota",
			["right terminus"] = "Blitar",
		},
		["Tumapel"] = {
			["title"] = "'''[[Commuter Line Dhoho, Penataran, dan Tumapel|<span style=color:#ba513d>Commuter Line Tumapel</span>]]'''",
			["icon"] = "[[File:Jatim Commuterline Tumapel icon.png|17px|link=Commuter Line Dhoho, Penataran, dan Tumapel]]",
			["color"] = "ba513d",
			["left terminus"] = "Surabaya Kota",
			["right terminus"] = "Malang",
		},
		["KRD Bojonegoro"] = {
			["title"] = "'''[[Kereta api lokal di Jawa Timur#Arjonegoro|<span style=color:#26225e>Commuter Line Arjonegoro</span>]]'''",
			["icon"] = "[[File:Jatim Commuterline Arjonegoro icon.png|17px|link=Kereta api lokal di Jawa Timur#Arjonegoro]]",
			["color"] = "26225E",
			["types"] = {
				["BJ-SDA"] = {
					["title"] = "",
					["left terminus"] = "Bojonegoro",
					["right terminus"] = "Sidoarjo",
					["note-mid"] = "Bojonegoro–Surabaya Pasarturi–Sidoarjo, p.p."
				},
				["BBT-SDA"] = {
					["title"] = "",
					["left terminus"] = "Babat",
					["right terminus"] = "Sidoarjo",
					["note-mid"] = "Babat–Surabaya Pasarturi–Sidoarjo, p.p."
				},
			    ["BBT-SBI"] = {
					["title"] = "",
					["left terminus"] = "Babat",
					["right terminus"] = "Surabaya Pasarturi",
					["note-mid"] = "Babat–Surabaya Pasarturi, p.p."
				}
			}
		}
	},
	
	["aliases"] = {
		-- WILAYAH I JAKARTA
		["pink"] = "Pink Line",
		["tp"] = "Pink Line",
		["tanjung priuk"] = "Pink Line",
		["blue"] = "Blue Line",
		["bogor"] = "Red Line",
		["c"] = "Blue Line",
		["cikarang"] = "Blue Line",
		["red"] = "Red Line",
		["b"] = "Red Line",
		["central"] = "Red Line",
		["yellow"] = "Yellow Line",
		["l"] = "Yellow Line",
		["loop"] = "Yellow Line",
		["green"] = "Green Line",
		["r"] = "Green Line",
		["rangkasbitung"] = "Green Line",
		["brown"] = "Brown Line",
		["t"] = "Brown Line",
		["tangerang"] = "Brown Line",
		["purple"] = "Purple Line",
		["j"] = "Purple Line",
		["jis"] = "Purple Line",
		["lm"] = "Lokal Merak",
		["merak"] = "Lokal Merak",
		["a"] = "Soekarno-Hatta",
		["cgk"] = "Soekarno-Hatta",
		
		-- WILAYAH II BANDUNG
		["garut cibatuan"] = "Cibatuan",
		["walahar"] = "Walahar Ekspres/Lokal Purwakarta",
		["lw"] = "Walahar Ekspres/Lokal Purwakarta",
		["jatiluhur"] = "Jatiluhur/Lokal Cikampek",
		["lj"] = "Jatiluhur/Lokal Cikampek",
		
		-- WILAYAH VI YOGYAKARTA
		["p"] = "Prameks Blue Line",
		["kutoarjo"] = "Prameks Blue Line",
		["prameks"] = "Prameks Blue Line",
		["y"] = "Yogyakarta Red Line",
		["palur"] = "Yogyakarta Red Line",
		["solo"] = "Yogyakarta Red Line",
		["jogja"] = "Yogyakarta Red Line",
		["yogyakarta"] = "Yogyakarta Red Line",
		
		-- WILAYAH VIII SURABAYA
	}
}

return p