跳转到内容

模組:Adjacent stations/宁波轨道交通

本页使用了标题或全文手工转换
维基百科,自由的百科全书

local nb = "%1站 (宁波市)"
local dt = "%1站 (地铁)"
local nbgdjt = "%1站 (宁波轨道交通)"
local hczdt = "%1 (地铁)"

local p = {
	["system title"] = "[[宁波轨道交通]]",
	["station format"] = {
		"%1站",
		-- 消歧义
		-- 1号线
		["高桥西"] = nb,
		["高桥"] = nb,
		["徐家漕"] = "[[徐家漕长乐站|徐家漕长乐]]",
		["西门口"] = nb,
		["鼓楼"] = nb,
		["世纪大道"] = nb,
		["宝幢"] = dt,
		["邬隘"] = dt,
		["大碶"] = dt,
		["长江路"] = nb,
		["霞浦"] = nb,
		["柴桥"] = dt,

		-- 2号线
		["三官堂"] = nb,
		["客运中心"] = nb,
		["宁波火车站"] = hczdt,
		["北仑西站"] = hczdt,
	    ["保税区"] = nb,

		-- 3号线
		["澥浦"] = dt,
		["体育馆"] = nb,
		["儿童公园"] = nb,
		["鄞州客运总站"] = hczdt,
		["5号线布政"] = "[[布政站|布政]]([[宁波轨道交通5号线|5号线]])", -- 为二期贯通5号线专设的站名
		["狮山"] = nb,
		["朝阳"] = nb,
		["金海路"] = nb,
		["奉化火车站"] = hczdt,

		-- 4号线
		["慈城"] = dt,
		["奥体中心"] = nb,
		["庄桥火车站"] = hczdt,

		-- 5号线
		["会展中心"] = nb,
		["人民北路"] = nb,
		["云飞路"] = nb,
		["环城南路"] = nb,
		["3号线骆驼桥"] = "[[骆驼桥站|骆驼桥]]([[宁波轨道交通3号线|3号线]])", -- 为贯通3号线二期专设的站名
		["内环"] = "内环",
		["外环"] = "外环",

		-- 6号线
		["市中医院"] = nb,
		["衙前"] = nb,
		["凤凰"] = nb,

		-- 7号线
		["云飞路"] = nb,
		["曙光"] = nb,
		["邱隘"] = dt,
		["回龙"] = nb,
		["云龙"] = dt,

		-- 8号线
		["洪塘"] = nb,
		["南苑"] = nb,
        ["学府路"] = nb,

		-- 9号线
		["植物园"] = nb,
		["江口"] = nb,
		["溪口"] = dt,
		["金沙"] = nb,
		["奉化火车站/溪口火车站"] = "[[奉化火车站 (地铁)|奉化火车站]] / [[溪口火车站 (地铁)|溪口火车站]]",
		["溪口火车站"] = hczdt,

		-- 10号线
		["华山路"] = nb,
		["九龙湖"] = nb,
		["龙山"] = nb,
		["大学城"] = nb,
		["慈溪高铁站"] = hczdt,

		-- 11号线
		["余姚北高铁站"] = hczdt,

		-- 12号线
		["云龙火车站"] = hczdt,
		["横溪"] = nb,
		["人民广场"] = nb,
		["南部新城"] = nb,
		["梅山"] = nbgdjt,
	},
	["lines"] = {
		["_default"] = {
			["title"] = "[[宁波轨道交通%1号线|%1号线]]",
			["color"] = "cccccc"
		},

		["1"] = {
			["color"] = "1590ca",
			["left terminus"] = "高桥西",
			["right terminus"] = "霞浦",
			["open date"] = "2014-05-30",
			["types"] = {
				["二期"] = {
					["title"] = "",
					["open date"] = "2016-03-19",
				},
				["西延"] = {
					["title"] = "",
					["open date"] = "2026-12-31",
					["left terminus"] = "石路头",
				},
			},
			["routes"] = {
				-- 东环南路首班车
				["东高"] = {
					["first train"] = "05:55",
					["service start"] = "东环南路",
					["service end"] = "高桥西",
				},
				["东霞"] = {
					["first train"] = "06:00", 
					["service start"] = "东环南路", 
					["service end"] = "霞浦",
				},
				-- 起讫站首末班车
				["霞高"] = {
					["first train"] = "06:00",
					["last train"] = "22:00",
					["service start"] = "霞浦",
					["service end"] = "高桥西"
				},
				["高霞"] = {
					["first train"] = "05:55",
					["last train"] = "22:33",
					["service start"] = "高桥西",
					["service end"] = "霞浦",
				},
			},
		},
		["2"] = {
			["color"] = "d60e19",
			["left terminus"] = "栎社国际机场",
			["right terminus"] = "红联",
			["open date"] = "2015-09-26",
			["types"] = {
				["二期"] = {
					["title"] = "",
					["open date"] = "2020-05-30",
				},
				["二期后通段"] = {
					["title"] = "",
					["open date"] = "2022-12-01",
				},
			},
			["routes"] = {
				-- 宁波火车站首班车
				["宁栎"] = {
					["first train"] = "06:00",
					["service start"] = "宁波火车站",
					["service end"] = "栎社国际机场",
				},
				["宁红"] = {
					["first train"] = "06:00",
					["service start"] = "宁波火车站",
					["service end"] = "红联",
				},
				-- 起讫站首末班车
				["红栎"] = {
					["first train"] = "05:50",
					["last train"] = "22:00",
					["service start"] = "红联",
					["service end"] = "栎社国际机场",
				},
				["栎红"] = {
					["first train"] = "06:00",
					["last train"] = "22:20",
					["service start"] = "栎社国际机场",
					["service end"] = "红联",
				},
			},
		},
		["3"] = {
			["color"] = "f39800",
			["left terminus"] = "大通桥",
			["right terminus"] = "金海路",
			["open date"] = "2019-06-30",
			["types"] = {
				["鄞奉段"] = {
					["title"] = "",
					["open date"] = "2019-09-28",
				},
				["鄞奉段后通段"] = {
					["title"] = "",
					["open date"] = "2020-09-27",
				},
				["二期"] = {
					["title"] = "",
					["open date"] = "2024-06-28",
					["left terminus"] = "骆驼桥",
					["right terminus"] = "5号线布政",
				},
				["远期"] = {
					["title"] = "",
					["left terminus"] = "骆驼桥",
					["right terminus"] = "奉化火车站",
				},
			},
			["routes"] = {
				-- 高塘桥首班车
				["高大"] = {
					["first train"] = "06:00",
					["service start"] = "高塘桥",
					["service end"] = "大通桥",
				},
				["高金"] = {
					["first train"] = "06:00",
					["service start"] = "高塘桥",
					["service end"] = "金海路",
				},
				-- 起讫站首末班车
				["金大"] = {
					["first train"] = "06:00",
					["last train"] = "22:00",
					["service start"] = "金海路",
					["service end"] = "大通桥",
				},
				["大金"] = {
					["first train"] = "06:00",
					["last train"] = "22:38",
					["service start"] = "大通桥",
					["service end"] = "金海路",
				},
			},
		},
		["4"] = {
			["color"] = "abcd03",
			["left terminus"] = "慈城",
			["right terminus"] = "东钱湖",
			["open date"] = "2020-12-23",
			["types"] = {
				["东延"] = {
					["title"] = "",
					["open date"] = "2025-03-31",
					["right terminus"] = "国际会议中心",
				},
				["西延"] = {
					["title"] = "",
					["open date"] = "2025-01-11",
					["left terminus"] = "慈城西",
				},
			},
			["routes"] = {
				-- 宁波火车站首班车
				["宁东"] = {
					["first train"] = "06:00",
					["service start"] = "宁波火车站",
					["service end"] = "东钱湖",
				},
				["宁慈"] = {
					["first train"] = "06:00",
					["service start"] = "宁波火车站",
					["service end"] = "慈城",
				},
				-- 起讫站首末班车
				["慈东"] = {
					["first train"] = "05:55",
					["last train"] = "22:00",
					["service start"] = "慈城",
					["service end"] = "东钱湖",
				},
				["东慈"] = {
					["first train"] = "06:00",
					["last train"] = "22:10",
					["service start"] = "东钱湖",
					["service end"] = "慈城",
				},
			},
		},
		["5"] = {
			["color"] = "1d2088",
			["left terminus"] = "布政",
			["right terminus"] = "骆驼桥",
			["open date"] = "2021-12-28",
			["types"] = {
				["3号线二期"] = {
					["title"] = "",
					["open date"] = "2024-06-28",
				},
				["远期"] = {
					["title"] = "",
					["circular"] = true,
					["left terminus"] = "内环",
					["right terminus"] = "外环",
				},
			},
			["routes"] = {
				-- 泗港站首班车
				["泗布"] = {
					["first train"] = "06:00",
					["service start"] = "泗港",
					["service end"] = "布政",
				},
				["泗骆"] = {
					["first train"] = "06:00",
					["service start"] = "泗港",
					["service end"] = "骆驼桥",
				},
				-- 一期兼容
				["兴布"] = {
					["first train"] = "06:00",
					["last train"] = "22:14",
					["service start"] = "骆驼桥",
					["service end"] = "布政",
				},
				-- 起讫站首末班车
				["布骆"] = {
					["first train"] = "06:00",
					["last train"] = "22:00",
					["service start"] = "布政",
					["service end"] = "骆驼桥",
				},
				["骆布"] = {
					["first train"] = "05:45",
					["last train"] = "22:00",
					["service start"] = "骆驼桥",
					["service end"] = "布政",
				},
			},
		},
		["6"] = {
			["color"] = "1f7b3c",
			["left terminus"] = "宁波西枢纽",
			["right terminus"] = "红联",
			["open date"] = "2027-12-31",
			["types"] = {
				["二期"] = {
					["title"] = "",
					["right terminus"] = "凤凰",
				},
			},
		},
		["7"] = {
			["color"] = "785049",
			["left terminus"] = "俞范",
			["right terminus"] = "云龙",
			["open date"] = "2025-12-31",
		},
		["8"] = {
			["color"] = "c43c8b",
			["left terminus"] = "开元路",
			["right terminus"] = "下应南",
			["open date"] = "2025-06-30",
			["types"] = {
				["二期"] = {
					["title"] = "",
					["right terminus"] = "国际会议中心",
				},
			},
		},
		["9"] = {
			["color"] = "d16d57",
			["left terminus"] = "贵驷工业区",
			["right terminus"] = "奉化火车站/溪口火车站",
		},
		["10"] = {
			["color"] = "a3829c",
			["left terminus"] = "孔浦",
			["right terminus"] = "慈溪高铁站",
			["open date"] = "2026-12-31",
		},
		["11"] = {
			["color"] = "c8bf40",
			["left terminus"] = "余姚北高铁站",
			["right terminus"] = "潮塘",
		},
		["12"] = {
			["color"] = "007aab",
			["left terminus"] = "小洋江",
			["right terminus"] = "大目湾",
			["open date"] = "2027-12-31",
			["types"] = {
				["梅山"] = {
					["title"] = "梅山支线",
					["right terminus"] = "昆亭",
				},
				["西枢纽"] = {
					["left terminus"] = "宁波西枢纽",
				},
			},
		},
		-- 考虑到规划线路名与运营线路名差异,保留宁慈线、宁象线及余慈线名称
		["宁慈"] = {
			["title"] = "[[宁波至慈溪市域铁路|宁慈线]]",
			["color"] = "a3829c",
			["left terminus"] = "孔浦",
			["right terminus"] = "慈溪高铁站",
			["open date"] = "2026-12-31",
		},
		["宁象"] = {
			["title"] = "[[宁波至象山市域铁路|宁象线]]",
			["color"] = "007aab",
			["left terminus"] = "小洋江",
			["right terminus"] = "大目湾",
			["open date"] = "2027-12-31",
			["types"] = {
				["梅山"] = {
					["title"] = "梅山支线",
					["right terminus"] = "昆亭",
				},
			},
		},
		["余慈"] = {
			["title"] = "[[宁波至余慈市域铁路|余慈线]]",
			["color"] = "c8bf40",
			["left terminus"] = "余姚北高铁站",
			["right terminus"] = "滨海新城",
		},
	},
	["aliases"] = {
		-- 此处需要全部使用小写字母作为 Key
		-- ["余"] = "S1",
		-- ["馀"] = "S1",
		["s3"] = "3", -- S3未拆分
		["奉"] = "3", -- S3
		["鄞奉"] = "3", -- S3
		["yf"] = "3", -- S3
		["f"] = "3", -- S3
		["慈"] = "宁慈", -- S2
		["c"] = "宁慈", -- S2
		["cx"] = "宁慈", -- S2
		["s2"] = "宁慈", -- S2
		["象"] = "宁象", -- S4
		["x"] = "宁象", -- S4
		["xs"] = "宁象", -- S4
		["s4"] = "宁象", -- S4
		["yc"] = "余慈",
	}
}

local stationAliases = {
    -- 1號線
	['高橋西'] = '高桥西',
    ['高橋'] = '高桥',
    ['西門口'] = '西门口',
    ['鼓樓'] = '鼓楼',
    ['東門口'] = '东门口',
    ['寶幢'] = '宝幢',
    ['鄔隘'] = '邬隘',
    ['長江路'] = '长江路',
	['柴橋'] = '柴桥',
    
    -- 2號線
	['輕紡城'] = '轻纺城',
	['客運中心'] = '客运中心',
	['寧波火車站'] = '宁波火车站',
	['北侖西站'] = '北仑西站',
	['保稅區'] = '保税区',
    
    -- 3號線
	['體育館'] = '体育馆',
	['兒童公園'] = '儿童公园',
	['鄞州客運總站'] = '鄞州客运总站',
	['獅山'] = '狮山',
	['朝陽'] = '朝阳',
	['奉化火車站'] = '奉化火车站',
	
	-- 4號線
	['奧體中心'] = '奥体中心',
	['莊橋火車站'] = '庄桥火车站',
	
	-- 5號線
	['會展中心'] = '会展中心',
	['内環'] = '内环',
	['外環'] = '外环',
	
	-- 6號線
	['高橋南'] = '高桥南',
	['市中醫院'] = '市中医院',
	['大劇院'] = '大剧院',
	['鳳凰'] = '凤凰',
	
	-- 7號線
	['九龍大道'] = '九龙大道',
	['雲龍'] = '云龙',
	
	-- 8號線
    ["學府路"] = "学府路",
	
	-- 9號線
	['奉化火車站/溪口火車站'] = '奉化火车站/溪口火车站',
	
	-- 宁慈线
	['九龍湖'] = '九龙湖',
	['龍山'] = '龙山',
	['大學城'] = '大学城',
	['慈溪高鐵站'] = '慈溪高铁站',
	
	-- 宁象线
	['雲龍火車站'] = '云龙火车站',
	["人民廣場"] = "人民广场",
}

local routeAliases = {
	["5"] = {
		["泗兴"] = "泗骆",
		["布兴"] = "布骆",
	},
}

for k, v in pairs(stationAliases) do
	if p["station format"][v] == nil then
		p["station format"][k] = '[[' .. v .. '站|' .. v .. ']]'
	else
		p["station format"][k] = p["station format"][v]
	end
end

for route, route_aliases in pairs(routeAliases) do
	for k, v in pairs(route_aliases) do
		p["lines"][route]["routes"][k] = p["lines"][route]["routes"][v]
	end
end

return p