Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Module:Adjacent stations/Istanbul Metro

From Wikipedia, the free encyclopedia

local x = "%1 metro station"

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;",
		["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 station",
		["Ayrılık Çeşmesi"] = x,
		["Bahçelievler"] = x,
		["Göztepe"] = x,
		["Halkalı"] = x,
		["Kartal"] = x,
		["Küçükyalı"] = x,
		["Maltepe"] = x,
		["Pendik"] = x,
		["Üsküdar"] = x,
		["Zeytinburnu"] = x,

		["Bakirkoy-Incirli"] = "[[Bakırköy—İncirli (Istanbul Metro)|Bakırköy—İncirli]]",
		["Bostancı M4"] = "[[Bostancı station (M4)|Bostancı]]",
		["Bostancı M8"] = "[[Bostancı station (M8)|Bostancı]]",
		["İncirli"] = "[[Bakırköy–İncirli station|İncirli]]",
		["Istanbul Airport"] = "[[İstanbul Havalimanı station|Istanbul Airport]]",
		["Kâzım Karabekir M7"] = "[[Kâzım Karabekir station (M7)|Kâzım Karabekir]]",
		["Kâzım Karabekir M12"] = "[[Kâzım Karabekir station (M12)|Kâzım Karabekir]]",
		["Küçükbakkalköy"] = "[[Küçükbakkalköy station|K. Bakkalköy]]",
		["Mecidiyeköy"] = "[[Şişli–Mecidiyeköy station|Mecidiyeköy]]",
		["MODOKO–KEYAP"] = "[[MODOKO–KEYAP]]",
		["Sabiha Gökçen"] = "[[Sabiha Gökçen Airport|Sabiha Gökçen Havalimanı]]",
		["Sabiha Gökçen Airport"] = "[[Sabiha Gökçen Havalimanı station|Sabiha Gökçen Airport]]",
		["Sabiha Gökçen or Tuzla"] = "[[Sabiha Gökçen Airport|Sabiha Gökçen]] or [[Tuzla station (Istanbul Metro)|Tuzla]]",
		["Toplu Konutlar M3"] = "[[Toplu Konutlar station (M3)|Toplu Konutlar]]",
		["Toplu Konutlar M7"] = "[[Toplu Konutlar station (M7)|Toplu Konutlar]]",
		["Yakacık"] = "[[Yakacık–Adnan Kahveci station|Yakacık–A. Kahveci]]",
		["Yenikapı"] = "[[Yenikapı Transfer Center|Yenikapı]]",
		["Yenimahalle M3"] = "[[Yenimahalle station (M3)|Yenimahalle]]",
		["Yenimahalle M7"] = "[[Yenimahalle station (M7)|Yenimahalle]]",
	},
	["lines"] = {
		["_default"] = {
			["title"] = "[[%1 (Istanbul Metro)|%1 Line]]",
		},
		["M1"] = {
			["color"] = "EE2229",
			["icon"] = "[[File:Istanbul M1 Line Symbol.svg|17px|link=M1 (Istanbul Metro)]]",
			["left terminus"] = {"Atatürk Havalimanı", "Kirazlı"},
			["right terminus"] = "Yenikapı",
		},
		["M1A"] = {
			["title"] = "[[M1 (Istanbul Metro)|M1a Line]]",
			["color"] = "EE2229",
			["icon"] = "[[File:Istanbul M1A Line Symbol.svg|17px|link=M1 (Istanbul Metro)]]",
			["left terminus"] = "Atatürk Havalimanı",
			["right terminus"] = "Yenikapı",
		},
		["M1B"] = {
			["title"] = "[[M1 (Istanbul Metro)|M1b Line]]",
			["color"] = "EE2229",
			["icon"] = "[[File:Istanbul M1B Line Symbol.svg|17px|link=M1 (Istanbul Metro)]]",
			["left terminus"] = "Kirazlı",
			["right terminus"] = "Yenikapı",
		},
		["M2"] = {
			["color"] = "059A4D",
			["icon"] = "[[File:Istanbul M2 Line Symbol.svg|17px|link=M2 (Istanbul Metro)]]",
			["left terminus"] = "Yenikapı",
			["right terminus"] = "Hacıosman",
		},
		["M2 Seyrantepe"] = {
			["title"] = "[[M2 (Istanbul Metro)|M2 Line]]",
			["color"] = "059A4D",
			["left terminus"] = "Seyrantepe",
			["right terminus"] = "Sanayi Mahallesi",
		},
		["M3"] = {
			["color"] = "0CA6DF",
			["icon"] = "[[File:Istanbul M3 Line Symbol.svg|17px|link=M3 (Istanbul Metro)]]",
			["left terminus"] = "Kayaşehir Merkez",
			["right terminus"] = "Bakırköy Sahil",
		},
		["M4"] = {
			["color"] = "E81E77",
			["icon"] = "[[File:Istanbul M4 Line Symbol.svg|17px|link=M4 (Istanbul Metro)]]",
			["left terminus"] = "Kadıköy",
			["right terminus"] = "Sabiha Gökçen Airport",
		},
		["M4 EXT"] = {
			["title"] = "[[M4 (Istanbul Metro)|M4 Line]]",
			["color"] = "E81E77",
			["left terminus"] = "Kadıköy",
			["right terminus"] = "Tuzla",
		},
		["M4 SG"] = {
			["title"] = "[[M4 (Istanbul Metro)|M4 Line]]",
			["color"] = "E81E77",
			["left terminus"] = "Kadıköy",
			["right terminus"] = "Sabiha Gökçen Airport",
		},
		["M5"] = {
			["color"] = "683166",
			["icon"] = "[[File:Istanbul M5 Line Symbol.svg|17px|link=M5 (Istanbul Metro)]]",
			["left terminus"] = "Üsküdar",
			["right terminus"] = "Sultanbeyli",
		},
		["M6"] = {
			["color"] = "C9AA79",
			["icon"] = "[[File:Istanbul M6 Line Symbol.svg|17px|link=M6 (Istanbul Metro)]]",
			["left terminus"] = "Levent",
			["right terminus"] = "Boğaziçi Üniversitesi",
		},
		["M7"] = {
			["color"] = "F490B3",
			["icon"] = "[[File:Istanbul M7 Line Symbol.svg|17px|link=M7 (Istanbul Metro)]]",
			["left terminus"] = "Mahmutbey",
			["right terminus"] = "Yıldız", 
		},
		["M8"] = {
			["color"] = "487ABF",
			["icon"] = "[[File:Istanbul M8 Line Symbol.svg|17px|link=M8 (Istanbul Metro)]]",
			["left terminus"] = "Bostancı M8",
			["right terminus"] = "Parseller",
		},
		["M9"] = {
			["color"] = "FCD10D",
			["icon"] = "[[File:Istanbul M9 Line Symbol.svg|17px|link=M9 (Istanbul Metro)]]",
			["left terminus"] = "Olimpiyat",
			["right terminus"] = "Ataköy",
		},
		["M10"] = {
			["note-mid"] = "''(under construction)''",
			["color"] = "4CAA3C",
			["icon"] = "[[File:Istanbul M10 Line Symbol.svg|17px|link=M10 (Istanbul Metro)]]",
			["left terminus"] = "Pendik",
			["right terminus"] = "Sabiha Gökçen Havalimanı",
		},
		["M11"] = {
			["color"] = "A1609B",
			["icon"] = "[[File:Istanbul M11 Line Symbol.svg|17px|link=M11 (Istanbul Metro)]]",
			["left terminus"] = "Halkalı",
			["right terminus"] = "Gayrettepe",
		},
		["M12"] = {
			["note-mid"] = "''(under construction)''",
			["color"] = "CAD300",
			["icon"] = "[[File:Istanbul M12 Line Symbol.svg|17px|link=M12 (Istanbul Metro)]]",
			["left terminus"] = "60. Yıl Parkı",
			["right terminus"] = "Kazım Karabekir",
		},
		["M13"] = {
			["note-mid"] = "''(under construction)''",
			["color"] = "FF4B58",
			["icon"] = "[[File:Istanbul M13 Line Symbol.svg|17px|link=M13 (Istanbul Metro)]]",
			["left terminus"] = "Emek",
			["right terminus"] = "Yenidoğan",
		},
		["M14"] = {
			["note-mid"] = "''(under construction)''",
			["color"] = "B16400",
			["icon"] = "[[File:Istanbul M14 Line Symbol.svg|17px|link=M14 (Istanbul Metro)]]",
			["left terminus"] = "Altunizade",
			["right terminus"] = "Bosna Bulvarı",
		},
		["F1"] = {
			["title"] = "[[F1 Taksim–Kabataş funicular line|F1]]",
			["color"] = "7A745A",
			["icon"] = "[[File:Istanbul F1 Line Symbol.svg|17px|link=F1 Taksim–Kabataş funicular line]]",
			["left terminus"] = "Taksim",
			["right terminus"] = "Kabataş",
		},
		["F3"] = {
			["title"] = "[[F3 (Istanbul funicular)|F3]]",
			["color"] = "7A745A",
			["icon"] = "[[File:Istanbul F3 Line Symbol.svg|17px|link=F3 (Istanbul funicular)]]",
			["left terminus"] = "Vadistanbul",
			["right terminus"] = "Seyrantepe",
		},
		["F4"] = {
			["title"] = "[[F4 (Istanbul funicular)|F4]]",
			["color"] = "7A745A",
			["icon"] = "[[File:Istanbul F4 Line Symbol.svg|17px|link=F4 (Istanbul funicular)]]",
			["left terminus"] = "Boğaziçi Üniversitesi",
			["right terminus"] = "Aşiyan",
		},
		["T1"] = {
			["title"] = "[[T1 (Istanbul Tram)|T1]]",
			["color"] = "004b86",
			["icon"] = "[[File:Istanbul T1 Line Symbol.svg|17px|link=T1 (Istanbul Tram)]]",
			["left terminus"] = "Kabataş",
			["right terminus"] = "Bağcılar"
		},
		["T2"] = {
			["title"] = "[[Istanbul nostalgic tramways|T2]]",
			["color"] = "90aba0",
			["icon"] = "[[File:Istanbul T2 Line Symbol.svg|17px|link=Istanbul nostalgic tramways]]",
			["left terminus"] = "Tünel",
			["right terminus"] = "Taksim"
		},
		["T3"] = {
			["title"] = "[[Istanbul nostalgic tramways|T3]]",
			["color"] = "99562f",
			["icon"] = "[[File:Istanbul T3 Line Symbol.svg|17px|link=Istanbul nostalgic tramways]]",
			["left terminus"] = "Kadıköy",
			["right terminus"] = "Moda"
		},
		["T4"] = {
			["title"] = "[[T4 (Istanbul Tram)|T4]]",
			["color"] = "ff7e42",
			["icon"] = "[[File:Istanbul T4 Line Symbol.svg|17px|link=T4 (Istanbul Tram)]]",
			["left terminus"] = "Topkapı",
			["right terminus"] = "Mescid-i Selam"
		},
		["T5"] = {
			["title"] = "[[T5 (Istanbul Tram)|T5]]",
			["color"] = "7b72b2",
			["icon"] = "[[File:Istanbul T5 Line Symbol.svg|17px|link=T5 (Istanbul Tram)]]",
			["left terminus"] = "Eminönü",
			["right terminus"] = "Alibeyköy Coach Station"
		},
		["T6"] = {
			["title"] = "[[T6 (Istanbul Tram)|T6]]",
			["color"] = "e77c7c",
			["icon"] = "[[File:Istanbul T6 Line Symbol.svg|17px|link=T6 (Istanbul Tram)]]",
			["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",
		["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