local x = "Halte %1"
local y = "'''[[Stasiun %1|%1]]'''"
local z = "'''''[[Stasiun %1|%1]]'''''"

local p = {
	["system title"] = "[[Jalur kereta api di Indonesia|Lintas Kereta Api Indonesia]]",
	["system icon"] = "[[File:Logo of the Ministry of Transportation of the Republic of Indonesia.svg|18px|link=Direktorat Jenderal Perkeretaapian|alt=DJKA Kemenhub]]",
	["system color"] =  "0058a5",
	["station format"] = {
		"Stasiun %1",
		
		-- Nama Sama
		["Gebang (Blitar)"] = "[[Halte %1|Gebang]]",
		["Gebang (Langkat)"] = "[[Stasiun %1|Gebang]]",
		["Gedangan (Sidoarjo)"] = "'''[[Stasiun %1|Gedangan]]'''",
		["Gedangan (Grobogan)"] = "[[Stasiun %1|Gedangan]]",
		["Jetis (Grobogan)"] = "[[Halte %1|Jetis]]",
		["Jetis (Ponorogo)"] = "[[Stasiun %1|Jetis]]",
		["Ketapang (Banyuwangi)"] = "'''[[Stasiun %1|Ketapang]]'''",
		["Ketapang (Lampung Utara)"] = "[[Stasiun %1|Ketapang]]",
		["Larangan (Brebes)"] = "[[Stasiun %1|Larangan]]",
		["Larangan (Tegal)"] = "[[Stasiun %1|Larangan]]",
		["Tebing Tinggi (Tebing Tinggi)"] = "'''[[Stasiun %1|Tebing Tinggi]]'''",
		["Tebing Tinggi (Empat Lawang)"] = "[[Stasiun %1|Tebing Tinggi]]",
		["Bangsal (Mojokerto)"] = "[[Stasiun %1|Bangsal]]",
		
		-- Halte
		["Air Tawar"] = x,
		["Ajung"] = x,
		["Alai"] = x,
		["Banjarkemantren"] = x,
		["Buduran"] = x,
		["Celangap"] = x,
		["Cibangkong"] = x,
		["Cikawung"] = x,
		["Cilongkrang"] = x,
		["Cisomang"] = x,
		["Cisondari"] = x,
		["Damarsi"] = x,
		["Gayam"] = x,
		["Guntur"] = x,
		["Jambean"] = x,
		["Kalibagor"] = x,
		["Kalikatir"] = x,
		["Kaliputih"] = x,
		["Kalisamin"] = x,
		["Karangbendo"] = x,
		["Kepet"] = x,
		["Kepuh"] = x,
		["Kertomenanggal"] = x,
		["Klotok"] = x,
		["Krebet"] = x,
		["Krikilan"] = x,
		["Kronelan"] = x,
		["Kumendung"] = x,
		["Kutu"] = x,
		["Labruk"] = x,
		["Lubuk Buaya"] = x,
		["Maleber"] = x,
		["Mlati"] = x,
		["Nangkaan"] = x,
		["Ngagel"] = x,
		["Padanan"] = x,
		["Padangan"] = x,
		["Panyuran"] = x,
		["Pasarkliwon"] = x,
		["Pasirhayam"] = x,
		["Pauh Kambar"] = x,
		["Rancakole"] = x,
		["Randupangger"] = x,
		["Ranji"] = x,
		["Sawotratap"] = x,
		["Silebu"] = x,
		["Sitinggil"] = x,
		["Songgorunggi"] = x,
		["Sroyo"] = x,
		["Sukosari"] = x,
		["Sumbersalak"] = x,
		["Tangsil"] = x,
		["Tanjakan Empang"] = x,
		["Tapen"] = x,
		["Tarandam"] = x,
		["Tekaran"] = x,
		["Tribungan"] = x,
		["Tutul"] = x,
		["Widuri"] = x,
		
		-- Stasiun Kelas Besar dan Kelas I
		--- AKTIF
		["Ambarawa"] = y,
		["Babat"] = y,
		["Bandara Adi Soemarmo"] = y,
		["Bandara Internasional Minangkabau"] = y,
		["Bandara Kualanamu"] = y,
		["Bandung"] = y,
		["Bangil"] = y,
		["Banjar"] = y,
		["Banyuwangi Kota"] = y,
		["Batuceper"] = y,
		["Baturaja"] = y,
		["Benteng"] = y,
		["Bekasi"] = y,
		["Belawan"] = y,
		["Blambangan Pagar"] = y,
		["Blitar"] = y,
		["Bojonegoro"] = y,
		["Bojonggede"] = y,
		["Brebes"] = y,
		["Bukit Putus"] = y,
		["Cepu"] = y,
		["Cicalengka"] = y,
		["Cikampek"] = y,
		["Cilacap"] = y,
		["Cimahi"] = y,
		["Cirebon"] = y,
		["Cirebon Prujakan"] = y,
		["Depok"] = y,
		["Depok Baru"] = y,
		["Duri"] = y,
		["Gambir"] = y,
		["Gedebage"] = y,
		["Gombong"] = y,
		["Gundih"] = y,
		["Haurgeulis"] = y,
		["Indarung"] = y,
		["Jakarta Kota"] = y,
		["Jatibarang"] = y,
		["Jatinegara"] = y,
		["Jember"] = y,
		["Jombang"] = y,
		["Kalibaru"] = y,
		["Kalisat"] = y,
		["Kalisetail"] = y,
		["Karanganyar"] = y,
		["Karangtalun"] = y,
		["Karawang"] = y,
		["Kebumen"] = y,
		["Kediri"] = y,
		["Kepanjen"] = y,
		["Kertapati"] = y,
		["Kertosono"] = y,
		["Kiaracondong"] = y,
		["Kisaran"] = y,
		["Kisaran"] = y,
		["Klaten"] = y,
		["Kotabumi"] = y,
		["Kroya"] = y,
		["Kutoarjo"] = y,
		["Lahat"] = y,
		["Lamongan"] = y,
		["Lawang"] = y,
		["Lempuyangan"] = y,
		["Lubuklinggau"] = y,
		["Madiun"] = y,
		["Malang"] = y,
		["Malang Kotalama"] = y,
		["Manggarai"] = y,
		["Maos"] = y,
		["Martapura"] = y,
		["Medan"] = y,
		["Mojokerto"] = y,
		["Muara Enim"] = y,
		["Nganjuk"] = y,
		["Ngawi"] = y,
		["Padalarang"] = y,
		["Padang"] = y,
		["Panarukan"] = y,
		["Pangkalan Brandan"] = y,
		["Pasar Minggu"] = y,
		["Pasar Senen"] = y,
		["Pegaden Baru"] = y,
		["Pekalongan"] = y,
		["Pemalang"] = y,
		["Prabumulih"] = y,
		["Probolinggo"] = y,
		["Purwokerto"] = y,
		["Purwosari"] = y,
		["Rangkasbitung"] = y,
		["Rancaekek"] = y,
		["Rantau Prapat"] = y,
		["Rewulu"] = y,
		["Rogojampi"] = y,
		["Sawahlunto"] = y,
		["Semarang Poncol"] = y,
		["Semarang Tawang"] = y,
		["Serpong"] = y,
		["Sidoarjo"] = y,
		["Solo Balapan"] = y,
		["Solo Jebres"] = y,
		["Sudirman"] = y,
		["Sungai Lagoa"] = y,
		["Surabaya Pasarturi"] = y,
		["Surabaya Gubeng"] = y,
		["Tanahabang"] = y,
		["Tangerang"] = y,
		["Tanjung Enim Baru"] = y,
		["Tanjungkarang"] = y,
		["Tegal"] = y,
		["Tasikmalaya"] = y,
		["Tigagajah"] = y,
		["Tigaraksa"] = y,
		["Tulungagung"] = y,
		["Universitas Indonesia"] = y,
		["Wates"] = y,
		["Weleri"] = y,
		["Wlingi"] = y,
		["Wonokromo"] = y,
		["Yogyakarta"] = y,
		--- NONAKTIF
		["Banda Aceh"] = z,
		["Bondowoso"] = z,
		["Banyuwangi"] = z,
		["Blora"] = z,
		["Cepu Kota"] = z,
		["Demak"] = z,
		["Jurnatan"] = z,
		["Juwana"] = z,
		["Kamal"] = z,
		["Kudus"] = z,
		["Lasem"] = z,
		["Lumajang"] = z,
		["Magelang Kota"] = z,
		["Magelang Pasar"] = z,
		["Malang Jagalan"] = z,
		["Mojokerto Kota"] = z,
		["Parakan"] = z,
		["Pati"] = z,
		["Pulau Aie"] = z,
		["Purwodadi"] = z,
		["Purwokerto Timur"] = z,
		["Rembang"] = z,
		["Semarang Gudang"] = z,
		["Situbondo"] = z,
		["Stabat"] = z,
		["Temanggung"] = z,
		["Tuban"] = z,
		["Wonokromo Kota"] = z,
		["Yosowilangun"] = z,
	},
	
	["lines"] = {
		["_default"] = {
			["title"] = "'''''[[Jalur kereta api %1|<font color=#ef7d00>%1</font>]]'''''",
			["color"] = "ef7d00",
		},
	
		-- DAOP 1 JAKARTA
		--- AKTIF
		["Merak–Tanahabang"] = {
			["title"] = "'''[[Jalur kereta api Merak–Tanahabang|<font color=#0058a5>Merak–Tanahabang</font>]]'''",
			["color"] = "0058a5",
            ["left terminus"] = "Merak",
            ["right terminus"] = "Tanahabang"
		},
		["Cigading–Krenceng"] = {
			["title"] = "'''[[Jalur kereta api Merak–Tanahabang#Percabangan menuju Anyer Kidul|<font color=#0058a5>Anyer Kidul–Krenceng</font>]]'''",
			["color"] = "0058a5",
            ["left terminus"] = "Anyer Kidul",
            ["right terminus"] = "Krenceng"
		},
		["Tangerang–Duri"] = {
			["title"] = "'''[[Jalur kereta api Tangerang–Duri|<font color=#0058a5>Tangerang–Duri</font>]]'''",
			["color"] = "0058a5",
            ["left terminus"] = "Tangerang",
            ["right terminus"] = "Duri"
		},
		["SHIA–Batuceper"] = {
			["title"] = "'''[[Jalur kereta api Batuceper–Bandara Soekarno-Hatta|<font color=#0058a5>SHIA–Batuceper</font>]]'''",
			["color"] = "0058a5",
            ["left terminus"] = "Bandara Soekarno-Hatta",
            ["right terminus"] = "Batuceper"
		},
		["Lintas Jakarta"] = {
			["title"] = "'''[[Jalur kereta api %1|<font color=0058a5>Lintas Jakarta</font>]]'''",
			["color"] = "0058a5",
			["types"] = {
				["Tanahabang–Manggarai"] = {
					["title"] = "",
        			["left terminus"] = "Tanahabang",
    				["right terminus"] = "Manggarai",
    				["note-mid"] = "Tanahabang–Manggarai"
					},
				["Kampung Bandan–Tanahabang"] = {
					["title"] = "",
            		["left terminus"] = "Kampung Bandan",
            		["right terminus"] = "Tanahabang",
            		["note-mid"] = "Kampung Bandan–Tanahabang"
					},
	    		["Jakarta Kota–Tanjung Priuk"] = {
					["title"] = "",
            		["left terminus"] = "Jakarta Kota",
            		["right terminus"] = "Tanjung Priuk",
            		["note-mid"] = "Jakarta Kota–Tanjung Priuk"
				},
				["Jakarta Kota–Rajawali"] = {
					["title"] = "",
            		["left terminus"] = "Jakarta Kota",
            		["right terminus"] = "Rajawali",
            		["note-mid"] = "Jakarta Kota–Rajawali"
				},
	    		["Jakarta Kota–Manggarai"] = {
					["title"] = "",
            		["left terminus"] = "Jakarta Kota",
            		["right terminus"] = "Manggarai",
            		["note-mid"] = "Jakarta Kota–Manggarai"
				},
				["Jakarta Gudang–Kampung Bandan"] = {
					["title"] = "",
            		["left terminus"] = "Jakarta Gudang",
            		["right terminus"] = "Kampung Bandan",
            		["note-mid"] = "Jakarta Gudang–Kampung Bandan"
				},
				["Ancol–Rajawali"] = {
					["title"] = "",
            		["left terminus"] = "Ancol",
            		["right terminus"] = "Rajawali",
            		["note-mid"] = "Ancol–Rajawali"
				},
	    		["Tanjung Priuk–JICT"] = {
					["title"] = "",
            		["left terminus"] = "Tanjung Priuk",
            		["right terminus"] = "JICT",
            		["note-mid"] = "Tanjung Priuk–JICT"
				},
				["Sungai Lagoa–JICT"] = {
					["title"] = "",
            		["left terminus"] = "Sungai Lagoa",
            		["right terminus"] = "JICT",
            		["note-mid"] = "Sungai Lagoa–JICT"
				},
				["Manggarai–Jatinegara"] = {
					["title"] = "",
            		["left terminus"] = "Manggarai",
            		["right terminus"] = "Jatinegara",
            		["note-mid"] = "Manggarai–Jatinegara"
            	},
            },
		},
		["Rajawali–Cikampek"] = {
			["title"] = "'''[[Jalur kereta api Rajawali–Cikampek|<font color=#0058a5>Rajawali–Cikampek</font>]]'''",
			["color"] = "0058a5",
            ["left terminus"] = "Rajawali",
            ["right terminus"] = "Cikampek"
		},
		["Citayam–Nambo"] = {
			["title"] = "'''[[Jalur kereta api Manggarai–Padalarang|<font color=#0058a5>Percabangan menuju Nambo</font>]]'''",
			["color"] = "0058a5",
            ["left terminus"] = "Citayam",
            ["right terminus"] = "Nambo"
		},
	
		--- NONAKTIF
		["Anyer Kidul–Cigading"] = {
		    ["title"] = "'''''[[Jalur kereta api Merak–Tanahabang#Percabangan menuju Anyer Kidul|<font color=#ef7d00>Anyer Kidul–Krenceng</font>]]'''''",
            ["left terminus"] = "Anyer Kidul",
            ["right terminus"] = "Krenceng"
		},
		["Labuan–Rangkasbitung"] = {
            ["left terminus"] = "Labuan (Pandeglang)",
            ["right terminus"] = "Rangkasbitung"
		},
		["Karawang–Cikampek"] = {
            ["left terminus"] = "Karawang",
            ["right terminus"] = "Cikampek"
		},
		["Karawang–Rengasdengklok"] = {
            ["left terminus"] = "Karawang",
            ["right terminus"] = "Rengasdengklok"
		},
		["Cikampek–Cilamaya"] = {
            ["left terminus"] = "Cikampek",
            ["right terminus"] = "Cilamaya"
		},
		
		-- DAOP 2 BANDUNG
		--- AKTIF
		["Cikampek–Padalarang"] = {
			["title"] = "'''''[[Jalur kereta api Cikampek–Padalarang|<font color=#0058a5>Cikampek–Padalarang</font>]]'''''",
			["color"] = "0058a5",
            ["left terminus"] = "Cikampek",
            ["right terminus"] = "Padalarang"
		},
		
		--- NONAKTIF
		["Bandung–Ciwidey"] = {
            ["left terminus"] = "Bandung",
            ["right terminus"] = "Ciwidey"
		},
		["Dayeuhkolot–Majalaya"] = {
            ["left terminus"] = "Dayeuhkolot",
            ["right terminus"] = "Majalaya"
		},
		["Banjar–Cijulang"] = {
            ["left terminus"] = "Banjar",
            ["right terminus"] = "Cijulang"
		},
		["Tasikmalaya–Singaparna"] = {
            ["left terminus"] = "Tasikmalaya",
            ["right terminus"] = "Singaparna"
		},
		["Rancaekek–Tanjungsari"] = {
            ["left terminus"] = "Rancaekek",
            ["right terminus"] = "Tanjungsari"
		},
		["Cibatu–Cikajang"] = {
            ["left terminus"] = "Cibatu",
            ["right terminus"] = "Cikajang"
		},
		["Percabangan menuju Karees"] = {
            ["left terminus"] = "Karees",
            ["right terminus"] = "Kiaracondong"
		},
		
		-- DAOP 3 CIREBON
		--- AKTIF
		["Cikampek–Cirebon Prujakan"] = {
			["title"] = "'''[[Jalur kereta api Cikampek–Cirebon Prujakan|<font color=#0058a5>Cikampek–Cirebon Prujakan</font>]]'''",
			["color"] = "0058a5",
            ["left terminus"] = "Cikampek",
            ["right terminus"] = "Cirebon Prujakan"
		},

		--- NONAKTIF
		["Cirebon–Kadipaten"] = {
            ["left terminus"] = "Cirebon Prujakan",
            ["right terminus"] = "Kadipaten"
		},
		["Jatibarang–Indramayu"] = {
            ["left terminus"] = "Jatibarang",
            ["right terminus"] = "Indramayu"
		},
		["Jatibarang–Karangampel"] = {
            ["left terminus"] = "Jatibarang",
            ["right terminus"] = "Karangampel"
		},
		["Bedilan–Waruduwur"] = {
            ["left terminus"] = "Bedilan",
            ["right terminus"] = "Waruduwur"
		},
		["Percabangan menuju Pelabuhan Cirebon"] = {
            ["left terminus"] = "Cirebon",
            ["right terminus"] = "Pelabuhan Cirebon"
		},
		
		-- DAOP 4 SEMARANG
		--- AKTIF
		["Tegal–Brumbung"] = {
			["title"] = "'''[[Jalur kereta api %1|<font color=0058a5>%1</font>]]'''",
			["color"] = "0058a5",
			["left terminus"] = "Tegal",
			["right terminus"] = "Brumbung"
		},
		["segitiga Brumbung–Gundih–Gambringan"] = {
			["title"] = "'''[[Jalur kereta api %1|<font color=0058a5>Segitiga Brumbung–Gundih–Gambringan</font>]]'''",
			["color"] = "0058a5",
			["types"] = {
				["Brumbung–Gundih"] = {
					["title"] = "",
					["left terminus"] = "Brumbung",
					["right terminus"] = "Gundih",
					["note-mid"] = "Brumbung–Gundih"
				},
				["Brumbung–Gambringan"] = {
					["title"] = "",
					["left terminus"] = "Brumbung",
					["right terminus"] = "Gambringan",
					["note-mid"] = "Brumbung–Gambringan"
				},
				["Gundih–Gambringan"] = {
					["title"] = "",
					["left terminus"] = "Gundih",
					["right terminus"] = "Gambringan",
					["note-mid"] = "Gundih–Gambringan"
				},
			},
		},
		--- NONAKTIF
		["Jurnatan–Demak"] = {
			["left terminus"] = "Jurnatan",
			["right terminus"] = "Demak"
		},
		["Demak–Kudus"] = {
			["left terminus"] = "Demak",
			["right terminus"] = "Kudus"
		},
		["Kudus–Juwana"] = {
			["left terminus"] = "Kudus",
			["right terminus"] = "Juwana"
		},
		["Juwana–Rembang"] = {
			["left terminus"] = "Juwana",
			["right terminus"] = "Rembang"
		},
		["Juwana–Tayu"] = {
			["left terminus"] = "Juwana",
			["right terminus"] = "Tayu"
		},
		["Kalibodri–Kendal–Kaliwungu"] = {
			["left terminus"] = "Kalibodri",
			["right terminus"] = "Kaliwungu"
		},
		["Pekalongan–Wonopringgo"] = {
			["left terminus"] = "Pekalongan",
			["right terminus"] = "Wonopringgo"
		},
		["Purwodadi–Gundih"] = {
			["left terminus"] = "Purwodadi",
			["right terminus"] = "Gundih"
		},
		["Demak–Purwodadi"] = {
			["left terminus"] = "Demak",
			["right terminus"] = "Purwodadi"
		},
		["Rembang–Blora"] = {
			["left terminus"] = "Rembang",
			["right terminus"] = "Blora"
		},
		["Rembang–Bojonegoro"] = {
			["left terminus"] = "Rembang",
			["right terminus"] = "Bojonegoro"
		},
		["Blora–Cepu"] = {
			["left terminus"] = "Blora",
			["right terminus"] = "Cepu"
		},
		["Purwodadi–Wirosari–Blora"] = {
			["left terminus"] = "Purwodadi",
			["right terminus"] = "Blora"
		},
		["Wirosari–Kradenan"] = {
			["left terminus"] = "Wirosari",
			["right terminus"] = "Kradenan"
		},
		["Samarang–Semarang Tawang"] = {
			["left terminus"] = "Samarang",
			["right terminus"] = "Semarang Tawang",
			["note-mid"] = "Penghubung antara Samarang dengan Semarang Tawang"
		},
		["Samarang–Tangoeng (NIS)"] = {
			["left terminus"] = "Semarang",
			["right terminus"] = "Tanggung"
		},
		["Weleri–Besokor"] = {
			["left terminus"] = "Weleri",
			["right terminus"] = "Besokor",
			["note-mid"] = "nonaktif sejak zaman [[Hindia-Belanda]]"
		},
		["Penghubung Jerakah–Jurnatan"] = {
			["left terminus"] = "Jurnatan",
			["right terminus"] = "Jerakah",
			["note-mid"] = "Gabungan eks [[Semarang–Cheribon Stoomtram Maatschappij|SCS]] dan [[Samarang–Joana Stoomtram Maatschappij|SJS]]"
		},
		["Kudus–Mayong–Pecangaan"] = {
			["left terminus"] = "Kudus",
			["right terminus"] = "Pecangaan",
		},
		["Mayong–Welahan"] = {
			["left terminus"] = "Mayong",
			["right terminus"] = "Welahan",
		},
		["Percabangan menuju Pekalongan Pelabuhan"] = {
			["left terminus"] = "Pekalongan",
			["right terminus"] = "Pelabuhan Pekalongan"
		},
		["Percabangan menuju Tanjung Emas"] = {
			["title"] = "'''''[[Jalur_kereta_api_Tegal–Brumbung#Percabangan_menuju_Pelabuhan_Tanjung_Emas|<font color=ef7d00>%1</font>]]'''''",
			["types"] = {
				["NIS"] = {
					["title"] = "Trase [[Nederlandsch-Indische Spoorweg Maatschappij|NISM]]",
					["left terminus"] = "Semarang Gudang",
					["right terminus"] = "Semarang Pelabuhan"
				},
				["DJKA"] = {
					["title"] = "Trase [[Direktorat Jenderal Perkeretaapian|DJKA]]",
					["left terminus"] = "Semarang Tawang",
					["right terminus"] = "Semarang Pelabuhan"
				}
			},
		},
		
		-- DAOP 5 PURWOKERTO
		--- AKTIF
		["Kroya–Cilacap"] = {
			["title"] = "'''[[Jalur kereta api Kroya–Cilacap|<font color=#0058a5>Kroya–Cilacap</font>]]'''",
			["color"] = "0058a5",
			["left terminus"] = "Cilacap",
			["right terminus"] = "Kroya"
		},
		["Prupuk–Kroya"] = {
			["title"] = "'''[[Jalur kereta api Prupuk–Kroya|<font color=#0058a5>Prupuk–Kroya</font>]]'''",
			["color"] = "0058a5",
			["left terminus"] = "Prupuk",
			["right terminus"] = "Kroya"
		},
		["Kroya–Kutoarjo"] = {
			["title"] = "'''[[Jalur kereta api Kroya–Kutoarjo–Purworejo|<font color=#0058a5>Kroya–Kutoarjo–Purworejo</font>]]'''",
			["color"] = "0058a5",
			["left terminus"] = "Kroya",
			["right terminus"] = "Purworejo"
		},
		["Percabangan menuju Karangtalun"] = {
			["title"] = "'''[[Jalur kereta api Kroya–Cilacap#Percabangan menuju Karangtalun|<font color=#0058a5>Percabangan menuju Karangtalun</font>]]'''",
			["color"] = "0058a5",
			["left terminus"] = "Gumilir",
			["right terminus"] = "Karangtalun"
		},
		
		--- NONAKTIF
		["Purwokerto–Wonosobo"] = {
			["left terminus"] = "Purwokerto",
			["right terminus"] = "Wonosobo"
		},
		["Kutoarjo–Purworejo"] = {
			["title"] = "'''''[[Jalur kereta api Kroya–Kutoarjo–Purworejo#Percabangan menuju Purworejo|<font color=#ef7d00>Kroya–Kutoarjo–Purworejo</font>]]'''''",
			["left terminus"] = "Kroya",
			["right terminus"] = "Purworejo"
		},
		["Percabangan menuju Purbalingga"] = {
			["left terminus"] = "Banjarsari",
			["right terminus"] = "Purbalingga"
		},
		["Percabangan menuju Kandis"] = {
			["left terminus"] = "Purwareja",
			["right terminus"] = "Kandis"
		},
		
		-- DAOP 6 YOGYAKARTA
		--- AKTIF
		["Kutoarjo–Purwosari"] = {
			["title"] = "'''[[Jalur kereta api Kutoarjo–Purwosari|<font color=#0058a5>Kutoarjo–Purwosari–Solo Balapan</font>]]'''",
			["color"] = "0058a5",
			["left terminus"] = "Kutoarjo",
			["right terminus"] = "Solo Balapan"
		},
		["Purwosari–Wonogiri"] = {
			["title"] = "'''[[Jalur kereta api Purwosari–Wonogiri–Baturetno|<font color=#0058a5>Purwosari–Wonogiri–Baturetno</font>]]'''",
			["color"] = "0058a5",
			["left terminus"] = "Purwosari",
			["right terminus"] = "Baturetno"
		},
		["Percabangan menuju Bandara Adi Soemarmo"] = {
			["title"] = "<font color=#0058a5>Percabangan menuju Bandara Adi Soemarmo</font>'''",
			["color"] = "0058a5",
			["left terminus"] = "Kadipiro",
			["right terminus"] = "Bandara Adi Soemarmo"
		},

		--- NONAKTIF
		["Secang–Yogyakarta"] = {
			["left terminus"] = "Secang",
			["right terminus"] = "Yogyakarta"
		},
		["Ngabean–Pundong"] = {
			["left terminus"] = "Ngabean",
			["right terminus"] = "Pundong"
		},
		["Yogyakarta–Palbapang"] = {
			["left terminus"] = "Yogyakarta",
			["right terminus"] = "Sewugalur"
		},
		["Parakan–Secang"] = {
			["left terminus"] = "Parakan",
			["right terminus"] = "Secang"
		},
		["Wonogiri–Baturetno"] = {
			["title"] = "'''[[Jalur kereta api Purwosari–Wonogiri–Baturetno|<font color=#ef7d00>Purwosari–Wonogiri–Baturetno</font>]]'''",
			["left terminus"] = "Purwosari",
			["right terminus"] = "Baturetno"
		},
		["Purwosari–Boyolali"] = {
			["left terminus"] = "Purwosari",
			["right terminus"] = "Boyolali"
		},
		["Percabangan menuju Bandara YIA"] = {
			["left terminus"] = "Kedundang",
			["right terminus"] = "Bandara Internasional Yogyakarta"
		},
	
	    -- DAOP 7 MADIUN
		--- NONAKTIF
		["Madiun–Ponorogo"] = {
			["left terminus"] = "Madiun",
			["right terminus"] = "Ponorogo",
		},
		["Ponorogo–Badegan"] = {
			["left terminus"] = "Ponorogo",
			["right terminus"] = "Badegan",
		},
		["Ponorogo–Slahung"] = {
			["left terminus"] = "Ponorogo",
			["right terminus"] = "Slahung",
		},
		["Babat–Jombang"] = {
			["left terminus"] = "Babat",
			["right terminus"] = "Jombang",
		},
		["Pelem–Papar"] = {
			["left terminus"] = "Pelem",
			["right terminus"] = "Papar",
			["note-mid"] = "eks-[[Kediri Stoomtram Maatschappij]]"		
		},
		["Jombang–Kediri"] = {
			["left terminus"] = "Jombang",
			["right terminus"] = "Kediri",
			["note-mid"] = "eks-[[Kediri Stoomtram Maatschappij]]"	
		},
		["Tulungagung–Tugu"] = {
			["left terminus"] = "Tulungagung",
			["right terminus"] = "Tugu (Tulungagung)",
			["note-mid"] = "Jalur menuju [[Trenggalek]]<br>Nonaktif karena [[Depresi Besar]]"	
		},	
	
		-- DAOP 8 SURABAYA
		--- AKTIF
		["Lintas Surabaya"] = {
			["title"] = "'''[[Jalur kereta api lintas Surabaya|<font color=0058a5>Lintas Surabaya</font>]]'''",
			["color"] = "0058a5",
			["types"] = {
				["Surabaya Pasarturi–Surabaya Gubeng"] = {
					["title"] = "",
        			["left terminus"] = "Surabaya Pasarturi",
    				["right terminus"] = "Surabaya Gubeng",
    				["note-mid"] = "''Shortcut'' SBI–SGU"
					},
				["Wonokromo–Surabaya Kota"] = {
					["title"] = "",
            		["left terminus"] = "Wonokromo",
            		["right terminus"] = "Surabaya Kota",
            		["note-mid"] = "Wonokromo–Surabaya Kota"
					},
	    		["Surabaya Gubeng–Benteng"] = {
					["title"] = "",
            		["left terminus"] = "Surabaya Gubeng",
            		["right terminus"] = "Benteng",
            		["note-mid"] = "Surabaya Gubeng–Benteng"
				},
				["Kalimas–Benteng"] = {
					["title"] = "",
            		["left terminus"] = "Kalimas",
            		["right terminus"] = "Benteng",
            		["note-mid"] = "Kalimas–Benteng"
				},
	    		["Kalimas–Surabaya Pasarturi"] = {
					["title"] = "",
            		["left terminus"] = "Kalimas",
            		["right terminus"] = "Surabaya Pasarturi",
            		["note-mid"] = "Kalimas–Surabaya Pasarturi"
				},
            },
		},
	    ["Tarik–Sidoarjo"] = {
			["title"] = "'''[[Jalur kereta api Tarik–Sidoarjo|<font color=#0058a5>Tarik–Sidoarjo</font>]]'''",
			["color"] = "0058a5",
            ["left terminus"] = "Tarik",
            ["right terminus"] = "Sidoarjo"
		},
	    ["Wonokromo–Bangil"] = {
			["title"] = "'''[[Jalur kereta api Wonokromo–Bangik|<font color=#0058a5>Wonokromo–Bangil</font>]]'''",
			["color"] = "0058a5",
            ["left terminus"] = "Wonokromo",
            ["right terminus"] = "Bangil"
		},
		
		--- NONAKTIF
		["Merakurak–Babat"] = {
			["left terminus"] = "Merakurak",
			["right terminus"] = "Babat",
		},
		["Sumari–Gresik–Kandangan"] = {
			["left terminus"] = "Sumari",
			["right terminus"] = "Kandangan",
		},
		["Kepanjen–Gondanglegi"] = {
			["title"] = "'''''[[Jalur kereta api Kepanjen–Gondanglegi|<font color=#ef7d00>Kepanjen–Gondanglegi</font>]]'''''",
			["left terminus"] = "Kepanjen",
			["right terminus"] = "Gondanglegi",
			["note-mid"] = "eks-[[Malang Stoomtram Maatschappij]]"
		},
		["Malang Kotalama–Gondanglegi"] = {
			["title"] = "'''''[[Jalur kereta api Malang Kotalama–Gondanglegi|<font color=#ef7d00>Malang Kotalama-Gondanglegi</font>]]'''''",
			["left terminus"] = "Malang Kotalama",
			["right terminus"] = "Gondanglegi",
			["note-mid"] = "eks-[[Malang Stoomtram Maatschappij]]"
		},
		["Gondanglegi–Dampit"] = {
			["title"] = "[[Jalur kereta api Gondanglegi–Dampit|<font color=#ef7d00>Gondanglegi–Dampit</font>]]",
			["left terminus"] = "Gondanglegi",
			["right terminus"] = "Dampit",
		},
		["Japanan–Bangil"] = {
			["left terminus"] = "Japanan",
			["right terminus"] = "Bangil",
		},
		["Malang Kotalama–Blimbing–Singosari"] = {
			["title"] = "[[Jalur trem Malang Kotalama–Blimbing–Singosari|<font color=#ef7d00>Malang Kotalama–Blimbing–Singosari</font>]]",
			["left terminus"] = "Malang Kotalama",
			["right terminus"] = "Singosari MS",
		},
		["Blimbing–Tumpang"] = {
			["title"] = "[[Jalur trem Blimbing–Tumpang|<font color=#ef7d00>Blimbing–Tumpang</font>]]",
			["left terminus"] = "Blimbing",
			["right terminus"] = "Tumpang",
		},
		["Mojokerto–Japanan–Porong"] = {
			["left terminus"] = "Mojokerto",
			["right terminus"] = "Gempol",
		},
		["Bangsal–Pugeran"] = {
			["left terminus"] = "Bangsal",
			["right terminus"] = "Pugeran",
		},
		["Pabrik Spiritus Wates–Mojokerto Kota–Gemekan"] = {
			["left terminus"] = "Pabrik Spiritus Wates",
			["right terminus"] = "Gemekan",
		},
		["Trem Surabaya"] = {
			["title"] = "[[Jalur trem lintas Surabaya|<font color=#ef7d00>Trem Surabaya</font>]]",
			["left terminus"] = "Krian",
			["right terminus"] = "Ujung",
		},
		["Krian–Ploso"] = {
			["left terminus"] = "Krian",
			["right terminus"] = "Ploso",
		},
		
		---- TREM MADOERA STOOMTRAM MIJ.
		["lintas Madura"] = {
			["title"] = "'''''[[Jalur kereta api lintas Madura|<font color=#ef7d00>Lintas Madura</font>]]'''''",
			["color"] = "ef7d00",
			["types"] = {
				["Kamal–Kwanyar via Bangkalan"] = {
					["title"] = "",
        			["left terminus"] = "Kamal",
    				["right terminus"] = "Kwanyar",
    				["note-mid"] = "Kamal–Kwanyar via Bangkalan"
					},
				["Kamal–Kwanyar via Labang"] = {
					["title"] = "",
            		["left terminus"] = "Kamal",
            		["right terminus"] = "Kwanyar",
            		["note-mid"] = "Kamal–Kwanyar via Labang"
					},
				["Kamal–Kwanyar via Batuporon"] = {
					["title"] = "",
            		["left terminus"] = "Kamal",
            		["right terminus"] = "Kwanyar",
            		["note-mid"] = "Kamal–Kwanyar via Batuporon"
				},
				["Kwanyar–Kalianget"] = {
					["title"] = "",
            		["left terminus"] = "Kwanyar",
            		["right terminus"] = "Kalianget",
            		["note-mid"] = "Kwanyar–Kalianget"
				},
            },
		},
		
	    -- DAOP 9 JEMBER
	    --- AKTIF
	    ["Kalisat–Banyuwangi"] = {
			["title"] = "'''[[Jalur kereta api Kalisat–Banyuwangi|<font color=#0058a5>Kalisat–Banyuwangi</font>]]'''",
			["color"] = "0058a5",
            ["left terminus"] = "Kalisat",
            ["right terminus"] = "Ketapang (Banyuwangi)"
		},
	
	    --- NONAKTIF
		["Jalur menuju Banyuwangi Lama"] = {
			["title"] = "[[Jalur kereta api Kalisat–Banyuwangi#Lintas nonaktif Kabat–Banyuwangi|Jalur menuju Banyuwangi Lama]]",
			["left terminus"] = "Kabat",
			["right terminus"] = "Banyuwangi"
		},
		["Kalisat–Panarukan"] = {
            ["left terminus"] = "Kalisat",
            ["right terminus"] = "Panarukan"
		},
		["Rogojampi–Benculuk"] = {
            ["left terminus"] = "Rogojampi",
            ["right terminus"] = "Benculuk"
		},
		["Rambipuji–Balung–Puger"] = {
            ["left terminus"] = "Rambipuji",
            ["right terminus"] = "Puger"
		},
		["Balung–Ambulu"] = {
            ["left terminus"] = "Balung",
            ["right terminus"] = "Ambulu"
		},
		["Lumajang–Balung"] = {
            ["left terminus"] = "Lumajang",
            ["right terminus"] = "Balung"
		},
		["Klakah–Lumajang–Pasirian"] = {
            ["left terminus"] = "Klakah",
            ["right terminus"] = "Pasirian"
		},
		["Probolinggo–Paiton"] = {
            ["left terminus"] = "Probolinggo",
            ["right terminus"] = "Paiton"
		},
		["Pasuruan–Warungdowo–Winongan"] = {
            ["left terminus"] = "Pasuruan",
            ["right terminus"] = "Winongan"
		},
		
		-- LINTAS DAOP
		--- DAOP 1 JAKARTA - DAOP 2 BANDUNG
		["Manggarai–Padalarang"] = {
			["title"] = "'''[[Jalur kereta api Manggarai–Padalarang|<font color=#0058a5>Manggarai–Padalarang</font>]]'''",
			["color"] = "0058a5",
            ["left terminus"] = "Manggarai",
            ["right terminus"] = "Padalarang"
		},
		
		--- DAOP 2 BANDUNG - DAOP 5 PURWOKERTO
		["Padalarang–Kasugihan"] = {
			["title"] = "'''[[Jalur kereta api Padalarang–Kasugihan|<font color=#0058a5>Padalarang–Kasugihan</font>]]'''",
			["color"] = "0058a5",
            ["left terminus"] = "Padalarang",
            ["right terminus"] = "Kasugihan"
		},
	
		--- DAOP 3 CIREBON - DAOP 4 SEMARANG - DAOP 5 PURWOKERTO
		["segitiga Cirebon Prujakan–Prupuk–Tegal"] = {
			["title"] = "'''[[Jalur kereta api %1|<font color=0058a5>Segitiga Cirebon Prujakan–Prupuk–Tegal</font>]]'''",
			["color"] = "0058a5",
			["types"] = {
				["Cirebon Prujakan–Tegal"] = {
					["title"] = "",
					["left terminus"] = "Cirebon",
					["right terminus"] = "Tegal",
					["note-mid"] = "Cirebon Prujakan–Tegal"
				},
				["Cirebon Prujakan–Prupuk"] = {
					["title"] = "",
					["left terminus"] = "Cirebon",
					["right terminus"] = "Prupuk",
					["note-mid"] = "Cirebon Prujakan–Prupuk"
				},
				["Prupuk–Tegal"] = {
					["title"] = "",
					["left terminus"] = "Prupuk",
					["right terminus"] = "Tegal",
					["note-mid"] = "Prupuk–Tegal"
				},
			},
		},
		
		--- DAOP 4 SEMARANG - DAOP 6 YOGYAKARTA
		["Gundih–Solo Balapan"] = {
			["title"] = "'''[[Jalur kereta api Gundih–Solo Balapan|<font color=#0058a5>Gundih–Solo Balapan</font>]]'''",
			["color"] = "0058a5",
			["left terminus"] = "Gundih",
			["right terminus"] = "Solo Balapan"
		},
		["Kedungjati–Secang"] = {
			["left terminus"] = "Kedungjati",
			["right terminus"] = "Secang"
		},
	
		--- DAOP 4 SEMARANG - DAOP 8 SURABAYA
		["Gambringan–Surabaya Pasarturi"] = {
			["title"] = "'''[[Jalur kereta api Gambringan–Surabaya Pasarturi|<font color=#0058a5>Gambringan–Surabaya Pasarturi</font>]]'''",
			["color"] = "0058a5",
			["left terminus"] = "Gambringan",
			["right terminus"] = "Surabaya Pasarturi"
		},

		--- DAOP 6 YOGYAKARTA - DAOP 7 MADIUN
		["Solo Balapan–Kertosono"] = {
			["title"] = "'''[[Jalur kereta api Solo Balapan–Kertosono|<font color=#0058a5>Solo Balapan–Kertosono</font>]]'''",
			["color"] = "0058a5",
			["left terminus"] = "Solo Balapan",
			["right terminus"] = "Kertosono"
		},
		
		--- DAOP 7 MADIUN - DAOP 8 SURABAYA
		["Kertosono–Wonokromo"] = {
			["title"] = "'''[[Jalur kereta api Kertosono–Wonokromo|<font color=#0058a5>Kertosono–Wonokromo</font>]]'''",
			["color"] = "0058a5",
			["left terminus"] = "Kertosono",
			["right terminus"] = "Wonokromo"
		},
		["Kertosono–Bangil"] = {
			["title"] = "'''[[Jalur kereta api Kertosono–Bangil|<font color=#0058a5>Kertosono–Bangil</font>]]'''",
			["color"] = "0058a5",
			["left terminus"] = "Kertosono",
			["right terminus"] = "Bangil"
		},
		
		--- DAOP 8 SURABAYA - DAOP 9 JEMBER
		["Bangil–Kalisat"] = {
			["title"] = "'''[[Jalur kereta api Bangil–Kalisat|<font color=#0058a5>Bangil–Kalisat</font>]]'''",
			["color"] = "0058a5",
			["left terminus"] = "Bangil",
			["right terminus"] = "Kalisat"
		}
	}
}

return p