Module:Adjacent stations/HCMC Metro
Appearance
(Redirected from Module:Adjacent stations/Ho Chi Minh City Metro)
![]() | This module is rated as ready for general use. It has reached a mature form and is thought to be relatively bug-free and ready for use wherever appropriate. It is ready to mention on help pages and other Wikipedia resources as an option for new users to learn. To reduce server load and bad output, it should be improved by sandbox testing rather than repeated trial-and-error editing. |
This is a data module for Module:Adjacent stations. It supports services operated by HCMC Metro.
Lines
[edit]Metro lines operational & under construction
[edit]Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
Line 1 | 1 |
0079B8 |
1 | |
Line 2 | 2 |
CC205F |
2 |
Proposed lines
[edit]Rapid transit
[edit]Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
Line 3 | 3 |
FB7D37 |
3 | |
Line 4 | 4 |
97CF6F |
4 | |
Line 5 | 5 |
E690BB |
5 | |
Line 6 | 6 |
C58120 |
6 | |
Line 7 | 7 |
18BDC1 |
7 | |
Line 8 | 8 |
6566A9 |
8 | |
Line 9 | 9 |
D36C97 |
9 | |
Line 10 | 10 |
6A926D |
10 |
Tramway
[edit]Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
Tramway | T |
53C5E0 |
T |
Cancelled lines
[edit]Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
Line 3A | 3A |
FB7D37 |
3A | |
Line 3B | 3B |
FB7D37 |
3B | |
Line 4B | 4B |
97CF6F |
4B | |
Monorail 2 | M2 |
894E9A |
M2 | |
Monorail 3 | M3 |
87898B |
M3 |
Usage
[edit]{{#invoke:Adjacent stations/HCMC Metro|function_name}}
local h = "%1 station (Ho Chi Minh City)"
local d = "%1 Depot"
local p = {
["system title"] = "[[HCMC Metro]]",
["system icon"] = "[[File:HCMC Metro icon-symbol.svg|18px|link=HCMC Metro|alt=HCMC Metro logo]]",
["line icon format"] = "route",
["station format"] = {
"%1 station",
["Suối Tiên"] = "[[Suối Tiên Terminal station|Suối Tiên]]",
["Opera House"] = h,
["An Hạ"] = d,
},
["lines"] = {
["_default"] = {
["color"] = "cccccc",
["title"] = "[[HCMC Metro Line %1|Line %1]]",
["text color"] = "FFFFFF",
},
["1"] = {
["color"] = "0079B8",
["left terminus"] = "Bến Thành",
["right terminus"] = "Suối Tiên",
},
["2"] = {
["color"] = "CC205F",
["note-mid"] = "Phase 1 - Opening 2030-2032",
["left terminus"] = "Bến Thành",
["right terminus"] = "Tân Bình",
},
-- Future lines
["3"] = {
["title"] = "[[HCMC Metro#Lines|Line 3]]",
["note-mid"] = "''Proposed''",
["color"] = "FB7D37",
["left terminus"] = "An Hạ",
["right terminus"] = "Hiệp Bình Phước",
},
["4"] = {
["title"] = "[[HCMC Metro#Lines|Line 4]]",
["note-mid"] = "''Proposed''",
["color"] = "97CF6F",
["left terminus"] = "Thạnh Xuân",
["right terminus"] = "Hiệp Phước Port",
},
["5"] = {
["title"] = "[[HCMC Metro#Lines|Line 5]]",
["note-mid"] = "Phase 1 - ''Proposed''",
["color"] = "E690BB",
["left terminus"] = "Tân Cảng",
["right terminus"] = "New Cần Giuộc Bus Station",
},
["6"] = {
["title"] = "[[HCMC Metro#Lines|Line 6]]",
["note-mid"] = "''Proposed''",
["color"] = "C58120",
["left terminus"] = "Phú Lâm Junction",
["right terminus"] = "Bà Quẹo",
},
["7"] = {
["title"] = "[[HCMC Metro#Lines|Line 7]]",
["note-mid"] = "''Proposed''",
["color"] = "18BDC1",
["left terminus"] = "Tân Kiên",
["right terminus"] = "Long Bình",
},
["8"] = {
["title"] = "[[HCMC Metro#Lines|Line 8]]",
["note-mid"] = "''Proposed''",
["color"] = "6566A9",
["left terminus"] = "Đa Phước",
["right terminus"] = "Bình Mỹ",
},
["9"] = {
["title"] = "[[HCMC Metro#Lines|Line 9]]",
["note-mid"] = "''Proposed''",
["color"] = "D36C97",
["left terminus"] = "Bình Triệu",
["right terminus"] = "An Hạ",
},
["10"] = {
["title"] = "[[HCMC Metro#Lines|Line 10]]",
["note-mid"] = "''Proposed''",
["color"] = "6A926D",
},
["T"] = {
["title"] = "[[HCMC Metro#Lines|Tramway]]",
["note-mid"] = "''Former Line 11''",
["color"] = "53C5E0",
["left terminus"] = "Ba Son",
["right terminus"] = "Western Terminal",
},
-- Cancelled lines
["3A"] = {
["title"] = "[[HCMC Metro#Lines|Line 3A]]",
["note-mid"] = "''Cancelled''",
["color"] = "FB7D37",
["left terminus"] = "Bến Thành",
["right terminus"] = "Tân Kiên",
},
["3B"] = {
["title"] = "[[HCMC Metro#Lines|Line 3B]]",
["note-mid"] = "''Cancelled''",
["color"] = "FB7D37",
["left terminus"] = "Cộng Hoà Junction",
["right terminus"] = "Hiệp Bình",
},
["M2"] = {
["title"] = "[[HCMC Metro#Lines|Monorail 2]]",
["note-mid"] = "''Cancelled''",
["color"] = "894E9A",
["left terminus"] = "Thanh Đa",
["right terminus"] = "Nguyễn Văn Linh",
},
["M3"] = {
["title"] = "[[HCMC Metro#Lines|Monorail 3]]",
["note-mid"] = "''Cancelled''",
["color"] = "87898B",
["left terminus"] = "Gò Vấp Junction",
["right terminus"] = "Tân Chánh Hiệp",
},
["4B"] = {
["title"] = "[[HCMC Metro#Lines|Line 4B]]",
["note-mid"] = "''Cancelled''",
["color"] = "97CF6F",
["left terminus"] = "Gia Định Park",
["right terminus"] = "Hoàng Văn Thụ Park",
},
},
["aliases"] = {
["line 1"] = "1",
["Line 1"] = "1",
["L1"] = "1",
["l1"] = "1",
["line 2"] = "2",
["Line 2"] = "2",
["L2"] = "2",
["l2"] = "2",
["line 3"] = "3",
["Line 3"] = "3",
["L3"] = "3",
["l3"] = "3",
["line 3A"] = "3A",
["Line 3A"] = "3A",
["L3A"] = "3A",
["l3A"] = "3A",
["3a"] = "3A",
["line 3B"] = "3B",
["Line 3B"] = "3B",
["L3B"] = "3B",
["l3B"] = "3B",
["3b"] = "3B",
["line 4"] = "4",
["Line 4"] = "4",
["L4"] = "4",
["l4"] = "4",
["line 4B"] = "4B",
["Line 4B"] = "4B",
["L4B"] = "4B",
["l4B"] = "4B",
["4b"] = "4B",
["line 5"] = "5",
["Line 5"] = "5",
["L5"] = "5",
["l5"] = "5",
["line 6"] = "6",
["Line 6"] = "6",
["L6"] = "6",
["l6"] = "6",
["line 7"] = "7",
["Line 7"] = "7",
["L7"] = "7",
["l7"] = "7",
["line 8"] = "8",
["Line 8"] = "8",
["L8"] = "8",
["l8"] = "8",
["line 9"] = "9",
["Line 9"] = "9",
["L9"] = "9",
["l9"] = "9",
["line 10"] = "10",
["Line 10"] = "10",
["L10"] = "10",
["l10"] = "10",
["monorail 2"] = "M2",
["Monorail 2"] = "M2",
["m2"] = "M2",
["monorail 3"] = "M3",
["Monorail 3"] = "M3",
["m3"] = "M3",
["tramway"] = "T",
["Tramway"] = "T",
["t"] = "T",
-- More be added soon
},
}
return p