Documentation icon คู่มือการใช้งานมอดูล[ดู] [แก้] [ประวัติ] [ล้างแคช]

This is a data module for Module:Adjacent stations. It supports services in Shanghai operated by Shanghai Metro. SHM can be used as an alias for Shanghai Metro.

สายKeysสีรหัสสีตรา
สาย 1 1   ea0437
สาย 2 2   87d300
สาย 3 3   ffd100
สาย 4 4   4f1f91
สาย 5 5   a24cc8
สาย 6 6   d71671
สาย 7 7   ff7200
สาย 8 8   009edb
สาย 9 9   78C7eb
สาย 10 10   bc87e6
สาย 11 11   7c2230
สาย 12 12   007b63
สาย 13 13   f293d1
สาย 14 14   7f7800
สาย 15 15   bba786
สาย 16 16   32d4cb
สาย 17 17   b67770
สาย 18 18   d6a461
สาย 19 19   48864d
สาย 20 20   15426b
สาย 21 21   d6c66c
สาย 23 23   e0815e
Pujiang line Pujiang
or pj
  999999
Jinshan railway Jinshan
or js or j
  11385b
Shanghai maglev train Maglev
or ml or m
  009090
Pudong railway Pudong   11385b
Chongming line Chongming   6bb392

local sm = "%1 station (Shanghai Metro)"

local p = {
	["system title"] = "[[รถไฟใต้ดินเซี่ยงไฮ้]]",
	["system color"] = "bbbbbb",
	["station format"] = {
		"สถานี%1",
		[""] = "",
	},
	["lines"] = {
		["_default"] = {
			["title"] = "[[รถไฟใต้ดินเซี่ยงไฮ้ สาย %1|สาย %1]]",
			["color"] = "BBBBBB"
		},
		["1"] = {
			["color"] = "ea0437",
			["text color"] = "FFFFFF",
			["icon"] = "[[File:SHM Line 1 icon.svg|x24px|alt=]]",
			["left terminus"] = "Fujin Road",
			["right terminus"] = "Xinzhuang",
		},
		["2"] = {
			["color"] = "87d300",
			["text color"] = "000000",
			["icon"] = "[[File:SHM Line 2 icon.svg|x24px|alt=]]",
			["left terminus"] = "East Xujing",
			["right terminus"] = "Pudong International Airport",
		},
		["3"] = {
			["color"] = "ffd100",
			["text color"] = "000000",
			["icon"] = "[[File:SHM Line 3 icon.svg|x24px|alt=]]",
			["left terminus"] = "North Jiangyang Road",
			["right terminus"] = "Shanghai South Railway Station",
			["types"] = {
				["4"] = {
					["title"] = "[[Category:Pages using Shanghai Metro with unexpected input]]",
					["left terminus"] = "North Jiangyang Road and clockwise",
					["right terminus"] = "Shanghai South Railway Station and counter-clockwise",
				}
			}
		},
		["4"] = {
			["color"] = "4f1f91",
			["text color"] = "FFFFFF",
			["icon"] = "[[File:SHM Line 4 icon.svg|x24px|alt=]]",
			["circular"] = true,
			["left terminus"] = "Clockwise",
			["right terminus"] = "Counter-clockwise"
		},
		["5"] = {
			["color"] = "a24cc8",
			["text color"] = "FFFFFF",
			["icon"] = "[[File:SHM Line 5 icon.svg|x24px|alt=]]",
			["left terminus"] = "Xinzhuang",
			["right terminus"] = "Fengxian Xincheng or Minhang Development Zone",
			["types"] = {
				["Both"] = {
					["title"] = "",
					["right terminus"] = "Fengxian Xincheng or Minhang Development Zone",
				},
				["main"] = {
					["title"] = "",
					["right terminus"] = "Fengxian Xincheng",
				},
				["branch"] = {
					["title"] = "branch",
					["right terminus"] = "Minhang Development Zone",
				}
			}
		},
		["6"] = {
			["color"] = "d71671",
			["text color"] = "FFFFFF",
			["icon"] = "[[File:SHM Line 6 icon.svg|x24px|alt=]]",
			["left terminus"] = "Gangcheng Road",
			["right terminus"] = "Oriental Sports Center",
		},
		["7"] = {
			["color"] = "ff7200",
			["text color"] = "000000",
			["icon"] = "[[File:SHM Line 7 icon.svg|x24px|alt=]]",
			["left terminus"] = "Meilan Lake",
			["right terminus"] = "Huamu Road",
		},
		["8"] = {
			["color"] = "009edb",
			["text color"] = "FFFFFF",
			["icon"] = "[[File:SHM Line 8 icon.svg|x24px|alt=]]",
			["left terminus"] = "Shiguang Road",
			["right terminus"] = "Shendu Highway",
		},
		["9"] = {
			["color"] = "78C7eb",
			["text color"] = "000000",
			["icon"] = "[[File:SHM Line 9 icon.svg|x24px|alt=]]",
			["left terminus"] = "Songjiang South Railway Station",
			["right terminus"] = "Caolu",
		},
		["10"] = {
			["color"] = "bc87e6",
			["text color"] = "000000",
			["icon"] = "[[File:SHM Line 10 icon.svg|x24px|alt=]]",
			["left terminus"] = "Hongqiao Railway Station or Hangzhong Road",
			["right terminus"] = "Jilong Road",
			["types"] = {
				["Both"] = {
					["title"] = "",
					["left terminus"] = "Hongqiao Railway Station or Hangzhong Road",
				},
				["Hangzhong"] = {
					["title"] = "[[Line 10 (Shanghai Metro)#Branch line|branch]]",
					["left terminus"] = "Hangzhong Road",
				},
				["Hongqiao"] = {
					["title"] = "",
					["left terminus"] = "Hongqiao Railway Station",
				}
			}
		},
		["11"] = {
			["color"] = "7c2230",
			["text color"] = "FFFFFF",
			["icon"] = "[[File:SHM Line 11 icon.svg|x24px|alt=]]",
			["left terminus"] = "Disney Resort",
			["right terminus"] = "North Jiading or Huaqiao",
			["types"] = {
				["main"] = {
					["title"] = "",
					["right terminus"] = "North Jiading",
				},
				["branch"] = {
					["title"] = "[[Line 11 (Shanghai Metro)#Branch line|branch]]",
					["right terminus"] = "Huaqiao",
				}
			}
		},
		["12"] = {
			["color"] = "007b63",
			["text color"] = "FFFFFF",
			["icon"] = "[[File:SHM Line 12 icon.svg|x24px|alt=]]",
			["left terminus"] = "Qixin Road",
			["right terminus"] = "Jinhai Road",
		},
		["13"] = {
			["color"] = "f293d1",
			["text color"] = "000000",
			["icon"] = "[[File:SHM Line 13 icon.svg|x24px|alt=]]",
			["left terminus"] = "Jinyun Road",
			["right terminus"] = "Zhangjiang Road",
		},
		["14"] = {
			["color"] = "7f7800",
			["text color"] = "FFFFFF",
			["icon"] = "[[File:SHM Line 14 icon.svg|x24px|alt=]]",
			["left terminus"] = "Fengbang",
			["right terminus"] = "Guiqiao Road",
		},
		["15"] = {
			["color"] = "bba786",
			["text color"] = "000000",
			["icon"] = "[[File:SHM Line 15 icon.svg|x24px|alt=]]",
			["left terminus"] = "Gucun Park",
			["right terminus"] = "Zizhu Hi-tech Park",
		},
		["16"] = {
			["color"] = "32d4cb",
			["text color"] = "000000",
			["icon"] = "[[File:SHM Line 16 icon.svg|x24px|alt=]]",
			["left terminus"] = "Longyang Road",
			["right terminus"] = "Dishui Lake",
		},
		["17"] = {
			["color"] = "b67770",
			["text color"] = "FFFFFF",
			["icon"] = "[[File:SHM Line 17 icon.svg|x24px|alt=]]",
			["left terminus"] = "Hongqiao Railway Station",
			["right terminus"] = "Oriental Land",
		},
		["18"] = {
			["color"] = "d6a461",
			["text color"] = "000000",
			["icon"] = "[[File:SHM Line 18 icon.svg|x24px|alt=]]",
			["left terminus"] = "South Changjiang Road",
			["right terminus"] = "Hangtou",
		},
		["19"] = {
			["color"] = "48864d",
			["text color"] = "FFFFFF",
			["left terminus"] = "Shanghai North Railway Station",
			["right terminus"] = "Hongjian Road",
		},
		["20"] = {
			["color"] = "15426b",
			["text color"] = "FFFFFF",
			["left terminus"] = "Jinchang Road",
			["right terminus"] = "Gongqing Forest Park",
		},
		["21"] = {
			["color"] = "d6c66c",
			["text color"] = "000000",
			["left terminus"] = "Dongjing Road",
			["right terminus"] = "Liuchen Road",
		},
		["23"] = {
			["color"] = "e0815e",
			["text color"] = "FFFFFF",
			["left terminus"] = "Shanghai Stadium",
			["right terminus"] = "Minhang Development Zone",
		},
		["Jinshan"] = {
			["title"] = "[[Jinshan railway]]",
			["color"] = "11385b",
			["text color"] = "FFFFFF",
			["left terminus"] = "Shanghai South",
			["right terminus"] = "Jinshanwei",
		},
		["Pujiang"] = {
			["title"] = "[[Pujiang line]]",
			["color"] = "999999",
			["icon"] = "[[File:SHM Line PJ icon.svg|x24px|alt=]]",
			["text color"] = "FFFFFF",
			["left terminus"] = "Shendu Highway",
			["right terminus"] = "Huizhen Road",
		},
		["Maglev"] = {
			["title"] = "[[Shanghai maglev train]]",
			["color"] = "009090",
			["text color"] = "FFFFFF",
			["left terminus"] = "Longyang Road",
			["right terminus"] = "Pudong International Airport",
		},
		["Pudong"] = {
			["title"] = "[[Pudong railway]]",
			["color"] = "11385b",
			["text color"] = "FFFFFF",
			["left terminus"] = "Jinshan Industrial Park",
			["right terminus"] = "Luchaogang",
		},
		["Chongming"] = {
			["title"] = "[[Chongming line]]",
			["color"] = "6bb392",
			["text color"] = "FFFFFF",
			["left terminus"] = "Jinji Road",
			["right terminus"] = "Yu'an",
		},
		["10b"] = {
			["title"] = "[[Category:Pages using Shanghai Metro with unexpected input]]",
			["color"] = "[[Category:Pages using Shanghai Metro with unexpected input]]",
			["left terminus"] = "[[Category:Pages using Shanghai Metro with unexpected input]]",
			["right terminus"] = "[[Category:Pages using Shanghai Metro with unexpected input]]",
		},
		["10b"] = {
			["title"] = "[[Category:Pages using Shanghai Metro with unexpected input]]",
			["color"] = "[[Category:Pages using Shanghai Metro with unexpected input]]",
			["left terminus"] = "[[Category:Pages using Shanghai Metro with unexpected input]]",
			["right terminus"] = "[[Category:Pages using Shanghai Metro with unexpected input]]",
		},
		["P"] = {
			["title"] = "[[Category:Pages using Shanghai Metro with unexpected input]]",
			["color"] = "[[Category:Pages using Shanghai Metro with unexpected input]]",
			["left terminus"] = "[[Category:Pages using Shanghai Metro with unexpected input]]",
			["right terminus"] = "[[Category:Pages using Shanghai Metro with unexpected input]]",
		},
		["PU"] = {
			["title"] = "[[Category:Pages using Shanghai Metro with unexpected input]]",
			["color"] = "[[Category:Pages using Shanghai Metro with unexpected input]]",
			["left terminus"] = "[[Category:Pages using Shanghai Metro with unexpected input]]",
			["right terminus"] = "[[Category:Pages using Shanghai Metro with unexpected input]]",
		},
	},
	["aliases"] = {
		["jinshan"] = "Jinshan",
		["js"] = "Jinshan",
		["j"] = "Jinshan",
		["pujiang"] = "Pujiang",
		["pj"] = "Pujiang",
		["maglev"] = "Maglev",
		["ml"] = "Maglev",
		["m"] = "Maglev",
		["pudong"] = "Pudong",
		["p"] = "P",
		["pu"] = "PU"
	}
}

return p