Jump to content

Module:Adjacent stations/Istanbul Metro/sandbox

From Wikipedia, the free encyclopedia
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"] = "",
	["system color"] = "",
	["name format"] = {
		["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;",
		["M11"] = nf .. "border-top: 10px solid #A1609B;",
		["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;",
		["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;",
		["M3 M7"] = nf .. "border-top: 10px solid transparent; border-image: linear-gradient(to right, #0CA6DF 49%, white, #F490B3 51% ) 1;"
	},
	["station format"] = {
		"%1 (Istanbul Metro)",
		["Atakoy-Sirinevler"] = "[[Ataköy-Şirinevler (Istanbul Metro)|Ataköy-Şirinevler]]",
		["Ataturk Havalimani"] = "[[Atatürk Havalimanı (Istanbul Metro)|Atatürk Havalimanı]]",
		["Bahcelievler"] = "[[Bahçelievler (Istanbul Metro)|Bahçelievler]]",
		["Bakirkoy-Incirli"] = "[[Bakırköy—İncirli (Istanbul Metro)|Bakırköy—İncirli]]",
		["Göztepe M4"] = "[[Göztepe (Istanbul Metro, M4)|Göztepe]]",
		["Göztepe M7"] = "[[Göztepe (Istanbul Metro, M7)|Göztepe]]",
		["Kazım Karabekir"] = "[[Kazım Karabekir (Istanbul Metro)|K. Karabekir]]",
		["Küçükbakkalköy"] = "[[Küçükbakkalköy (Istanbul Metro)|K. Bakkalköy]]",
		["MetroKent or Olimpiyat"] = "[[MetroKent (Istanbul Metro)|MetroKent]] or [[Olimpiyat (Istanbul Metro)|Olimpiyat]]",
		["Sabiha Gökçen"] = "[[Sabiha Gökçen Airport|Sabiha Gökçen Havalimanı]]",
		["Sabiha Gökçen or Tuzla"] = "[[Sabiha Gökçen Airport|Sabiha Gökçen]] or [[Tuzla (Istanbul Metro)|Tuzla]]",
		["Yakacik"] = "[[Yakacık—Adnan Kahveci (Istanbul Metro)|Yakacık—A. Kahveci]]",
		["Yakacık"] = "[[Yakacık—Adnan Kahveci (Istanbul Metro)|Yakacık—A. Kahveci]]",
		["Yenikapi"] = "[[Yenikapı Transfer Center|Yenikapı]]",
		["Yenikapı"] = "[[Yenikapı Transfer Center|Yenikapı]]",
	},
	["lines"] = {
		["_default"] = {
			["title"] = "[[%1 (Istanbul Metro)|%1 Line]]",
		},
		["M1"] = {
			["color"] = "EE2229",
			["icon"] = "[[File:Istanbul M1 Line Symbol.svg|16px|alt=]]",
			["left terminus"] = "Yenikapı",
			["right terminus"] = {"Atatürk Havalimanı", "Kirazlı"}
		},
		["M1A"] = {
			["title"] = "[[M1 (Istanbul Metro)|M1a Line]]",
			["color"] = "EE2229",
			["icon"] = "[[File:Istanbul M1A Line Symbol.svg|16px|alt=]]",
			["left terminus"] = "Yenikapı",
			["right terminus"] = "Atatürk Havalimanı",
		},
		["M1B"] = {
			["title"] = "[[M1 (Istanbul Metro)|M1b Line]]",
			["color"] = "EE2229",
			["icon"] = "[[File:Istanbul M1B Line Symbol.svg|16px|alt=]]",
			["left terminus"] = "Yenikapı",
			["right terminus"] = "Kirazlı",
		},
		["M2"] = {
			["color"] = "059A4D",
			["icon"] = "[[File:Istanbul M2 Line Symbol.svg|16px|alt=]]",
			["left terminus"] = "Yenikapı",
			["right terminus"] = "Hacıosman",
		},
		["M2 Seyrantepe"] = {
			["title"] = "[[M2 (Istanbul Metro)|M2 Line]]",
			["color"] = "059A4D",
			["left terminus"] = "Seyrantepe",
			["right terminus"] = "Sanayi",
		},
		["M3"] = {
			["color"] = "0CA6DF",
			["icon"] = "[[File:Istanbul M3 Line Symbol.svg|16px|alt=]]",
			["left terminus"] = "Kirazlı",
			["right terminus"] = "MetroKent",
		},
		["M3 Olimpiyat"] = {
			["title"] = "[[M3 (Istanbul Metro)|M3 Line]]",
			["color"] = "0CA6DF",
			["left terminus"] = "Kirazlı",
			["right terminus"] = "Olimpiyat",
		},
		["M4"] = {
			["color"] = "E81E77",
			["icon"] = "[[File:Istanbul M4 Line Symbol.svg|16px|alt=]]",
			["left terminus"] = "Kadıköy",
			["right terminus"] = "Tavşantepe",
		},
		["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 Havalimanı",
		},
		["M5"] = {
			["color"] = "683166",
			["icon"] = "[[File:Istanbul M5 Line Symbol.svg|16px|alt=]]",
			["left terminus"] = "Üsküdar",
			["right terminus"] = "Çekmeköy",
		},
		["M6"] = {
			["color"] = "C9AA79",
			["icon"] = "[[File:Istanbul M6 Line Symbol.svg|16px|alt=]]",
			["left terminus"] = "Levent",
			["right terminus"] = "Boğaziçi Üniversitesi",
		},
		["M7"] = {
			["color"] = "F490B3",
			["icon"] = "[[File:Istanbul M7 Line Symbol.svg|16px|alt=]]",
			["left terminus"] = "Şişli—Mecidiyeköy", -- extension to Kabataş is under construction
			["right terminus"] = "Mahmutbey",
		},
		["M8"] = {
			["note-mid"] = "''(under construction)''",
			["icon"] = "[[File:Istanbul M8 Line Symbol.svg|16px|alt=]]",
			["color"] = "487ABF",
			["left terminus"] = "Bostancı",
			["right terminus"] = "Parseller",
		},
		["M9"] = {
			["note-mid"] = "''(under construction)''",
			["color"] = "FCD10D",
			["icon"] = "[[File:Istanbul M9 Line Symbol.svg|16px|alt=]]",
			["left terminus"] = "Olimpiyat",
			["right terminus"] = "Bahariye",
		},
		["M10"] = {
			["note-mid"] = "''(under construction)''",
			["color"] = "60C8D8",
			["icon"] = "[[File:Istanbul M10 Line Symbol.svg|16px|alt=]]",
			["left terminus"] = "Pendik",
			["right terminus"] = "Sabiha Gökçen Havalimanı",
		},
		["M11"] = {
			["note-mid"] = "''(under construction)''",
			["color"] = "A1609B",
			["icon"] = "[[File:Istanbul M11 Line Symbol.svg|16px|alt=]]",
			["left terminus"] = "Gayrettepe",
			["right terminus"] = "Halkalı",
		},
		["M12"] = {
			["note-mid"] = "''(proposed)''",
			["color"] = "C9DB70",
			["icon"] = "[[File:Istanbul M12 Line Symbol.svg|16px|alt=]]",
			["left terminus"] = "60. Yıl Parkı",
			["right terminus"] = "Kazım Karabekir",
		},
		["M13"] = {
			["note-mid"] = "''(on hold)''",
			["color"] = "0CA950",
			["icon"] = "[[File:Istanbul M13 Line Symbol.svg|16px|alt=]]",
			["left terminus"] = "Hastane—Adliye",
			["right terminus"] = "Yenidoğan",
		},
		["F1"] = {
			["color"] = "7A745A",
			["icon"] = "[[File:Istanbul F1 Line Symbol.svg|16px|alt=]]",
			["left terminus"] = "Taksim",
			["right terminus"] = "Kabataş",
		},
		["F3"] = {
			["color"] = "7A745A",
			["icon"] = "[[File:Istanbul F3 Line Symbol.svg|16px|alt=]]",
			["left terminus"] = "Vadistanbul",
			["right terminus"] = "Seyrantepe",
		},
		["F4"] = {
			["color"] = "7A745A",
			["icon"] = "[[File:Istanbul F4 Line Symbol.svg|16px|alt=]]",
			["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|16px|alt=]]",
			["left terminus"] = "?",
			["right terminus"] = "?"
		},
		["T3"] = {
			["title"] = "[[T3 (Istanbul Tram)|T3]]",
			["color"] = "99562f",
			["icon"] = "[[File:Istanbul T3 Line Symbol.svg|16px|alt=]]",
			["left terminus"] = "?",
			["right terminus"] = "?"
		},
		["T4"] = {
			["title"] = "[[T4 (Istanbul Tram)|T4]]",
			["color"] = "ff7e42",
			["icon"] = "[[File:Istanbul T4 Line Symbol.svg|16px|alt=]]",
			["left terminus"] = "?",
			["right terminus"] = "?"
		},
		["T5"] = {
			["title"] = "[[T5 (Istanbul Tram)|T5]]",
			["color"] = "7b72b2",
			["icon"] = "[[File:Istanbul T5 Line Symbol.svg|16px|alt=]]",
			["left terminus"] = "?",
			["right terminus"] = "?"
		}
	},
	["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",
		["f1"] = "F1",
		["f3"] = "F3",
		["f4"] = "F4",
		["t1"] = "T1",
		["t3"] = "T3",
		["t4"] = "T4",
		["t5"] = "T5"
	}
}

return p