Module:Adjacent stations/Beijing Subway

Documentation for this module may be created at Module:Adjacent stations/Beijing Subway/doc

local bjs = "[[%1 station (Beijing Subway)|%1]]"
local brws = "[[Beijing railway station#Beijing Subway|Beijing railway station]]"
local bsrws = "[[Beijing South railway station#Beijing Subway|Beijing South railway station]]"
local bwrws = "[[Beijing West railway station#Beijing Subway|Beijing West railway station]]"
local berws = "[[Beijing East railway station#Beijing Subway|Beijing East railway station]]"
local frws = "[[Beijing Fengtai railway station#Beijing Subway|Fengtai railway station]]"
local hrws = "[[Huangcun railway station#Beijing Subway|Huangcun railway station]]"
local qrws = "[[Qinghe railway station#Beijing Subway|Qinghe railway station]]"
local scrws = "[[Beijing Sub-Center railway station|Sub-Center railway station]]"
local bcrws = "[[Beijing Chaoyang railway station#Beijing Subway|Beijing Chaoyang railway station]]"
local yrws = "[[Yizhuang railway station#Beijing Subway|Yizhuang railway station]]"

local p = {
	["system title"] = "[[Beijing Subway]]",
	["system icon"] = "[[File:Beijing_Subway_simplified_logo.svg|20px|link=Beijing Subway]]",
	["system color"] = "bbbbbb",
	["station format"] = {
		"%1 station",
		--Railway stations
		["Beijing"] = brws,
		["Beijing railway"] = brws,
		["Beijing railway station"] = brws,
		["Beijing Railway Station"] = brws,
		["Beijing South"] = bsrws,
		["Beijing South railway"] = bsrws,
		["Beijingnan"] = bsrws,
		["Beijing South railway station"] = bsrws,
		["Beijing South Railway Station"] = bsrws,
		["Beijing West"] = bwrws,
		["Beijing West railway"] = bwrws,
		["Beijing West Railway"] = bwrws,
		["Beijingxi"] = bwrws,
		["Beijing West railway station"] = bwrws,
		["Beijing West Railway Station"] = bwrws,
		["Beijing East"] = berws,
		["Beijing East railway"] = berws,
		["Beijing East Railway"] = berws,
		["Beijingdong"] = berws,
		["Beijing East railway station"] = berws,
		["Beijing East Railway Station"] = berws,
		["Fengtai"] = frws,
		["Fengtai railway"] = frws,
		["Fengtai railway station"] = frws,
		["Fengtai Railway Station"] = frws,
		["Huangcun"] = hrws,
		["Huangcun railway"] = hrws,
		["Huangcun railway station"] = hrws,
		["Huangcun Railway Station"] = hrws,
		["Qing He"] = qrws,
		["Qinghe"] = qrws,
		["Qinghe railway"] = qrws,
		["Qinghe railway station"] = qrws,
		["Qinghe Railway Station"] = qrws,
		["sub-center"] = scrws,
		["Sub-center"] = scrws,
		["Beijing Sub-center"] = scrws,
		["Beijing Sub-center railway"] = scrws,
		["Beijing Sub-center railway station"] = scrws,
		["Beijing Sub-center Railway Station"] = scrws,
		["Xinghuo"] = bcrws,
		["Xinghuo railway"] = bcrws,
		["Xinghuo railway station"] = bcrws,
		["Beijing Chaoyang"] = bcrws,
		["Beijing Chaoyang railway"] = bcrws,
		["Beijing Chaoyang railway station"] = bcrws,
		["Beijing Chaoyang Railway Station"] = bcrws,
		["Yizhuang"] = yrws,
		["Yizhuang railway"] = yrws,
		["Yizhuang railway station"] = yrws,
		["Yizhuang Railway Station"] = yrws,
		--Disambiguation
		["Heishitou"] = "[[Beijing Subway restricted stations|Heishitou]]",
		["Gaojing"] = "[[Beijing Subway restricted stations|Gaojing]]",
		["Beiyuan"] = bjs,
		["Botanical Garden"] = bjs,
		["Changping"] = bjs,
		["Chaoyangmen"] = bjs,
		["Ciqikou"] = bjs,
		["Dongfeng"] = bjs,
		["Dongwuyuan"] = bjs,
		["Fragrant Hills"] = bjs,
		["Fuxingmen"] = bjs,
		["Government Center"] = bjs,
		["Guomao"] = bjs,
		["Happy Valley"] = bjs,
		["Linhe"] = bjs,
		["Liyuan"] = bjs,
		["Olympic Park"] = bjs,
		["Olympic Sports Center"] = bjs,
		["Shahe"] = bjs,
		["Shilipu"] = bjs,
		["Shuangqiao"] = bjs,
		["Sports Center"] = bjs,
		["Taipingqiao"] = bjs,
		["Terminal 2"] = bjs,
		["Terminal 3"] = bjs,
		["Tuqiao"] = bjs,
		["Universal Resort"] = bjs,
		["Wan'an"] = bjs,
		["Xingcheng"] = bjs,
		["Xingong"] = bjs,
		["Xinjiekou"] = bjs,
		["Xiyuan"] = bjs,
		["Yanshan"] = bjs,
		["Yongfeng"] = bjs,
		["Zaoyuan"] = bjs,
		--Line 1
		["Gaojing"] = "[[Beijing Subway restricted stations|Gaojing]]",
		["Fu Shou Ling"] = "[[Fushouling station|Fushouling]]",
		["Pingguo Yuan"] = "[[Pingguoyuan station|Pingguoyuan]]",
		["Yuquanlu"] = "[[Yuquan Lu station|Yuquan Lu]]",
		["Wanshoulu"] = "[[Wanshou Lu station|Wanshou Lu]]",
		["Nanlishilu"] = "[[Nanlishi Lu station|Nanlishi Lu]]",
		["Tian'anmen West"] = "[[Tian'anmenxi station|Tian'anmenxi]]",
		["Tian'anmen East"] = "[[Tian'anmendong station|Tian'anmendong]]",
		["Yong'an Li"] = "[[Yong'anli station|Yong'anli]]",
		["Yonganli"] = "[[Yong'anli station|Yong'anli]]",
		["Dawanglu"] = "[[Dawang Lu station|Dawang Lu]]",
		["Si Hui"] = "[[Sihui station|Sihui]]",
		["Sihui East"] = "[[Sihuidong station|Sihuidong]]",
		["Si Hui Dong(E)"] = "[[Sihuidong station|Sihuidong]]",
		["Sihui Dong"] = "[[Sihuidong station|Sihuidong]]",
		--Line 2
		["Guloudajie"] = "[[Gulou Dajie station|Gulou Dajie]]",
		["Changchunjie"] = "[[Changchun Jie station|Changchun Jie]]",
		--Line 4
		["Anheqiao North"] = "[[Anheqiaobei station|Anheqiaobei]]",
		["Xi Yuan"] = "[[Xiyuan station (Beijing Subway)|Xiyuan]]",
		["East Gate of Peking University"] = "[[Peking Univ. East Gate station|Peking Univ. East Gate]]",
		["Haidianhuangzhuang"] = "[[Haidian Huangzhuang station|Haidian Huangzhuang]]",
		["Renmin University"] = "[[Renmin Daxue (Renmin Univ.) station|Renmin Daxue (Renmin Univ.)]]",
		["Ping'an Li"] = "[[Ping'anli station|Ping'anli]]",
		["Pinganli"] = "[[Ping'anli station|Ping'anli]]",
		["Jiaomen West"] = "[[Jiaomenxi station|Jiaomenxi]]",
		["Gongyixiqiao"] = "[[Gongyi Xiqiao station|Gongyi Xiqiao]]",
		--Line 5
		["Tiantongyuan North"] = "[[Tiantongyuanbei station|Tiantongyuanbei]]",
		["Tiantongyuan South"] = "[[Tiantongyuannan station|Tiantongyuannan]]",
		["Lishuiqiao South"] = "[[Lishuiqiaonan station|Lishuiqiaonan]]",
		["Beiyuanlu North"] = "[[Beiyuanlubei station|Beiyuanlubei]]",
		["Datunlu East"] = "[[Datunludong station|Datunludong]]",
		["Huixinxijie Beikou"] = "[[Huixin Xijie Beikou station|Huixin Xijie Beikou]]",
		["Huixinxijie Nankou"] = "[[Huixin Xijie Nankou station|Huixin Xijie Nankou]]",
		["Hepingxiqiao"] = "[[Heping Xiqiao station|Heping Xiqiao]]",
		["Zhangzizhonglu"] = "[[Zhangzizhong Lu station|Zhangzizhong Lu]]",
		["Tiantandongmen"] = "[[Temple of Heaven East Gate station|Temple of Heaven East Gate]]",
		--Line 6
		["Jin'an Qiao"] = "[[Jin'anqiao station|Jin'anqiao]]",
		["Jinanqiao"] = "[[Jin'anqiao station|Jin'anqiao]]",
		["Yang Zhuang"] = "[[Yangzhuang station|Yangzhuang]]",
		["Xihuang Cun"] = "[[Xihuangcun station|Xihuangcun]]",
		["Liaogong Zhuang"] = "[[Liaogongzhuang station|Liaogongzhuang]]",
		["Tian Cun"] = "[[Tiancun station|Tiancun]]",
		["Baishiqiao South"] = "[[Baishiqiaonan station|Baishiqiaonan]]",
		["Chegongzhuang West"] = "[[Chegongzhuangxi station|Chegongzhuangxi]]",
		["Beihai North"] = "[[Beihaibei station|Beihaibei]]",
		["Nanluoguxiang"] = "[[Nanluogu Xiang station|Nanluogu Xiang]]",
		["Jintailu"] = "[[Jintai Lu station|Jintai Lu]]",
		["Qingnianlu"] = "[[Qingnian Lu station|Qingnian Lu]]",
		["Wuzixueyuanlu"] = "[[Wuzi Xueyuan Lu station|Wuzi Xueyuan Lu]]",
		["Beiyunhe West"] = "[[Beiyunhexi station|Beiyunhexi]]",
		["Beiyunhe East"] = "[[Beiyunhedong station|Beiyunhedong]]",
		--Line 7
		["Happy Valley Scenic Area"] = "[[Happy Valley station (Beijing Subway)|Happy Valley]]",
		["Beijing Happy Valley"] = "[[Happy Valley station (Beijing Subway)|Happy Valley]]",
		["Huang Chang"] = "[[Huangchang station|Huangchang]]",
		["Lang Xin Zhuang"] = "[[Langxinzhuang station|Langxinzhuang]]",
		["Hei Zhuang Hu"] = "[[Heizhuanghu station|Heizhuanghu]]",
		["Wansheng West"] = "[[Wanshengxi station|Wanshengxi]]",
		["Wansheng Xi (West)"] = "[[Wanshengxi station|Wanshengxi]]",
		["Wansheng East"] = "[[Wanshengdong station|Wanshengdong]]",
		["Wansheng Dong (East)"] = "[[Wanshengdong station|Wanshengdong]]",
		["Qun Fang"] = "[[Qunfang station|Qunfang]]",
		["Gao Lou Jin"] = "[[Gaoloujin station|Gaoloujin]]",
		["Hua Zhuang"] = "[[Huazhuang station|Huazhuang]]",
		--Line 8
		["Yuzhilu"] = "[[Yuzhi Lu station|Yuzhi Lu]]",
		["South Gate of Forest Park"] = "[[Forest Park South Gate station|Forest Park South Gate]]",
		["Olympic Green"] = "[[Olympic Park station (Beijing Subway)|Olympic Park]]",
		["Andelibeijie"] = "[[Andeli Beijie station|Andeli Beijie]]",
		["Tian Qiao"] = "[[Tianqiao station|Tianqiao]]",
		["Muxi Yuan"] = "[[Muxiyuan station|Muxiyuan]]",
		["Haihu Tun"] = "[[Haihutun station|Haihutun]]",
		["Dahongmen South"] = "[[Dahongmennan station|Dahongmennan]]",
		["Dahongmen Nan (South)"] = "[[Dahongmennan station|Dahongmennan]]",
		["Donggao Di"] = "[[Donggaodi station|Donggaodi]]",
		["Huojianwanyuan"] = "[[Huojian Wanyuan station|Huojian Wanyuan]]",
		["Wufu Tang"] = "[[Wufutang station|Wufutang]]",
		--Line 9
		["Liuliqiao East"] = "[[Liuliqiaodong station|Liuliqiaodong]]",
		["Fengtainanlu"] = "[[Fengtai Nanlu station|Fengtai Nanlu]]",
		["Keyilu"] = "[[Keyi Lu station|Keyi Lu]]",
		--Line 10
		["Suzhoujie"] = "[[Suzhou Jie station|Suzhou Jie]]",
		["Zhichunlu"] = "[[Zhichun Lu station|Zhichun Lu]]",
		["Mudan Yuan"] = "[[Mudanyuan station|Mudanyuan]]",
		["Sanyuan Qiao"] = "[[Sanyuanqiao station|Sanyuanqiao]]",
		["Jintaixizhao"] = "[[Jintai Xizhao station|Jintai Xizhao]]",
		["Jiaomen East"] = "[[Jiaomendong station|Jiaomendong]]",
		["Jinsong"] = "[[Jingsong station|Jingsong]]",
		--Line 11
		["Xinshougang"] = "[[Xinshougang (Shougang Park) station|Xinshougang (Shougang Park)]]",
		["Xin Shougang"] = "[[Xinshougang (Shougang Park) station|Xinshougang (Shougang Park)]]",
		["Shougang Park"] = "[[Xinshougang (Shougang Park) station|Xinshougang (Shougang Park)]]",
		--Line 13
		["Bei Yuan"] = "[[Beiyuan station (Beijing Subway)|Beiyuan]]",
		["Wangjing West"] = "[[Wangjingxi station|Wangjingxi]]",
		--Line 14
		["Lizeshangwuqu"] = "[[Lize Shangwuqu station|Lize Shangwuqu]]",
		["Lize Business District"] = "[[Lize Shangwuqu station|Lize Shangwuqu]]",
		["Beigongda Ximen"] = "[[Beijing Univ. of Tech. West Gate station|Beijing Univ. of Tech. West Gate]]",
		["Dongfengbeiqiao"] = "[[Dongfeng Beiqiao station|Dongfeng Beiqiao]]",
		["Gaojiayuan"] = "[[Gaojiayuan station|Gaojiayuan]]",
		["Wangjing South"] = "[[Wangjingnan station|Wangjingnan]]",
		["Shan'gezhuang"] = "[[Shangezhuang station|Shangezhuang]]",
		--Line 15
		["Qinghuadongluxikou"] = "[[Qinghua Donglu Xikou station|Qinghua Donglu Xikou]]",
		["Anlilu"] = "[[Anli Lu station|Anli Lu]]",
		["Wangjing East"] = "[[Wangjingdong station|Wangjingdong]]",
		["China International Exhibition Center"] = "[[China Int'l Exhibition Center station|China Int'l Exhibition Center]]",
		--Line 16
		["Beianhe"] = "[[Bei'anhe station|Bei'anhe]]",
		["Wenyanglu"] = "[[Wenyang Lu station|Wenyang Lu]]",
		["Daoxianghulu"] = "[[Daoxianghu Lu station|Daoxianghu Lu]]",
		["Yongfeng South"] = "[[Yongfengnan station|Yongfengnan]]",
		["Nongdananlu"] = "[[Nongda Nanlu station|Nongda Nanlu]]",
		["Wanquanhe Qiao"] = "[[Wanquanheqiao station|Wanquanheqiao]]",
		["Suzhou Qiao"] = "[[Suzhouqiao station|Suzhouqiao]]",
		["Wanshou Si"] = "[[Wanshousi station|Wanshousi]]",
		["Yuyuantan Park East Gate"] = "[[Yuyuantan Dongmen (Yuyuantan Park East Gate) station|Yuyuantan Dongmen (Yuyuantan Park East Gate)]]",
		["Yuyuantan Dongmen"] = "[[Yuyuantan Dongmen (Yuyuantan Park East Gate) station|Yuyuantan Dongmen (Yuyuantan Park East Gate)]]",
		--Line 17
		["Maizhuang"] = "[[Jiahuihu station|Jiahuihu]]",
		["Ciqu North"] = "[[Ciqubei station|Ciqubei]]",
		--Line 19
		["Jinrongjie"] = "[[Taipingqiao station (Beijing Subway)|Taipingqiao]]",
		["Jinrong Jie"] = "[[Taipingqiao station (Beijing Subway)|Taipingqiao]]",
		["Xin'gong"] = "[[Xingong station (Beijing Subway)|Xingong]]",
		["Xin Gong"] = "[[Xingong station (Beijing Subway)|Xingong]]",
		--Line S1
		["Sidao Qiao"] = "[[Sidaoqiao station|Sidaoqiao]]",
		--Batong line
		["Gao Bei Dian"] = "[[Gaobeidian station|Gaobeidian]]",
		["Ba Li Qiao"] = "[[Baliqiao station|Baliqiao]]",
		["Guo Yuan"] = "[[Guoyuan station|Guoyuan]]",
		["Jiu Ke Shu"] = "[[Jiukeshu station|Jiukeshu]]",
		["Li Yuan"] = "[[Liyuan station (Beijing Subway)|Liyuan]]",
		["Lin He Li"] = "[[Linheli station|Linheli]]",
		--Changping line
		["Shahe University Park"] = "[[Shahe Univ. Park station|Shahe Univ. Park]]",
		["Zhufang North"] = "[[Zhufangbei station|Zhufangbei]]",
		["Zhufang Bei (N)"] = "[[Zhufangbei station|Zhufangbei]]",
		--Daxing line
		["Gaomidian North"] = "[[Gaomidianbei station|Gaomidianbei]]",
		["Gaomidian South"] = "[[Gaomidiannan station|Gaomidiannan]]",
		["Qingyuanlu"] = "[[Qingyuan Lu station|Qingyuan Lu]]",
		["Tian'gongyuan"] = "[[Tiangongyuan station|Tiangongyuan]]",
		["Tiangong Yuan"] = "[[Tiangongyuan station|Tiangongyuan]]",
		--Fangshan line
		["Dongguantou South"] = "[[Dongguantounan station|Dongguantounan]]",
		["Liangxiang University Town North"] = "[[Liangxiang Univ. Town North station|Liangxiang Univ. Town North]]",
		["Liangxiang University Town"] = "[[Liangxiang Univ. Town station|Liangxiang Univ. Town]]",
		["Liangxiang University Town West"] = "[[Liangxiang Univ. Town West station|Liangxiang Univ. Town West]]",
		["Liangxiangnanguan"] = "[[Liangxiang Nanguan station|Liangxiang Nanguan]]",
		["Yancun East"] = "[[Yancundong station|Yancundong]]",
		--Xijiao line
		["Fragrant Hill"] = "[[Fragrant Hills station (Beijing Subway)|Fragrant Hills]]",
		["Xiangshan"] = "[[Fragrant Hills station (Beijing Subway)|Fragrant Hills]]",
		["West Gate of Summer Palace"] = "[[Summer Palace West Gate station|Summer Palace West Gate]]",
		--Yanfang line
		["Dashihe East"] = "[[Dashihedong station|Dashihedong]]",
		--Yizhuang T1 tram
		["Beijing Etrong IECC"] = "[[Beijing Etrong Int'l Exhibition & Convention Center station|Beijing Etrong Int'l Exhibition & Convention Center]]",
		--Yizhuang line
		["Wanyuanjie"] = "[[Wanyuan Jie station|Wanyuan Jie]]",
		["Rongjingdongjie"] = "[[Rongjing Dongjie station|Rongjing Dongjie]]",
		["Rongchangdongjie"] = "[[Rongchang Dongjie station|Rongchang Dongjie]]",
		["Tongjinanlu"] = "[[Tongji Nanlu station|Tongji Nanlu]]",
		["Tongji'nanlu"] = "[[Tongji Nanlu station|Tongji Nanlu]]",
		["Jinghailu"] = "[[Jinghai Lu station|Jinghai Lu]]",
		["Ciqu South"] = "[[Ciqunan station|Ciqunan]]",
		--miscellaneous
		["Airport"] = "[[Beijing Capital International Airport]]",
		["Beijing Capital International Airport"] = "[[Beijing Capital International Airport]]",
		["Guanzhuang15"] = "[[Guanzhuang station (Line 15)|Guanzhuang]]",
		["Guānzhuang"] = "[[Guanzhuang station (Line 15)|Guanzhuang]]",
		["Guanzhuangb"] = "[[Guaanzhuang station|Guaanzhuang]]",
		["Guǎnzhuang"] = "[[Guaanzhuang station|Guaanzhuang]]",
		["Guaan Zhuang"] = "[[Guaanzhuang station|Guaanzhuang]]",
		["Tuqiao (interchange)"] = "[[Tuqiao station|Tuqiao]]",
		["Sihui East or Tuqiao"] = "[[Sihuidong station|Sihuidong]] or [[Tuqiao station|Tuqiao]]",
		["Shacheng or Yanqing"] = "[[Shacheng railway station|Shacheng]] or [[Yanqing railway station|Yanqing]]",
	},
	["lines"] = {
		["_default"] = {
			["color"] = "bbbbbb",
		----["icon"] = "[[File:BJS Line %1 icon.svg|28px|link=Line %1 (Beijing Subway)]]",----
			["title"] = "[[Line %1 (Beijing Subway)|Line %1]]",
		},
		["Capital Airport Express"] = {
			["title"] = "[[Capital Airport Express]]",
			["color"] = "A192B2",
			["left terminus"] = "Beixinqiao",
			["right terminus"] = "Beijing Capital International Airport"
		},
  		["Changping"] = {
			["title"] = "[[Changping line]]",
			["color"] = "D986BA",
			["left terminus"] = "Changping Xishankou",
			["right terminus"] = "Xitucheng",
		},
		["Daxing Airport Express"] = {
			["title"] = "[[Daxing Airport Express]]",
			["color"] = "0049A5",
			["left terminus"] = "Caoqiao",
			["right terminus"] = "Daxing Airport",
		},
  		["Fangshan"] = {
			["title"] = "[[Fangshan line]]",
			["color"] = "D86018",
			["left terminus"] = "Dongguantounan",
			["right terminus"] = "Yancundong",
		},
  		["S1"] = {
			["color"] = "A45A2A",
			["left terminus"] = "Shichang",
			["right terminus"] = "Pingguoyuan",
		},
  		["Pinggu"] = {
			["title"] = "[[Pinggu line]]",
			["color"] = "F4C1CA",
			["left terminus"] = "Dongdaqiao",
			["right terminus"] = "Pinggu",
		},
  		["Xijiao"] = {
			["title"] = "[[Xijiao line]]",
			["color"] = "D22630",
			["left terminus"] = "Fragrant Hills",
			["right terminus"] = "Bagou",
		},
  		["Yanfang"] = {
			["title"] = "[[Yanfang line]]",
			["color"] = "D86018",
			["left terminus"] = "Yancundong",
			["right terminus"] = "Yanshan",
		},
  		["Yuquanlu"] = {
			["title"] = "[[Yuquanlu line]]",
			["color"] = "BBBBBB",
			["left terminus"] = "<span class='error'>error</span>[[Category:Pages using Beijing Subway with unsupported parameters]]",
			["right terminus"] = "<span class='error'>error</span>[[Category:Pages using Beijing Subway with unsupported parameters]]",
		},
  		["Yizhuang"] = {
			["title"] = "[[Yizhuang line]]",
			["color"] = "D0006F",
			["left terminus"] = "Songjiazhuang",
			["right terminus"] = "Yizhuang Railway Station",
		},
		["Yizhuang T1"] = {
			["title"] = "[[Yizhuang T1 line]]",
			["color"] = "D22630",
			["left terminus"] = "Quzhuang",
			["right terminus"] = "Dinghaiyuan",
		},
  		["1"] = {
			["color"] = "A4343A",
			["left terminus"] = "Gucheng",
			["right terminus"] = "Universal Resort",
		},
 		["Batong"] = {
			["title"] = "[[Batong line]] (through operation to [[Line 1 (Beijing Subway)|Line 1]])",
			["color"] = "A4343A",
			["left terminus"] = "Gucheng",
			["right terminus"] = "Universal Resort",
		},
  		["2"] = {
			["color"] = "004B87",
			["circular"] = 1,
			["left terminus"] = "outer loop / anticlockwise",
			["right terminus"] = "inner loop / clockwise",
		},
  		["3"] = {
			["color"] = "D90627",
			["left terminus"] = "Dongsi Shitiao",
			["right terminus"] = "Caogezhuang North",
		},
  		["4"] = {
			["color"] = "008C95",
			["left terminus"] = "Anheqiaobei",
			["right terminus"] = "Tiangongyuan",
		},
  		["Daxing"] = {
			["title"] = "[[Daxing line]] (through operation to [[Line 4 (Beijing Subway)|Line 4]])",
			["color"] = "008C95",
			["left terminus"] = "Anheqiaobei",
			["right terminus"] = "Tiangongyuan",
		},
  		["5"] = {
			["color"] = "AA0061",
			["left terminus"] = "Tiantongyuanbei",
			["right terminus"] = "Songjiazhuang",
		},
  		["6"] = {
			["color"] = "B58500",
			["left terminus"] = "Jin'anqiao",
			["right terminus"] = "Lucheng",
		},
  		["7"] = {
			["color"] = "FFC56E",
			["left terminus"] = "Beijing West Railway Station",
			["right terminus"] = "Universal Resort",
		},
  		["8"] = {
			["color"] = "009B77",
			["left terminus"] = "Zhuxinzhuang",
			["right terminus"] = "Yinghai",
		},
  		["9"] = {
			["color"] = "97D700",
			["left terminus"] = "National Library",
			["right terminus"] = "Guogongzhuang",
		},
  		["10"] = {
			["color"] = "0092BC",
			["circular"] = 1,
			["left terminus"] = "outer loop / anticlockwise",
			["right terminus"] = "inner loop / clockwise"
		},
  		["11"] = {
			["color"] = "FF8674",
			["left terminus"] = "Jin'anqiao",
			["right terminus"] = "Xinshougang",
		},
  		["12"] = {
			["color"] = "9C4F01",
			["left terminus"] = "Sijiqing",
			["right terminus"] = "Guanzhuangluxikou",
		},
  		["13"] = {
			["color"] = "F4DA40",
			["left terminus"] = "Xizhimen",
			["right terminus"] = "Dongzhimen",
		},
  		["14"] = {
			["color"] = "CA9A8E",
			["left terminus"] = "Zhangguozhuang",
			["right terminus"] = "Shangezhuang",
		},
  		["15"] = {
			["color"] = "653279",
			["left terminus"] = "Qinghuadongluxikou",
			["right terminus"] = "Fengbo",
		},
  		["16"] = {
			["color"] = "6BA539",
			["left terminus"] = "Bei'anhe",
			["right terminus"] = "Yushuzhuang",
		},
  		["17"] = {
			["color"] = "00ABAB",
			["left terminus"] = "Shilihe",
			["right terminus"] = "Jiahuihu",
		},
		["19"] = {
			["color"] = "D3A3C9",
			["left terminus"] = "Mudanyuan",
			["right terminus"] = "Xingong"
		},
		["28"] = {
			["color"] = "476205",
			["left terminus"] = "Dongdaqiao",
			["right terminus"] = "Guangqudonglu"
		},
  		["lb"] = {
			["title"] = "<span class='error'>error</span>[[Category:Pages using Beijing Subway with unsupported parameters]]",
			["color"] = "<span class='error'>error</span>[[Category:Pages using Beijing Subway with unsupported parameters]]",
			["left terminus"] = "<span class='error'>error</span>[[Category:Pages using Beijing Subway with unsupported parameters]]",
			["right terminus"] = "<span class='error'>error</span>[[Category:Pages using Beijing Subway with unsupported parameters]]",
		},
			["8o"] = {
			["title"] = "<span class='error'>error</span>[[Category:Pages using Beijing Subway with unsupported parameters]]",
			["color"] = "<span class='error'>error</span>[[Category:Pages using Beijing Subway with unsupported parameters]]",
			["left terminus"] = "<span class='error'>error</span>[[Category:Pages using Beijing Subway with unsupported parameters]]",
			["right terminus"] = "<span class='error'>error</span>[[Category:Pages using Beijing Subway with unsupported parameters]]",
		},
	},
	["aliases"] = {
		["l1"]="1",
		["l2"]="2",
		["2l"]="2",
		["l3"]="3",
		["l4"]="4",
		["l5"]="5",
		["l6"]="6",
		["l7"]="7",
		["l8"]="8",
		["l9"]="9",
		["l10"]="10",
		["l11"]="11",
		["l12"]="12",
		["l13"]="13",
		["l14"]="14",
		["l15"]="15",
		["l16"]="16",
		["l17"]="17",
		["l19"]="19",
		["b"] = "Batong",
		["bt"] = "Batong",
		["batong"] = "Batong",
		["ca"] = "Capital Airport Express",
		["capital airport"] = "Capital Airport Express",
		["c"] = "Changping",
		["cp"] = "Changping",
		["changping"] = "Changping",
		["a"] = "Capital Airport Express",
		["ap"] = "Capital Airport Express",
		["airport"] = "Capital Airport Express",
		["la"] = "Capital Airport Express",
		["daxingairport"] = "Daxing Airport Express",
		["daxing airport"] = "Daxing Airport Express",
		["dxa"] = "Daxing Airport Express",
		["da"] = "Daxing Airport Express",
		["newairport"] = "Daxing Airport Express",
		["new airport"] = "Daxing Airport Express",
		["na"] = "Daxing Airport Express",
		["d"]="Daxing",
		["dx"]="Daxing",
		["daxing"]="Daxing",
		["f"]="Fangshan",
		["fs"]="Fangshan",
		["fangshan"]="Fangshan",
		["m"]="S1",
		["maglev"]="S1",
		["mentougou"]="S1",
		["s1"]="S1",
		["22"]="Pinggu",
		["p"]="Pinggu",
		["pg"]="Pinggu",
		["pinggu"]="Pinggu",
		["x"]="Xijiao",
		["xj"]="Xijiao",
		["xijiao"]="Xijiao",
		["w"]="Xijiao",
		["western"]="Xijiao",
		["yf"]="Yanfang",
		["yanfang"]="Yanfang",
		["yq"]="Yuquanlu",
		["yuquanlu"]="Yuquanlu",
		["yz"]="Yizhuang",
		["yizhuang"]="Yizhuang",
		["yizhuangt1"]="Yizhuang T1",
		["t1"]="Yizhuang T1",
		["cbd"] = "28",
		["8n"] = "8",
		["8s"] = "8",
		["14w"] = "14",
		["14e"] = "14"
	}
}

return p