Module:Adjacent stations/China Railway

Documentation for this module may be created at Module:Adjacent stations/China Railway/doc

local jiangxi = "%1 railway station (Jiangxi)"
local x = "%1 station"
local y = "%1 railway station (Yunnan)"

local p = {
	["system title"] = "[[China Railway]]",
	["system icon"] = "[[File:China Railways.svg|x15px|link=China Railway]]",
	["system color"] = "000",
	["station format"] = {
		"%1 railway station",
		
		["Futian"] = x,
		["Hung Hom"] = "Hung Hom station",
		["Jiulong (Kowloon)"] = "[[Hung Hom station|Hung Hom]]",
		["Changping"] =
		{
			"Changping railway station (Beijing)",
			["Beijing–Kowloon"] = "Changping railway station (Guangdong)",
			["Guangzhou–Shenzhen"] = "Changping railway station (Guangdong)"
		},
		["Dongyuan"] = "[[Dongyuan railway station (Beijing)|Dongyuan]]",
		["Dongguan (Guangdong)"] = "[[Dongguan railway station (Guangdong)|Dongguan]]",
		["Dongguan (Zhejiang)"] = "[[Dongguan railway station (Zhejiang)|Dongguan]]",
		["Fuyang (Anhui)"] = "[[Fuyang railway station (Anhui)|Fuyang]]",
		["Gushan (Hunan)"] = "[[Gushan railway station (Hunan)|Gushan]]",
		["Gushan (Shanxi)"] = "[[Gushan railway station (Shanxi)|Gushan]]",
		["Heping (Guangdong)"] = "[[Heping railway station (Guangdong)|Heping]]",
		["Huai'an (Hebei)"] = "[[Huai'an railway station (Hebei)|Huai'an]]",
		["Huai'an (Jiangsu)"] = "[[Huai'an railway station (Jiangsu)|Huai'an]]",
		["Hukou"] = jiangxi,
		["Ji'an"] = jiangxi,
		["Jining (Inner Mongolia)"] = "[[Jining railway station (Inner Mongolia)|Jining]]",
		["Jining (Shandong)"] = "[[Jining railway station (Shandong)|Jining]]",
		["Jinzhou"] = {
			["Beijing–Harbin"] = "[[Jinzhou railway station (Jinzhou)|Jinzhou]]"
		},
		["Liantang"] = jiangxi,
		["Longnan (Gansu)"] = "[[Longnan railway station (Gansu)|Longnan]]",
		["Longnan (Jiangxi)"] = "[[Longnan railway station (Jiangxi)|Longnan]]",
		["Longxi (Gansu)"] = "[[Longxi railway station (Gansu)|Longxi]]",
		["Mengyuan (Shaanxi)"] = "[[Mengyuan railway station (Shaanxi)|Mengyuan]]",
		["Nanjing (Fujian)"] = "[[Nanjing railway station (Fujian)|Nanjing]]",
		["Qingyuan (Guangdong)"] ="[[Qingyuan railway station|Qingyuan]]",
		["Qingyuan (Zhejiang)"] = "[[Qingyuan railway station (Zhejiang)|Qingyuan]]",
		["Suzhou (Anhui)"] = "[[Suzhou railway station (Anhui)|Suzhou]]",
		["Taian (Liaoning)"] = "[[Tai'an railway station (Liaoning)|Tai'an]]",
		["Tai'an (Liaoning)"] = "[[Tai'an railway station (Liaoning)|Tai'an]]",
		["Taian (Shandong)"] = "[[Tai'an railway station (Shandong)|Tai'an]]",
		["Taiyuan"] = "[[Taiyuan railway station (Shanxi)|Taiyuan]]",
		["Tai'an (Shandong)"] = "[[Tai'an railway station (Shandong)|Tai'an]]",
		["Taizhou (Zhejiang)"] = "[[Taizhou railway station (Zhejiang)|Taizhou]]",
		["Xinfeng"] = jiangxi,
		["Xinzhuang (Shanghai)"] = "[[Xinzhuang railway station (Shanghai)|Xinzhuang]]",
		["Xinzhuang"] = {
			x, -- requires DAB
			["Shanghai–Kunming"] = "[[Xinzhuang railway station (Shanghai)|Xinzhuang]]",
			["Jinshan"] = "[[Xinzhuang railway station (Shanghai)|Xinzhuang]]"
		},
		["Yiyang (Hunan)"] = "[[Yiyang railway station (Hunan)|Yiyang]]",
		["Yiyang (Jiangxi)"] = "[[Yiyang railway station (Jiangxi)|Yiyang]]",
		["Yongle"] = "[[Yongle railway station (Beijing)|Yongle]]",
		["Yuncheng (Shandong)"] = "[[Yuncheng railway station (Shandong)|Yuncheng]]",
		["Yuncheng (Shanxi)"] = "[[Yuncheng railway station (Shanxi)|Yuncheng]]",
        ["Yuxi"] = y,
		["Zhangjiakou"] = "[[Zhangjiakou railway station (opened in 1957)|Zhangjiakou]]",
	},
	["lines"] = {
		["_default"] = {
			["title"] = "[[%1 railway]]",
			["color"] = "000",
		},
	    ["Altay–Fuyun–Zhundong"] = {
	    	["left terminus"] = "Altay",
			["right terminus"] = "Zhundong"
		},
		["Anhui–Jiangxi"] = {
			["left terminus"] = "Wuhu",
			["right terminus"] = "Yingtan"
		},
		["Baoji–Chengdu"] = {
			["left terminus"] = "Baoji",
			["right terminus"] = "Chengdu"
		},
		["Baotou–Lanzhou"] = {
			["left terminus"] = "Baotou East",
			["right terminus"] = "Lanzhou"
		},
	    ["Beijing underground cross-city"] = {
	    	["left terminus"] = "Beijing West",
	    	["right terminus"] = "Beijing"
	    },
		["Beijing–Baotou"] = {
			["left terminus"] = "Beijing North",
			["right terminus"] = "Baotou"
		},
		["Beijing–Qinhuangdao"] = {
			["left terminus"] = "Beijing",
			["right terminus"] = "Qinhuangdao"
		},
		["Beijing–Zhangjiakou intercity"] = {
			["left terminus"] = "Beijing North",
			["right terminus"] = {"Zhangjiakou","Yanqing","Taizicheng"},
		},
		["Beijing–Chengde"] = {
			["left terminus"] = "Beijing",
			["right terminus"] = "Chengde"
		},
		["Beijing–Guangzhou"] = {
			["left terminus"] = {"Beijing", "Beijing West"},
			["right terminus"] = "Guangzhou"
		},
		["Beijing–Harbin"] = {
			["left terminus"] = "Beijing",
			["right terminus"] = "Harbin"
		},
		["Beijing–Kowloon"] = {
			["left terminus"] = "Beijing West",
			["right terminus"] = "Hung Hom"
		},
		["Beijing–Shanghai"] = {
			["left terminus"] = "Beijing",
			["right terminus"] = "Shanghai"
		},
		["Beijing–Shanhaiguan"] = {
			["left terminus"] = "Beijing",
			["right terminus"] = "Shanhaiguan"
		},
		["Beijing–Tongliao"] = {
			["left terminus"] = "Shahe", -- Beijing North
			["right terminus"] = "Tongliao",
		},
		["Changchun–Baicheng"] = {
			["left terminus"] = "Changchun",
			["right terminus"] = "Baicheng",
		},
		["Chengdu–Chongqing"] = {
			["left terminus"] = "Chengdu",
			["right terminus"] = "Chongqing",
		},
		["Chengdu West ring"] = {
			["left terminus"] = "Chengdu",
			["right terminus"] = "Chengdu South"
		},
		["Chengdu–Kunming"] = {
			["left terminus"] = "Chengdu",
			["right terminus"] = "Kunming"
		},
		["Chongqing–Huaihua"] = {
			["left terminus"] = "Chongqing North",
			["right terminus"] = "Huaihua"
		},
		["Chongqing–Lanzhou"] = {
			["left terminus"] = {"Chongqing North", "Chongqing West"},
			["right terminus"] = "Lanzhou"
		},
		["Datong–Puzhou"] = {
			["left terminus"] = "Datong",
			["right terminus"] = "Mengyuan (Shaanxi)"
		},
		["Dazhou–Chengdu"] = {
			["left terminus"] = "Dazhou",
			["right terminus"] = "Chengdu"
		},
		["Fuyang–Lu'an"] = {
			["left terminus"] = "Fuyang (Anhui)",
			["right terminus"] = "Lu'an"
		},
		["Ganzhou–Longyan"] = {
			["left terminus"] = "Ganzhou",
			["right terminus"] = "Longyan"
		},
		["Ganzhou–Shaoguan"] = {
			["left terminus"] = "Ganzhou",
			["right terminus"] = "Shaoguan East"
		},
		["Guizhou–Guangxi"] = {
			["left terminus"] = "Guiyang",
			["right terminus"] = "Liuzhou"
		},
		["Guangzhou–Maoming"] = {
			["left terminus"] = "Guangzhou",
			["right terminus"] = "Maoming West"
		},
		["Guangzhou–Meizhou–Shantou"] = {
			["left terminus"] = "Guangzhou East",
			["right terminus"] = "Shantou"
		},
		["Guangzhou–Shenzhen"] = { -- slow tracks
			["left terminus"] = "Guangzhou",
			["right terminus"] = "Shenzhen"
		},
		["Hai'an–Rudong"] = {
			["left terminus"] = "Hai'an",
			["right terminus"] = "Rudong"
		},
		["Hankou–Danjiangkou"] = {
			["left terminus"] = {"Hankou", "Wuchang"},
			["right terminus"] = "Danjiang"
		},
		["Harbin–Bei'an"] = {
			["left terminus"] = {"Harbin", "Harbin East"},
			["right terminus"] = "Bei'an"
		},
		["Harbin–Dalian"] = {
			["left terminus"] = "Harbin",
			["right terminus"] = "Dalian"
		},
		["Harbin–Manzhouli"] = {
			["left terminus"] = "Harbin",
			["right terminus"] = "Zabaykalsk"
		},
		["Harbin–Suifenhe"] = {
			["left terminus"] = "Harbin",
			["right terminus"] = "Suifenhe"
		},
		["Hefei–Jiujiang"] = {
			["left terminus"] = "Hefei",
			["right terminus"] = "Jiujiang"
		},
		["Hengfeng–Nanping"] = {
			["left terminus"] = "Hengfeng",
			["right terminus"] = "Yanping East"
		},
		["Jiaozhou–Xinyi"] = {
			["left terminus"] = "Jiaozhou",
			["right terminus"] = "Xinyi"
		},
		["Jiaozuo–Liuzhou"] = {
			["left terminus"] = "Jiaozuo",
			["right terminus"] = "Liuzhou"
		},
		["Jinhua–Qiandaohu"] = {
			["left terminus"] = "Jinhua",
			["right terminus"] = "Qiandaohu"
		},
		["Jinhua–Taizhou"] = {
			["left terminus"] = "Yongkang South",
			["right terminus"] = "Taizhou West"
		},
		["Jinhua–Wenzhou"] = {
			["left terminus"] = "Jinhua",
			["right terminus"] = "Wenzhou"
		},
		["Jinshan"] = {
			["left terminus"] = "Shanghai South",
			["right terminus"] = "Jinshanwei"
		},
		["Jiujiang–Quzhou"] = {
			["left terminus"] = "Jiujiang",
			["right terminus"] = "Quzhou"
		},
		["Kashgar–Hotan"] = {
			["left terminus"] = "Kashgar",
			["right terminus"] = "Hotan"
		},
		["Kunming–Yuxi–Hekou"] = {
			["left terminus"] = "Kunming South",
			["right terminus"] = "Hekou"
		},
		["Kuytun–Beitun"] = {
			["left terminus"] = "Kuytun",
			["right terminus"] = "Altay"
		},
		["Lafa–Harbin"] = {
			["left terminus"] = "Lafa",
			["right terminus"] = "Harbin"
		},
		["Lanzhou–Qinghai"] = {
			["left terminus"] = "Lanzhou",
			["right terminus"] = "Xining"
		},
	    ["Lanzhou–Xinjiang"] = {
			["left terminus"] = "Lanzhou",
			["right terminus"] = "Ürümqi South"
		},
		["Lhasa–Nyingchi"] = {
			["left terminus"] = "Lhasa",
			["right terminus"] = "Nyingchi"
		},
		["Lhasa–Xigazê"] = {
			["left terminus"] = "Lhasa",
			["right terminus"] = "Xigazê"
		},
		["Longhai"] = {
			["left terminus"] = "Lianyungang East",
			["right terminus"] = "Lanzhou"
		},
		["Longyan–Xiamen"] = {
			["left terminus"] = "Longyan",
			["right terminus"] = "Xiamen"
		},
		["Mengmiao–Baofeng"] = {
			["left terminus"] = "Luohe",
			["right terminus"] = "Baofeng"
		},
		["Nanjing–Qidong"] = {
			["left terminus"] = "Nanjing",
			["right terminus"] = "Nantong"
		},
	    ["Nanjing–Xi'an"] = {
			["left terminus"] = "Nanjing",
			["right terminus"] = "Xi'an"
		},
	    ["Nanning–Kunming"] = {
			["left terminus"] = "Nanning",
			["right terminus"] = "Kunming"
		},
	    ["Nanping–Fuzhou"] = {
			["left terminus"] = "Laizhou",
			["right terminus"] = "Fuzhou"
		},
		["Northern Xinjiang"] = {
			["left terminus"] = "Ürümqi",
			["right terminus"] = "Alashankou"
		},
		["Pinghu–Nanshan"] = {
			["left terminus"] = "Pinghu",
			["right terminus"] = "Shenzhen West"
		},
		["Pinghu–Yantian"] = {
			["left terminus"] = "Pinghu",
			["right terminus"] = "Yantian"
		},
		["Pucheng–Meizhou"] = {
			["left terminus"] = "Pucheng",
			["right terminus"] = "Meizhou"
		},
		["Pudong"] = {
			["left terminus"] = "Jinshan Industrial Park",
			["right terminus"] = "Luchaogang"
		},
		["Qianjiang–Changde"] = {
			["left terminus"] = "Qianjiang",
			["right terminus"] = "Changde"
		},
		["Qinghai–Tibet"] = {
			["left terminus"] = "Xining",
			["right terminus"] = "Lhasa"
		},
		["Qiqihar–Bei'an"] = {
			["left terminus"] = "Qiqihar",
			["right terminus"] = "Bei'an"
		},
		["Quzhou–Ningde"] = {
			["left terminus"] = "Quzhou",
			["right terminus"] = "Ningde"
		},
		["Shanghai–Kunming"] = {
			["left terminus"] = {"Shanghai", "Shanghai South"},
			["right terminus"] = "Kunming"
		},
		["Shenyang–Dalian"] = {
			["left terminus"] = "Shenyang North",
			["right terminus"] = "Dalian East"
		},
		["Shenyang–Jilin"] = {
			["left terminus"] = "Shenyang",
			["right terminus"] = "Jilin"
		},
		["Shenyang–Shanhaiguan"] = {
			["left terminus"] = "Shenyang",
			["right terminus"] = "Shanhaiguan"
		},
		["Shimen–Changsha"] = {
			["left terminus"] = "Shimenxian North",
			["right terminus"] = "Changsha"
		},
		["Shijiazhuang–Taiyuan"] = {
			["left terminus"] = "Shijiazhuang",
			["right terminus"] = "Taiyuan"
		},
		["Southern Xinjiang"] = {
			["left terminus"] = "Turpan",
			["right terminus"] = "Kashgar"
		},
		["Taiyuan–Jiaozuo"] = {
			["left terminus"] = "Taiyuan",
			["right terminus"] = "Jiaozuo"
		},
		["Tianjin–Jizhou"] = {
			["left terminus"] = "Tianjin",
			["right terminus"] = "Jizhou North"
		},
		["Tianjin–Shanhaiguan"] = {
			["left terminus"] = "Tianjin",
			["right terminus"] = "Shanhaiguan"
		},
		["Tongliao–Ranghulu"] = {
			["left terminus"] = "Tongliao",
			["right terminus"] = "Daqing West"
		},
		["Tongling–Jiujiang"] = {
			["left terminus"] = "Tongling",
			["right terminus"] = "Jiujiang"
		},
		["Wuhan–Jiujiang"] = {
			["left terminus"] = "Wuchang",
			["right terminus"] = "Lushan"
		},
		["Xi'an–Pingliang"] = {
			["left terminus"] = "Xi'an",
			["right terminus"] = "Pingliang"
		},
		["Xiangyang–Chongqing"] = {
			["left terminus"] = "Xiangyang",
			["right terminus"] = "Chongqing"
		},
		["Xiaoshan–Ningbo"] = {
			["left terminus"] = "Hangzhou South",
			["right terminus"] = "Ningbo"
		},
		["Xingguo–Quanzhou"] = {
			["left terminus"] = "Xingguo",
			["right terminus"] = "Quanzhou"
		},
		["Xinxiang–Yanzhou"] = {
			["left terminus"] = "Xinxiang",
			["right terminus"] = "Yanzhou"
		},
		["Xinxiang–Yueshan"] = {
			["left terminus"] = "Xinxiang",
			["right terminus"] = "Yueshan"
		},
		["Xinyi–Changxing"] = {
			["left terminus"] = "Xinyi",
			["right terminus"] = "Changxing South"
		},
		["Xuancheng–Hangzhou"] = {
			["left terminus"] = "Xuancheng",
			["right terminus"] = "Hangzhou"
		},
		["Yangpingguan–Ankang"] = {
			["left terminus"] = "Yangpingguan",
			["right terminus"] = "Ankang"
		},
		["Yanzhou–Shijiusuo"] = {
			["left terminus"] = "Yanzhou",
			["right terminus"] = "Rizhao"
		},
		["Zhangping–Longchuan"] = {
			["left terminus"] = "Zhangping",
			["right terminus"] = "Longchuan"
		},
		["Boten–Vientiane"] = {
			["color"] = "FF0000",
			["left terminus"] = "Boten",
			["right terminus"] = "Vientiane South"
		},
		["Yuxi–Mohan"] = {
			["left terminus"] = "Yuxi",
			["right terminus"] = "Mohan"
		},
		["High-Speed"] = {
			["title"] = "",
			["color"] = "11385b"
		}
	},
	["aliases"] = {
		["guangmeishan"] = "Guangzhou–Meizhou–Shantou",
		["chengdu west ring"] = "Chengdu West ring",
		["passenger"] = "High-Speed",
		["intercity"] = "High-Speed",
		["high-speed"] = "High-Speed"
	}
}

return p