Module:Adjacent stations/Nanjing Metro

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

local njm = "[[%1 station (Nanjing Metro)|%1]]"

local nrws = "[[Nanjing railway station|Nanjing Railway Station]]"
local nsrws = "[[Nanjing South railway station|Nanjing South Railway Station]]"
local ywrws = "[[Yangzhou West railway station|Yangzhou West Railway Station]]"
local jr = "[[Jurong railway station (China)|Jurong]]" -- As of October 2022, the metro station is simply called "Jurong"
local hhuf = "[[Hohai University – Fochengxilu station|<abbr title=\"Hohai University\">HHU</abbr> / Fochengxilu]]"
local cpu = "[[China Pharmaceutical University station|<abbr title=\"China Pharmaceutical University\">CPU</abbr>]]"
local njci = "[[Nanjing Communications Institute of Technology station|<abbr title=\"Nanjing Communications Institute of Technology\">NJCI</abbr>]]"
local nfux = "[[Nanjing Forestry University – Xinzhuang station|<abbr title=\"Nanjing Forestry University\">NFU</abbr> / Xinzhuang]]"
local nmuj = "[[Nanjing Medical University – Jiangsu Institute of Economic and Trade Technology station|<abbr title=\"Nanjing Medical University\">NMU</abbr> / <abbr title=\"Jiangsu Institute of Economic and Trade Technology\">JIETT</abbr>]]"
local nuist = "[[Nanjing University of Information Science and Technology station|<abbr title=\"Nanjing University of Information Science and Technology\">NUIST</abbr>]]"
local nt = "[[Nanjing University of Technology station|<abbr title=\"Nanjing Tech University\">Nanjing Tech</abbr>]]"
local caochangmen = "[[Caochangmen – Nanjing University of the Arts – Jiangsu Second Normal University station|Caochangmen / <abbr title=\"Nanjing University of the Arts\">NUA</abbr> / <abbr title=\"Jiangsu Second Normal University\">JSSNU</abbr>]]"
local njx = "[[Nanjing University Xianlin Campus station|<abbr title=\"Nanjing University\">NJU</abbr> Xianlin Campus]]"
local seuc = "[[Southeast University Chengxian College station|<abbr title=\"Southeast University\">SEU</abbr> Chengxian College]]"
local seuj = "[[Southeast University Jiulonghu Campus station|<abbr title=\"Southeast University\">SEU</abbr> Jiulonghu Campus]]"
local xs = "[[Xuzhuang – Suning Headquarters station|Xuzhuang / Suning <abbr title=\"Headquarter\">HQ</abbr>]]"
local huf = "[[Hohai University – Fochengxilu station|Hohai University&nbsp;– Focheng&shy;xilu]]"
local oly = "[[Olympic Stadium station (Nanjing Metro)|Olympic Stadium]]"

local p = {
	["system icon"] = "",
	["system title"] = "[[Nanjing Metro]]",
	["system color"] = "bbbbbb",
	["station format"] = {
		"%1 station",
		["Nanjing"]=nrws,
		["Nanjing Railway"]=nrws,
		["Nanjing Railway Station"]=nrws,
		["Nanjing South"]=nsrws,
		["Nanjing South Railway"]=nsrws,
		["Nanjing South Railway Station"]=nsrws,
		["Jurong"]=jr,
		["Jurong Railway Station"]=jr,
		["Yangzhou West"]=ywrws,
		["Yangzhou West Railway"]=ywrws,
		["Yangzhou West Railway Station"]=ywrws,
		["Banqiao"]=njm,
		["Fengtainanlu"]=njm,
		["Gulou"]=njm,
		["Huayang"]=njm,
		["Huayuan"]=njm,
		["Huitonglu"]=njm,
		["Jing'an"]=njm,
		["Jinmalu"]=njm,
		["Lishui"]=njm,
		["Longtan"]=njm,
		["Nanhu"]=njm,
		["Shuanglong"]=njm,
		["Tangshan"]=njm,
		["Tianbao"]=njm,
		["Wangjiawan"]=njm,
		["Xinjiekou"]=njm,
		["Xuanwumen"]=njm,
		["Yuzui"]=njm,
		["Hohai University – Fochengxilu"]=hhuf,
		["Hohai University/Fochengxilu"]=hhuf,
		["HHU/Fochengxilu"]=hhuf,
		["HHU-Fochengxilu"]=hhuf,
		["HHU–Fochengxilu"]=hhuf,
		["HHU Fochengxilu"]=hhuf,
		["China Pharmaceutical University"]=cpu,
		["CPU"]=cpu,
		["Nanjing Communications Institute of Technology"]=njci,
		["NJCI"]=njci,
		["Nanjing Forestry University – Xinzhuang Station"]=nfux,
		["Nanjing Forestry University Xinzhuang"]=nfux,
		["NFU/Xinzhuang"]=nfux,
		["Nanjing Medical University - Jiangsu Institute of Economic & Trade Technology"]=nmuj,
		["Nanjing Medical University – Jiangsu Institute of Economic & Trade Technology"]=nmuj,
		["Nanjing Medical University - Jiangsu Institute of Economic and Trade Technology"]=nmuj,
		["Nanjing Medical University – Jiangsu Institute of Economic and Trade Technology"]=nmuj,
		["NMU/JIETT"]=nmuj,
		["NMU-JIETT"]=nmuj,
		["NMU–JIETT"]=nmuj,
		["NMU JIETT"]=nmuj,
		["Nanjing University of Information Science and Technology"]=nuist,
		["NUIST"]=nuist,
		["Nanjing University of Technology"]=nt,
		["Nanjing Tech"]=nt,
		["Caochangmen – Nanjing University of the Arts – Jiangsu Second Normal University"]=caochangmen,
		["Caochangmen/NUA/JSSNU"]=caochangmen,
		["Caochangmen-NUA-JSSNU"]=caochangmen,
		["Caochangmen–NUA–JSSNU"]=caochangmen,
		["Caochangmen NUA JSSNU"]=caochangmen,
		["Nanjing University of the Arts – Jiangsu Second Normal University – Caochangmen"]=caochangmen,
		["NUA/JSSNU/Caochangmen"]=caochangmen,
		["NUA-JSSNU-Caochangmen"]=caochangmen,
		["NUA–JSSNU–Caochangmen"]=caochangmen,
		["NUA JSSNU Caochangmen"]=caochangmen,
		["NAU/JSSNU/Caochangmen"]=caochangmen,
		["NAU-JSSNU-Caochangmen"]=caochangmen,
		["NAU–JSSNU–Caochangmen"]=caochangmen,
		["NAU JSSNU Caochangmen"]=caochangmen,
		["Nanjing University Xianlin Campus"]=njx,
		["NJU Xianlin Campus"]=njx,
		["Southeast University Chengxian Campus"]=seuc,
		["SEU Chengxian College"]=seuc,
		["Southeast University Jiulonghu Campus"]=seuj,
		["SEU Jiulonghu Campus"]=seuj,
		["Suning Headquarter – Xuzhuang"]=xs,
		["Suning HQ – Xuzhuang"]=xs,
		["Suning HQ/Xuzhuang"]=xs,
		["Suning HQ Xuzhuang"]=xs,
		["Xuzhuang – Suning Headquarter"]=xs,
		["Xuzhuang – Suning HQ"]=xs,
		["Xuzhuang/Suning HQ"]=xs,
		["Xuzhuang Suning HQ"]=xs,
		["Xuzhuang-Suning HQ"]=xs,
		["Xuzhuang—Suning HQ"]=xs,
		["Chengxindadao"]="[[Chengxindadao station|Chengxin&shy;dadao]]",
		["Fangzhouguangchang"]="[[Fangzhouguangchang station|Fangzhou&shy;guangchang]]",
		["Fenghuangshangongyuan"]="[[Fenghuangshangongyuan station|Fenghuangshan&shy;gongyuan]]",
		["Hohai University – Fochengxilu"]=huf,
		["Hohai University - Fochengxilu"]=huf,
		["Hongyundadao"]="[[Hongyundadao station|Hongyun&shy;dadao]]",
		["Jiqingmendajie"]="[[Jiqingmendajie station|Jiqingmen&shy;dajie]]",
		["Liuzhoudonglu"]="[[Liuzhoudonglu station|Liuzhou&shy;donglu]]",
		["Longmiandadao"]="[[Longmiandadao station|Longmian&shy;dadao]]",
		["Mengdudajie"]="[[Mengdudajie station|Mengdu&shy;dajie]]",
		["Mingchengdadao"]="[[Mingchengdadao station|Mingcheng&shy;dadao]]",
		["Mozhoudonglu"]="[[Mozhoudonglu station|Mozhou&shy;donglu]]",
		["Olympic Stadium"]="[[Olympic Stadium station (Nanjing Metro)|Olympic Stadium]]",
		["Pukouwanhuicheng"]="[[Pukouwanhuicheng station|Pukou&shy;wanhuicheng]]",
		["Ruanjiandadao"]="[[Ruanjiandadao station|Ruanjian&shy;dadao]]",
		["Shengtaixilu"]="[[Shengtaixilu station|Shengtai&shy;xilu]]",
		["Shuanglongdadao"]="[[Shuanglongdadao station|Shuanglong&shy;dadao]]",
		["Taishanxincun"]="[[Taishanxincun station|Taishan&shy;xincun]]",
		["Tianyindadao"]="[[Tianyindadao station|Tianyin&shy;dadao]]",
		["Tianyuanxilu"]="[[Tianyuanxilu station|Tianyuan&shy;xilu]]",
		["Wutangguangchang"]="[[Wutangguangchang station|Wutang&shy;guangchang]]",
		["Xianlinzhongxin"]="[[Xianlinzhongxin station|Xianlin&shy;zhongxin]]",
		["Xinglongdajie"]="[[Xinglongdajie station|Xinglong&shy;dajie]]",
		["Xinmofanmalu"]="[[Xinmofanmalu station|Xinmofan&shy;malu]]",
		["Yangshangongyuan"]="[[Yangshangongyuan station|Yangshan&shy;gongyuan]]",
		["Yurundajie"]="[[Yurundajie station|Yurun&shy;dajie]]",
		["Zhengfangzhonglu"]="[[Zhengfangzhonglu station|Zhengfang&shy;zhonglu]]",
		["counter"]="counter-clockwise direction",
		["counter-clockwise"]="counter-clockwise direction",
		["Olympic Stadium or China Pharmaceutical University"]=oly .. " or " .. cpu,
	},
	["lines"] = {
		["_default"] = {
			["title"] = "[[Line %1 (Nanjing Metro)|Line %1]]"
		},
		["1"] = {
			["color"] = "009ace",
			["left terminus"] = "Baguazhoudaqiaonan",
			["right terminus"] = "China Pharmaceutical University",
		},
		["2"] = {
			["color"] = "a6093d",
			["left terminus"] = "Yuzui",
			["right terminus"] = "Jingtianlu",
		},
		["3"] = {
			["color"] = "009a44",
			["left terminus"] = "Linchang",
			["right terminus"] = "Mozhoudonglu",
		},
		["4"] = {
			["color"] = "7d55c7",
			["left terminus"] = "Longjiang",
			["right terminus"] = "Xianlinhu",
		},
		["5"] = {
			["color"] = "f2da51",
			["left terminus"] = "Fangjiaying",
			["right terminus"] = "Jiyindadao",
		},
		["6"] = {
			["color"] = "4bbbb4",
			["left terminus"] = "Qixiashan",
			["right terminus"] = "Nanjing South Railway Station",
		},
		["7"] = {
			["color"] = "4a7729",
			["left terminus"] = "Xianxinlu",
			["right terminus"] = "Xishanqiao",
		},
		["8"] = {
			["color"] = "666666",
			["left terminus"] = "Shiyueguangchang",
			["right terminus"] = "Zhonghuamen",
		},
		["9"] = {
			["color"] = "fa4616",
			["left terminus"] = "Danxialu",
			["right terminus"] = "Binjiang Park",
		},
		["10"] = {
			["color"] = "b9975b",
			["left terminus"] = "Andemen",
			["right terminus"] = "Yushanlu",
		},
		["11"] = {
			["color"] = "ef426f",
			["left terminus"] = "Puzhoulu",
			["right terminus"] = "Maluowei",
		},
		["S1"] = {
			["color"] = "4bbbb4",
			["left terminus"] = "Nanjing South Railway Station",
			["right terminus"] = "Konggangxinchengjiangning",
		},
		["S2"] = {
			["color"] = "666666",
			["left terminus"] = "Zhonghuamen",
			["right terminus"] = {"Dangtu South", "Zhenhuailu"},
		},
		["S3"] = {
			["color"] = "ba84ac",
			["left terminus"] = "Nanjing South Railway",
			["right terminus"] = "Gaojiachong",
		},
		["S4"] = {
			["color"] = "ff631b",
			["left terminus"] = "Chahe",
			["right terminus"] = "Chuzhou Railway Station",
		},
		["S5"] = {
			["color"] = "666666",
			["left terminus"] = "Xianlinhu",
			["right terminus"] = "Yangzhou West Railway Station",
		},
		["S6"] = {
			["color"] = "c98bdb",
			["left terminus"] = "Maqun",
			["right terminus"] = "Jurong",
		},
		["S7"] = {
			["color"] = "b46b7a",
			["left terminus"] = "Konggangxinchengjiangning",
			["right terminus"] = "Wuxiangshan",
		},
		["S8"] = {
			["color"] = "ff8000",
			["left terminus"] = "Changjiangdaqiaobei",
			["right terminus"] = "Jinniuhu",
		},
		["S9"] = {
			["color"] = "ffc600",
			["left terminus"] = "Xiangyulunan",
			["right terminus"] = "Gaochun",
		},
	},
	["aliases"] = {
		["s1"] = "S1",
		["s2"] = "S2",
		["s3"] = "S3",
		["s4"] = "S4",
		["s5"] = "S5",
		["s6"] = "S6",
		["s7"] = "S7",
		["s8"] = "S8",
		["s9"] = "S9",
	}
}

return p