Module:Adjacent stations/Hangzhou Metro

Documentation for this module may be created at Module:Adjacent stations/Hangzhou Metro/doc

local m = "%1 station (Hangzhou Metro)"
local hze = "[[Hangzhou East railway station|East Railway Station]]"
local hzw = "[[Hangzhou West railway station|West Railway Station]]"
local hzs = "[[Hangzhou South railway station|South Railway Station]]"
local ps = "[[People's Square station (Hangzhou Metro)|People's Square]]"
local ls = "[[Linping South railway station|Linpingnan Railway Station]]"
local hw = "[[Haining West railway station|Hainingxi Railway Station]]"

local p = {
	["system title"] = "[[Hangzhou Metro]]",
	["system color"] = "bbbbbb",
	["station format"] = {
		"%1 station",
		["Binhe Road"] = m,
		["Changhe"] = m,
		["Daguan"] = m,
		["Expo Center"] = m,
		["Fuxing Road"] = m,
		["Gaoqiao"] = m,
		["Haichang Road"] = m,
		["Jianghan Road"] = m,
		["Jinji Road"] = m,
		["Jinxing"] = m,
		["Liangzhu"] = m,
		["Nanfeng"] = m,
		["Nanhu"] = m,
		["Olympic Sports Center"] = m,
		["Qibao"] = m,
		["Renhe"] = m,
		["Shuangqiao"] = m,
		["Wuchang"] = m,
		["Xintang"] = m,
		["Xueyuan Road"] = m,
		["Yinhu"] = m,
		["Zhongcun"] = m,
		["Hangzhou East"] = hze,
		["East Railway Station"] = hze,
		["East Railway Station (East Square)"] = "[[East Railway Station (East Square) station|East Railway Station (East Square)]]",
		["Hangzhou West"] = hzw,
		["West Railway Station"] = hzw,
		["Hangzhou South"] = hzs,
		["South Railway Station"] = hzs,
		["Lüting Road"] = "[[Lvting Road station|Lvting Road]]",
		["People Square"] = ps,
		["People's Square"] = ps,
		["Yuhang"] = ls,
		["Yuhang Railway Station"] = ls,
		["Yuhang Hi-Railway Station"] = ls,
		["Linpingnan"] = ls,
		["Linpingnan Railway Station"] = ls,
		["Linping South"] = ls,
		["Linping South Railway Station"] = ls,
		["Hainingxi"] = hw,
		["Hainingxi Railway Station"] = hw,
		["Haining West"] = hw,
		["Haining West Railway Station"] = hw,
		["West Guihua Road or Shuangpu"] = "[[West Guihua Road station|West Guihua Road]] or [[Shuangpu station|Shuangpu]]",
		["Wushanqiancun or Shima"] = "[[Wushanqiancun station|Wushanqiancun]] or [[Shima station|Shima]]",
		["West Wenyi Road or Shima"] = "[[West Wenyi Road station|West Wenyi Road]] or [[Shima station|Shima]]",
},
	["lines"] = {
		["_default"] = {
			["color"] = "bbbbbb",
			["title"] = "[[Line %1 (Hangzhou Metro)|Line %1]]"
		},
 		["1"] = {
			["color"] = "DF4661",
			["left terminus"] = "Xianghu",
			["right terminus"] = "Xiaoshan International Airport"
		},
		["2"] = {
			["color"] = "F1803A",
			["left terminus"] = "Liangzhu",
			["right terminus"] = "Chaoyang"
		},
		["3"] = {
			["color"] = "FFCD00",
			["left terminus"] = {"Wushanqiancun", "Shima"},
			["right terminus"] = "Xingqiao"
		},
		["4"] = {
			["color"] = "6CC24A",
			["left terminus"] = "Chihua Street",
			["right terminus"] = "Puyan"
		},
		["5"] = {
			["color"] = "00AEC7",
			["left terminus"] = "Jinxing",
			["right terminus"] = "Guniangqiao"
		},
		["6"] = {
			["color"] = "0072ce",
			["left terminus"] = {"West Guihua Road", "Shuangpu"},
			["right terminus"] = "Goujulong"
		},
		["6b"] = {
			["title"] = "[[Line 6 (Hangzhou Metro)|Line 6]]",
			["color"] = "0072ce",
			["left terminus"] = "Shuangpu",
			["right terminus"] = "Goujulong"
		},
		["7"] = {
			["color"] = "87189d",
			["left terminus"] = "Wushan Square",
			["right terminus"] = "Jiangdong'er Road"
		},
		["8"] = {
			["color"] = "ac145a",
			["left terminus"] = "South Wenhai Road",
			["right terminus"] = "Xinwan Road"
		},
		["9"] = {
			["color"] = "be4d00",
			["left terminus"] = "Guanyintang",
			["right terminus"] = "Long'an"
		},
		["10"] = {
			["color"] = "daaa00",
			["left terminus"] = "Huanglong Sports Center",
			["right terminus"] = "Yisheng Road"
		},
		["16"] = {
			["color"] = "FFB25B",
			["left terminus"] = "Jiuzhou Street",
			["right terminus"] = "Lvting Road"
		},
		["19"] = {
			["color"] = "05C3DE",
			["left terminus"] = "Tiaoxi",
			["right terminus"] = "Yongsheng Road"
		},
		["Hanghai"] = {
			["title"] = "[[Hanghai line]]",
			["color"] = "0077c8",
			["left terminus"] = "Linping South Railway Station",
			["right terminus"] = "International Campus, ZJU"
		},
	},
	["aliases"] = {
		["airport"] = "19",
		["airport express"] = "19",
		["a"] = "19",
		["k1"] = "19",
		["Airport Express"] = "19",
		["31"] = "19",
		["la"] = "16",
		["l"] = "16",
		["lin'an"] = "16",
		["Hangzhou–Haining"] = "Hanghai",
		["hn"] = "Hanghai",
		["h"] = "Hanghai",
		["fuyang"] = "6",
		["fy"] = "6",
		["f"] = "6",
		["1b"] = "9",
		["3b"] = "3"
	}
}

return p