Module:Adjacent stations/Istanbul Metro

local nf = "background-color: white; font-size: 200%; font-family:helvetica, Arial, sans-serif; font-weight: bolder; line-height: 150%;" local p = { ["system title"] = "Istanbul Metro", ["system icon"] = "", ["name format"] = { ["Marmaray"] = nf .. "border-top: 10px solid #5A5F5C;", ["M1"] = nf .. "border-top: 10px solid #EE2229;", ["M2"] = nf .. "border-top: 10px solid #059A4D;", ["M3"] = nf .. "border-top: 10px solid #0CA6DF;", ["M4"] = nf .. "border-top: 10px solid #E81E77;", ["M5"] = nf .. "border-top: 10px solid #683166;", ["M6"] = nf .. "border-top: 10px solid #C9AA79;", ["M7"] = nf .. "border-top: 10px solid #F490B3;", ["M8"] = nf .. "border-top: 10px solid #487ABF;", ["M9"] = nf .. "border-top: 10px solid #FCD10D;", ["M10"] = nf .. "border-top: 10px solid #4CAA3C;", ["M11"] = nf .. "border-top: 10px solid #A1609B;", ["M12"] = nf .. "border-top: 10px solid #CAD300;", ["T1"] = nf .. "border-top: 10px solid #004b86;", ["T2"] = nf .. "border-top: 10px solid #90aba0;", ["T3"] = nf .. "border-top: 10px solid #99562f;", ["T4"] = nf .. "border-top: 10px solid #ff7e42;", ["T5"] = nf .. "border-top: 10px solid #7b72b2;", ["T6"] = nf .. "border-top: 10px solid #e77c7c;", ["F"] = nf .. "border-top: 10px solid #7A745A;", ["Marmaray M9"] = nf .. "border-top: 10px solid transparent; border-image: linear-gradient(to right, #5A5F5C 49%, white, #FCD10D 51% ) 1;", ["M1 M2"] = nf .. "border-top: 10px solid transparent; border-image: linear-gradient(to right, #EE2229 49%, white, #059A4D 51% ) 1;", ["M1 M3"] = nf .. "border-top: 10px solid transparent; border-image: linear-gradient(to right, #EE2229 49%, white, #0CA6DF 51% ) 1;", ["M1 M9"] = nf .. "border-top: 10px solid transparent; border-image: linear-gradient(to right, #EE2229 49%, white, #FCD10D 51% ) 1;", ["M2 F"] = nf .. "border-top: 10px solid transparent; border-image: linear-gradient(to right, #059A4D 49%, white, #7A745A 51% ) 1;", ["M2 M6"] = nf .. "border-top: 10px solid transparent; border-image: linear-gradient(to right, #059A4D 49%, white, #C9AA79 51% ) 1;", ["M2 M7"] = nf .. "border-top: 10px solid transparent; border-image: linear-gradient(to right, #059A4D 49%, white, #F490B3 51% ) 1;", ["M2 M11"] = nf .. "border-top: 10px solid transparent; border-image: linear-gradient(to right, #059A4D 49%, white, #A1609B 51% ) 1;", ["M3 M9"] = nf .. "border-top: 10px solid transparent; border-image: linear-gradient(to right, #0CA6DF 49%, white, #FCD10D 51% ) 1;", ["M4 M8"] = nf .. "border-top: 10px solid transparent; border-image: linear-gradient(to right, #E81E77 49%, white, #487ABF 51% ) 1;", ["M5 M8"] = nf .. "border-top: 10px solid transparent; border-image: linear-gradient(to right, #683166 49%, white, #487ABF 51% ) 1;", ["M5 M12"] = nf .. "border-top: 10px solid transparent; border-image: linear-gradient(to right, #683166 49%, white, #CAD300 51% ) 1;", ["M3 M7"] = nf .. "border-top: 10px solid transparent; border-image: linear-gradient(to right, #0CA6DF 49%, white, #F490B3 51% ) 1;", ["M3 M11"] = nf .. "border-top: 10px solid transparent; border-image: linear-gradient(to right, #0CA6DF 49%, white, #A1609B 51% ) 1;", ["M7 F"] = nf .. "border-top: 10px solid transparent; border-image: linear-gradient(to right, #F490B3 49%, white, #7A745A 51% ) 1;", ["M7 M11"] = nf .. "border-top: 10px solid transparent; border-image: linear-gradient(to right, #F490B3 49%, white, #A1609B 51% ) 1;" },	["station format"] = { "%1 (Istanbul Metro)", ["Atakoy-Sirinevler"] = "Ataköy-Şirinevler", ["Ataturk Havalimani"] = "Atatürk Havalimanı", ["Bahcelievler"] = "Bahçelievler", ["Bakirkoy-Incirli"] = "Bakırköy—İncirli", ["Bostancı M4"] = "Bostancı", ["Bostancı M8"] = "Bostancı", ["Göztepe M4"] = "Göztepe", ["Göztepe M7"] = "Göztepe", ["İMES"] = "İMES", ["İncirli"] = "İncirli", ["Istanbul Airport"] = "Istanbul Airport", ["Kazım Karabekir"] = "K. Karabekir", ["Kâzım Karabekir M7"] = "Kâzım Karabekir", ["Kâzım Karabekir M12"] = "Kâzım Karabekir", ["Küçükbakkalköy"] = "K. Bakkalköy", ["MASKO"] = "MASKO", ["MetroKent or Olimpiyat"] = "MetroKent or Olimpiyat", ["MODOKO–KEYAP"] = "MODOKO–KEYAP", ["Sabiha Gökçen"] = "Sabiha Gökçen Havalimanı", ["Sabiha Gökçen Airport"] = "Sabiha Gökçen Airport", ["Sabiha Gökçen or Tuzla"] = "Sabiha Gökçen or Tuzla", ["Toplu Konutlar M3"] = "Toplu Konutlar", ["Toplu Konutlar M7"] = "Toplu Konutlar", ["Şehir Hastanesi M3"] = "Şehir Hastanesi", ["Şehir Hastanesi M13"] = "Şehir Hastanesi", ["Veysel Karani–Akşemsettin"] = "Veysel Karani–Akşemsettin", ["Yakacik"] = "Yakacık—A. Kahveci", ["Yakacık"] = "Yakacık—A. Kahveci", ["Yenikapi"] = "Yenikapı", ["Yenikapı"] = "Yenikapı", ["Yenimahalle M3"] = "Yenimahalle", ["Yenimahalle M7"] = "Yenimahalle", },	["lines"] = { ["_default"] = { ["title"] = "%1 Line", },		["M1"] = { ["color"] = "EE2229", ["icon"] = "", ["left terminus"] = "Yenikapı", ["right terminus"] = {"Atatürk Havalimanı", "Kirazlı"} },		["M1A"] = { ["title"] = "M1a Line", ["color"] = "EE2229", ["icon"] = "", ["left terminus"] = "Yenikapı", ["right terminus"] = "Atatürk Havalimanı", },		["M1B"] = { ["title"] = "M1b Line", ["color"] = "EE2229", ["icon"] = "", ["left terminus"] = "Yenikapı", ["right terminus"] = "Kirazlı", },		["M2"] = { ["color"] = "059A4D", ["icon"] = "", ["left terminus"] = "Yenikapı", ["right terminus"] = "Hacıosman", },		["M2 Seyrantepe"] = { ["title"] = "M2 Line", ["color"] = "059A4D", ["left terminus"] = "Seyrantepe", ["right terminus"] = "Sanayi", },		["M3"] = { ["color"] = "0CA6DF", ["icon"] = "", ["left terminus"] = "Kayaşehir Merkez", ["right terminus"] = "Bakırköy Sahil", },		["M4"] = { ["color"] = "E81E77", ["icon"] = "", ["left terminus"] = "Kadıköy", ["right terminus"] = "Sabiha Gökçen Airport", },		["M4 EXT"] = { ["title"] = "M4 Line", ["color"] = "E81E77", ["left terminus"] = "Kadıköy", ["right terminus"] = "Tuzla", },		["M4 SG"] = { ["title"] = "M4 Line", ["color"] = "E81E77", ["left terminus"] = "Kadıköy", ["right terminus"] = "Sabiha Gökçen Airport", },		["M5"] = { ["color"] = "683166", ["icon"] = "", ["left terminus"] = "Üsküdar", ["right terminus"] = "Samandıra Merkez", },		["M6"] = { ["color"] = "C9AA79", ["icon"] = "", ["left terminus"] = "Levent", ["right terminus"] = "Boğaziçi Üniversitesi", },		["M7"] = { ["color"] = "F490B3", ["icon"] = "", ["left terminus"] = "Mahmutbey", ["right terminus"] = "Yıldız", },		["M8"] = { ["color"] = "487ABF", ["icon"] = "", ["left terminus"] = "Bostancı M8", ["right terminus"] = "Parseller", },		["M9"] = { ["color"] = "FCD10D", ["icon"] = "", ["left terminus"] = "Olimpiyat", ["right terminus"] = "Ataköy", },		["M10"] = { ["note-mid"] = "(under construction)", ["color"] = "4CAA3C", ["icon"] = "", ["left terminus"] = "Pendik", ["right terminus"] = "Sabiha Gökçen Havalimanı", },		["M11"] = { ["color"] = "A1609B", ["icon"] = "", ["left terminus"] = "Arnavutköy Hastane", ["right terminus"] = "Gayrettepe", },		["M12"] = { ["note-mid"] = "(proposed)", ["color"] = "CAD300", ["icon"] = "", ["left terminus"] = "60. Yıl Parkı", ["right terminus"] = "Kazım Karabekir", },		["M13"] = { ["note-mid"] = "(on hold)", ["color"] = "00AA4E", ["icon"] = "", ["left terminus"] = "Hastane—Adliye", ["right terminus"] = "Yenidoğan", },			["M14"] = { ["note-mid"] = "(on hold)", ["color"] = "B16400", ["icon"] = "", ["left terminus"] = "	Altunizade", ["right terminus"] = "Kâzım Karabekir", },		["F1"] = { ["color"] = "7A745A", ["icon"] = "", ["left terminus"] = "Taksim", ["right terminus"] = "Kabataş", },		["F3"] = { ["color"] = "7A745A", ["icon"] = "", ["left terminus"] = "Vadistanbul", ["right terminus"] = "Seyrantepe", },		["F4"] = { ["note-mid"] = "(under construction)", ["color"] = "7A745A", ["icon"] = "", ["left terminus"] = "Boğaziçi Üniversitesi", ["right terminus"] = "Aşiyan", },		["T1"] = { ["title"] = "T1", ["color"] = "004b86", ["icon"] = "", ["left terminus"] = "Kabataş", ["right terminus"] = "Bağcılar" },		["T2"] = { ["title"] = "T2", ["color"] = "90aba0", ["icon"] = "", ["left terminus"] = "?", ["right terminus"] = "?" },		["T3"] = { ["title"] = "T3", ["color"] = "99562f", ["icon"] = "", ["left terminus"] = "?", ["right terminus"] = "?" },		["T4"] = { ["title"] = "T4", ["color"] = "ff7e42", ["icon"] = "", ["left terminus"] = "Topkapı", ["right terminus"] = "Mescid-i Selam" },		["T5"] = { ["title"] = "T5", ["color"] = "7b72b2", ["icon"] = "", ["left terminus"] = "Eminönü", ["right terminus"] = "Alibeyköy Coach Station" },		["T6"] = { ["title"] = "T6", ["color"] = "e77c7c", ["icon"] = "", ["left terminus"] = "Sirkeci", ["right terminus"] = "Kazlıçeşme" }		},	["aliases"] = { ["m1"] = "M1", ["m1a"] = "M1A", ["m1b"] = "M1B", ["m2"] = "M2", ["m2 seyrantepe"] = "M2 Seyrantepe", ["m3"] = "M3", ["m3 olimpiyat"] = "M3 Olimpiyat", ["m3 metrokent"] = "M3", ["m4"] = "M4", ["m4 ext"] = "M4 EXT", ["m4 sg"] = "M4 SG", ["m4 tz"] = "M4", ["m5"] = "M5", ["m5 future"] = "M5", ["m5"] = "M5", ["m6"] = "M6", ["m7"] = "M7", ["m8"] = "M8", ["m9"] = "M9", ["m10"] = "M10", ["m11"] = "M11", ["m12"] = "M12", ["m13"] = "M13", ["m14"] = "M14", ["f1"] = "F1", ["f3"] = "F3", ["f4"] = "F4", ["t1"] = "T1", ["t2"] = "T2", ["t3"] = "T3", ["t4"] = "T4", ["t5"] = "T5", ["t6"] = "T6" } }

return p