Module:Adjacent stations/SMRT: Difference between revisions

Content deleted Content added
Clean up unneeded arrays
m CR1
 
(25 intermediate revisions by 5 users not shown)
Line 1:
local mrtlrt = "%1 MRT/LRT station"
 
-- Regarding background-color:
-- CSS requires using American English "color"
 
local p = {
Line 5 ⟶ 8:
["system icon"] = "",
["name format"] = {
"font-family: helvetica; background-colourcolor: transparent;",
["Branch"] = "font-family: helvetica; background-colourcolor: transparent; border-bottom: 8px solid #b85600;",
["Circle"] = "font-family: helvetica; background-colourcolor: transparent; border-bottom: 8px solid #fa9e0d;",
["Cross Island"] = "font-family: helvetica; background-colourcolor: transparent; border-bottom: 8px solid #97C616;",
["Downtown"] = "font-family: helvetica; background-colourcolor: transparent; border-bottom: 8px solid #005ec4;",
["East–West"] = "font-family: helvetica; background-colourcolor: transparent; border-bottom: 8px solid #009645;",
["Jurong Region"] = "font-family: helvetica; background-colourcolor: transparent; border-bottom: 8px solid #0099aa;",
["North East"] = "font-family: helvetica; background-colourcolor: transparent; border-bottom: 8px solid #9900aa;",
["North–South"] = "font-family: helvetica; background-colourcolor: transparent; border-bottom: 8px solid #d42e12;",
["Thomson–East Coast"] = "font-family: helvetica; background-colourcolor: transparent; border-bottom: 8px solid #9D5B25;",
},
["station format"] = {
Line 29 ⟶ 32:
},
["Branch"] = {
["short name"] = "B",
["color"] = "b85600",
["text color"] = "FFFFFF",
["left terminus"] = "Jurong East",
["right terminus"] = "Choa Chu Kang",
},
["Circle"] = {
["short name"] = "CCL",
["color"] = "fa9e0d",
["text color"] = "000000",
["left terminus"] = {
"Dhoby Ghaut",
Line 41 ⟶ 48:
["right terminus"] = "HarbourFront",
["types"] = {
["DBG"] = {
["title"] = "",
["left terminus"] = "Dhoby Ghaut",
["right terminus"] = "HarbourFront",
},
["MRB"] = {
["title"] = "",
["left terminus"] = "Marina Bay",
["right terminus"] = "HarbourFront",
},
["CCL6"] = {
["title"] ="Future service"",
["note-mid"] = "Future service",
["left terminus"] = "Clockwise / outer",
["right terminus"] = "Anticlockwise / inner",
Line 50 ⟶ 68:
},
["Cross Island"] = {
["short name"] = "CRL",
["color"] = "97C616",
["text color"] = "000000",
["note-mid"] = "Future service",
["left terminus"] = "Aviation Park",
["right terminus"] = "Bright Hill",
["types"] = {
["PunggolCRL2"] = {
["title"] = "Punggol extension",
["note-mid"] = "Future service",
["left terminus"] = "Aviation Park",
["right terminus"] = "Jurong Lake District",
},
["CRL3"] = {
["title"] = "",
["note-mid"] = "Future service",
["left terminus"] = "Aviation Park",
["right terminus"] = "Gul Circle",
},
["CR1"] = {
["title"] = "",
["note-mid"] = "Future service",
["left terminus"] = "Changi Terminal 5",
["right terminus"] = "Gul Circle",
},
["CPe"] = {
["title"] = "Punggol Extension",
["note-mid"] = "Future service",
["left terminus"] = "Pasir Ris",
["right terminus"] = "Punggol",
Line 62 ⟶ 102:
},
["Downtown"] = {
["short name"] = "DTL",
["color"] = "005ec4",
["text color"] = "FFFFFF",
["left terminus"] = "Bukit Panjang",
["right terminus"] = "Expo",
["types"] = {
["DTL3e"] = {
["title"] = "",
["note-mid"] = "Future service",
["left terminus"] = "Bukit Panjang",
["right terminus"] = "Sungei Bedok",
},
["DTL2e"] = {
["title"] = "",
["note-mid"] = "Future service",
["left terminus"] = "Sungei Kadut",
["right terminus"] = "Sungei Bedok",
},
},
},
["East–West"] = {
["short name"] = "EWL",
["color"] = "009645",
["text color"] = "FFFFFF",
["left terminus"] = "Pasir Ris",
["right terminus"] = "Tuas Link",
["types"] = {
["ChangiCGA"] ={
["title"] = "Changi Airport Line",
["left terminus"] = "Tanah Merah",
Line 79 ⟶ 137:
},
["Jurong Region"] = {
["short name"] = "JRL",
["color"] = "0099aa",
["text color"] = "FFFFFF",
["left terminus"] = {
"Choa Chu Kang",
Line 89 ⟶ 149:
},
["types"] = {
["North"] = {
-- Branch from Tengah to Pandan Reservoir
["Pandantitle"] = {"",
["titlenote-mid"] = "Future service",
["left terminus"] = "Choa Chu Kang",
["right terminus"] = "Boon Lay",
},
["South"] = {
["title"] = "",
["note-mid"] = "Future service",
["left terminus"] = "Tawas",
["right terminus"] = "Boon Lay",
},
["JRL3 South"] = {
["title"] = "",
["note-mid"] = "Future service",
["left terminus"] = "Peng Kang Hill",
["right terminus"] = "Jurong Pier",
},
["West"] = {
["title"] = "",
["note-mid"] = "Future service",
["left terminus"] = "Choa Chu Kang",
["right terminus"] = "Tawas",
},
["JRL3 West"] = {
["title"] = "",
["note-mid"] = "Future service",
["left terminus"] = "Choa Chu Kang",
["right terminus"] = "Peng Kang Hill",
},
["East"] = {
["title"] = "",
["note-mid"] = "Future service",
["left terminus"] = "Tengah",
["right terminus"] = "Pandan Reservoir",
},
["WCE1"] = {
["title"] = "",
["note-mid"] = "Future service",
["left terminus"] = "Tengah",
["right terminus"] = "West Coast",
},
["WCE2"] = {
["title"] = "",
["note-mid"] = "Future service",
["left terminus"] = "Tengah",
["right terminus"] = "Kent Ridge",
},
},
},
["North East"] = {
["short name"] = "NEL",
["color"] = "9900aa",
["text color"] = "FFFFFF",
["left terminus"] = "HarbourFront",
["right terminus"] = "Punggol Coast",
},
["North–South"] = {
["short name"] = "NSL",
["color"] = "d42e12",
["text color"] = "FFFFFF",
["left terminus"] = "Jurong East",
["right terminus"] = "Marina South Pier",
},
["Thomson–East Coast"] = {
["short name"] = "TEL",
["color"] = "9D5B25",
["text color"] = "FFFFFF",
["left terminus"] = "Woodlands North",
["right terminus"] = "Gardens by the BayBayshore",
["types"] = {
["TEL5"] = {
["title"] = "",
["note-mid"] = "Future service",
["left terminus"] = "Woodlands North",
["right terminus"] = "Sungei Bedok",
},
["TELe"] = {
["title"] = "",
["note-mid"] = "Future service",
["left terminus"] = "Woodlands North",
["right terminus"] = "Tanah Merah",
},
},
},
},
Line 121 ⟶ 243:
["cross island"] = "Cross Island",
["dt"] = "Downtown",
["de"] = "Downtown",
["downtown"] = "Downtown",
["ew"] = "East–West",