Jump to content

Module:Adjacent stations/Dubai Metro: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Fixed another error in my edit.
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
local proposed_station = "%1#Dubai_Metro"
local blue = "Blue Line (Dubai Metro)"

local p = {
local p = {
["system title"] = "[[Dubai Metro]]",
["system title"] = "[[Dubai Metro]]",
Line 7: Line 10:
["station format"] = {
["station format"] = {
"%1 (Dubai Metro)",
"%1 (Dubai Metro)",
["Academic City"] = "Dubai International Academic City#Dubai Metro",
["City Centre Mirdif"] = blue,
["DHC"] = "[[Dubai Healthcare City (Dubai Metro)|Dubai Healthcare City]]",
["DHC"] = "[[Dubai Healthcare City (Dubai Metro)|Dubai Healthcare City]]",
["Dubai Festival City"] = proposed_station,
["Expo 2020"] = "[[Expo City Dubai (Dubai Metro)|Expo City Dubai]]",
["Dubai Silicon Oasis"] = proposed_station,
["Expo City Dubai"] = "[[Expo 2020 (Dubai Metro)|Expo 2020]]",
["International City 1"] = "Dubai International City#Dubai Metro",
["International City 2 & 3"] = "Dubai International City#Dubai Metro",
},
},
["lines"] = {
["lines"] = {
Line 18: Line 27:
["color"] = "DC241F",
["color"] = "DC241F",
["short name"] = "M1",
["short name"] = "M1",
["left terminus"] = {"Expo City Dubai", "UAE Exchange"},
["left terminus"] = {"Expo 2020", "UAE Exchange"},
["right terminus"] = "Centrepoint",
["right terminus"] = "Centrepoint",
["types"] = {
["types"] = {
["UAE Exchange branch"] = {
["UAE Exchange branch"] = {
["left terminus"] = "UAE Exchange",
["left terminus"] = "UAE Exchange",
["right terminus"] = "Jabal Ali",
},
},
["Expo 2020 branch"] = {
["Expo 2020 branch"] = {
Line 42: Line 50:
["Blue"] = {
["Blue"] = {
["color"] = "0354A6",
["color"] = "0354A6",
["note-mid"] = "Opening 2029",
["short name"] = "M4",
["short name"] = "M4",
["left terminus"] = {"Creek", "Centrepoint"},
["right terminus"] = "Academic City",
["types"] = {
["Creek branch"] = {
["left terminus"] = "Creek",
},
["Centrepoint branch"] = {
["left terminus"] = "Centrepoint",
},
},
},
},
["Tram"] = {
["Tram"] = {

Latest revision as of 15:42, 28 June 2024

local proposed_station = "%1#Dubai_Metro"
local blue = "Blue Line (Dubai Metro)"

local p = {
	["system title"] = "[[Dubai Metro]]",
	["system icon"] = "",
	["name format"] = "font-size: 140%; padding:5px; background-color:#006; color:#FFF; font-family: Helvetica, Arial, sans-serif; font-weight: normal;",
	["header background color"] = "EEEEEE",
	["line icon format"] = "route",
	["station format"] = {
		"%1 (Dubai Metro)",
		["Academic City"] = "Dubai International Academic City#Dubai Metro",
		["City Centre Mirdif"] = blue,
		["DHC"] = "[[Dubai Healthcare City (Dubai Metro)|Dubai Healthcare City]]",
		["Dubai Festival City"] = proposed_station,
		["Dubai Silicon Oasis"] = proposed_station,
		["Expo City Dubai"] = "[[Expo 2020 (Dubai Metro)|Expo 2020]]",
		["International City 1"] = "Dubai International City#Dubai Metro",
		["International City 2 & 3"] = "Dubai International City#Dubai Metro",
	},
	["lines"] = {
		["_default"] = {
			["title"] = "[[%1 Line (Dubai Metro)|%1 Line]]",
			["text color"] = "FFF"
		},
		["Red"] = {
			["color"] = "DC241F",
			["short name"] = "M1",
			["left terminus"] = {"Expo 2020", "UAE Exchange"},
			["right terminus"] = "Centrepoint",
			["types"] = {
				["UAE Exchange branch"] = {
					["left terminus"] = "UAE Exchange",
				},
				["Expo 2020 branch"] = {
					["left terminus"] = "Expo 2020",
				},
			}
		},
		["Green"] = {
			["color"] = "009530",
			["short name"] = "M2",
			["left terminus"] = "Creek",
			["right terminus"] = "Etisalat",
		},
		["Purple"] = {
			["color"] = "9016B2",
			["short name"] = "M3",
		},
		["Blue"] = {
			["color"] = "0354A6",
			["note-mid"] = "Opening 2029",
			["short name"] = "M4",
			["left terminus"] = {"Creek", "Centrepoint"},
			["right terminus"] = "Academic City",
			["types"] = {
				["Creek branch"] = {
					["left terminus"] = "Creek",
				},
				["Centrepoint branch"] = {
					["left terminus"] = "Centrepoint",
				},
			},
		},
		["Tram"] = {
			["title"] = "[[Dubai Tram]]",
			["color"] = "01A0B1",
			["short name"] = "T1",
		},
		["Trolley"] = {
			["title"] = "[[Dubai Trolley]]",
			["color"] = "800000",
			["short name"] = "T2",
		},
		["Monorail"] = {
			["title"] = "[[Palm Jumeirah Monorail]]",
			["color"] = "748477",
			["short name"] = "L1",
		},
	},
	["aliases"] = {
		["red"] = "Red",
		["green"] = "Green",
		["purple"] = "Purple",
		["blue"] = "Blue",
		["tram"] = "Tram",
		["trolley"] = "Trolley",
		["monorail"] = "Monorail",
		
		["m1"] = "Red",
		["m2"] = "Green",
		["m3"] = "Purple",
		["m4"] = "Blue",
		["t1"] = "Tram",
		["t2"] = "Trolley",
		["l1"] = "Monorail",
	} 
}

return p