模块:Adjacent stations/中国铁路成都局集团

-- [[中国铁路线路列表#成都局集團]]
local p = require("Module:Adjacent stations/中国铁路")

-- 跨局线支线
p.lines["成昆"].types = p.lines["成昆"].types or {}
p.lines["成昆"].types["成攀"] = {
	["title"] = "成攀段",
	["left terminus"] = p.lines["成昆"]["left terminus"],
	["right terminus"] = "迤资"
}
p.lines["成昆"].types["攀枝花"] = {
	["title"] = "攀枝花联络线",
	["left terminus"] = { p.lines["成昆"]["left terminus"], via = "攀枝花" },
	["right terminus"] = { p.lines["成昆"]["right terminus"], via = "普达" }
}
p.lines["成昆"].types["货车"] = {
	["title"] = "货车外绕线",
	["left terminus"] = "成都北",
	["right terminus"] = { p.lines["成昆"]["right terminus"], via = "双龙门" }
}
p.lines["成昆"].types["渡口"] = {
	["title"] = "渡口支线",
	["left terminus"] = { "牛坪子", "三堆子" },
	["right terminus"] = "格里坪"
}

-- 成都枢纽
p.lines["成都枢纽"] = {
	["title"] = "[[成都铁路枢纽|成都枢纽]]",
	["left terminus"] = "",
	["right terminus"] = "",
	["types"] = {
		["西环"] = {
			["title"] = "西环线",
			["left terminus"] = "成都",
			["right terminus"] = "成都南"
		}
	}
}

-- 重庆枢纽
p.lines["兴珞"] = {
	["left terminus"] = "兴隆场",
	["right terminus"] = "珞璜",
	["types"] = {
		["陶铜"] = {
			["title"] = "陶铜支线",
			["left terminus"] = { "兴隆场", via = "陶家场" },
			["right terminus"] = { "石场", "铜罐驿" }
		}
	}
}
p.lines["小西"] = {
	["left terminus"] = "重庆西",
	["right terminus"] = { "重庆", via = "小南海" },
}
p.lines["重庆枢纽"] = {
	["title"] = "[[重庆铁路枢纽|重庆枢纽]]",
	["left terminus"] = "",
	["right terminus"] = ""
}

-- 其余管内
p.lines["达万"] = {
	["left terminus"] = "达州",
	["right terminus"] = "万州"
}
p.lines["广达"] = {
	["left terminus"] = "广元南",
	["right terminus"] = { "渡市", "覃家坝" }
}
p.lines["达成"] = {
	["left terminus"] = { "达州", via = "三汇镇" },
	["right terminus"] = "成都"
}
p.lines["德天"] = {
	["left terminus"] = "德阳",
	["right terminus"] = "汉旺"
}
p.lines["成渝"] = {
	["left terminus"] = "成都",
	["right terminus"] = "重庆"
}
p.lines["内昆"] = {
	["left terminus"] = "内江",
	["right terminus"] = { p.lines["沪昆"]["right terminus"], via = "梅花山" }
}
p.lines["隆黄"] = {
	["left terminus"] = "隆昌",
	["right terminus"] = "黄桶",
	["types"] = {
		["黄织"] = {
			['title'] = "黄织段",
			["left terminus"] = "黄桶",
		},
		["隆叙"] = {
			['title'] = "隆叙段",
			["right terminus"] = "织金",
			['note-mid'] = "地方铁路"
		}
	}
}
p.lines["成雅"] = {
	["left terminus"] = "成都西",
	["right terminus"] = "雅安"
}
p.lines["川黔"] = {
	["left terminus"] = { "兴隆场", via = "珞璜" },
	["right terminus"] = "贵阳",
	["types"] = {
		["货车"] = {
			["title"] = "货车外绕线",
			["left terminus"] = { "珞璜", via = "黔灵山" },
			["right terminus"] = "贵阳南",
		}
	}
}
p.lines["南涪"] = {
	["left terminus"] = "南川",
	["right terminus"] = "涪陵"
}

-- 地方
p.lines["叙大"] = {
	["left terminus"] = "叙永",
	["right terminus"] = "大村",
	['note-mid'] = "地方铁路"
}
p.lines["三万南"] = {
	["left terminus"] = "三江",
	["right terminus"] = "南川",
	['note-mid'] = "地方铁路"
}
p.lines["归连"] = {
	["left terminus"] = "归德乡",
	["right terminus"] = "连界",
	['note-mid'] = "地方铁路"
}

p.aliases["广巴"] = "广达"
p.aliases["巴达"] = "广达"
p.aliases["内六"] = "内昆"

return p