模組:Adjacent stations/深圳地铁

被永久保护的模块
维基百科,自由的百科全书
文档图示 模块文档[查看] [编辑] [历史] [清除缓存]

深圳地铁相关条目数据模块,请勿直接引用此模块。

local w = "%1站 (深圳市)"
local x = "%1站 (深圳)"
local ya = "%1站 (地鐵)"
local yb = "%1站 (地铁)"
local yc = "%1 (地铁)"
local za = "%1站 (深圳地鐵)"
local zb = "%1站 (深圳地铁)"
local h = "%1站 (惠州市)"
local ia = "%1站 (中國)"
local ib = "%1站 (中国)"

local p = {
	["system title"] = "[[深圳地鐵]]",
	["line icon format"] = "route",
	["station format"] = {
		"%1站",
		-- 消歧义
		-- 1号线
		["机场东"] = w,
		["会展中心"] = w,
		["西乡"] = w,
		["大新"] = w,
		["桃园"] = zb,
		["车公庙"] = w,
		["大剧院"] = w,
		["国贸"] = w,
		["罗湖"] = zb,

		-- 2号线
		["赤湾"] = zb,
		["后海"] = "[[后海站|-{后}-海]]",
		["福田"] = zb,
		["市民中心"] = zb,
		["莲塘"] = w,

		-- 3号线
		["益田"] = w,
		["翠竹"] = w,
		["塘坑"] = w,
		["横岗"] = za,
		["双龙"] = w,
		["梨园"] = x,
		["新生"] = x,
		["富坪"] = x,

		-- 4号线
		["龙华"] = x,
		["竹村"] = ia,
		["清湖"] = yb,
		["民乐"] = x,
		["深圳北站"] = yc,
		["红山"] = x,

		-- 5号线
		["妈湾"] = yb,
		["临海"] = x,
		["西丽"] = ya,
		["大学城"] = w,
		["坂田"] = zb,
		["杨美"] = x,
		["建设路"] = x,

		-- 6号线
		["体育中心"] = x,
		["凤凰城"] = x,
		["光明"] = x,
		["科学公园"] = x,
		["中大"] = x,
		["光明城"] = yb,

		-- 7号线
		["龙井"] = x,
		["笋岗"] = yb,

		-- 8号线
		["海山"] = x,

		-- 9号线
		["下沙"] = x,
		["梅村"] = x,
		["银湖"] = zb,

		-- 10号线
		["木古"] = yb,
		["华南城"] = w,
		["平湖"] = ya,
		["龙平路"] = x,
		["黄阁"] = x,

		-- 11号线
		["沙井"] = x,
		["桥头"] = w,
		["机场北"] = w,
		["机场"] = w,
		["南山"] = w,

		-- 12号线
		["沙浦"] = x,
		["福海西"] = yb,
		["怀德"] = x,
		["黄田"] = x,
		["上川"] = x,
		["南头"] = x,
		["中山公园"] = w,
		["宝安客运站"] = yc,

		-- 13号线
		["歌剧院"] = x,
		["松坪"] = x,
		["西丽高铁站"] = yc,
		["石鼓"] = yb,

		-- 14号线
		["新桥"] = h,
		["惠州南"] = yb,
		["开城"] = h,
		["白云"] = h,
		["沙田"] = x,
		["罗湖北"] = yb,
		["锦龙"] = x,

		-- 16号线
		["西坑"] = zb,
		["龙东"] = x,
		["龙兴"] = w,
		["新和"] = x,
		["江岭"] = x,
		["石井"] = x,
		["田心"] = x,
		["龙城公园"] = x,
		
		-- 19号线
		["聚龙"] = x,
		
		-- 20号线
		["国展"] = w,

		-- 模板格式需要
		['2号线赤湾'] = "[[蓮塘站 (深圳市)|蓮塘]]<br>[[深圳地铁2号线|2号线]][[赤湾站 (深圳地铁)|赤湾]]",
		['8号线小梅沙'] = "[[蓮塘站 (深圳市)|蓮塘]]<br>[[深圳地铁8号线|8号线]][[小梅沙站|小梅沙]]",
		['外圈'] = "外圈",
		['内圈'] = "内圈",

	},
	["lines"] = {
		["1"] = {
			["title"] = "[[深圳地鐵1號線|1號線]]",
			["color"] = "00ab39",
			["left terminus"] = "機場東",
			["right terminus"] = "羅湖"
		},
		["2"] = {
			["title"] = "[[深圳地鐵2號線|2號線]]",
			["color"] = "db6d1c",
			["left terminus"] = "赤湾",
			["right terminus"] = "8号线小梅沙"
		},
		["3"] = {
			["title"] = "[[深圳地鐵3號線|3號線]]",
			["color"] = "00a2e1",
			["left terminus"] = "福保",
			["right terminus"] = "雙龍",
			["types"] = {
				["建设中"] = {
					["title"] = "建设中",
					["left terminus"] = "福保",
					["right terminus"] = "坪地六联",
				},
			},
		},
		["4"] = {
			["title"] = "[[深圳地鐵4號線|4號線]]",
			["color"] = "dc241f",
			["left terminus"] = "牛湖",
			["right terminus"] = "福田口岸"
		},
		["5"] = {
			["title"] = "[[深圳地鐵5號線|5號線]]",
			["color"] = "9950b2",
			["left terminus"] = "黃貝嶺",
			["right terminus"] = "赤湾",
			["types"] = {
				["建设中"] = {
					["title"] = "建设中",
					["left terminus"] = "大剧院",
					["right terminus"] = "赤湾",
				},
			},
		},
		["6"] = {
			["title"] = "[[深圳地鐵6號線|6號線]]",
			["color"] = "3abca8",
			["left terminus"] = "松岗",
			["right terminus"] = "科学馆",
		},
		["6B"] = {
			["title"] = "[[深圳地鐵6號線支線|6號線支線]]",
			["color"] = "037776",
			["left terminus"] = "深理工",
			["right terminus"] = "光明",
			["types"] = {
				["建设中"] = {
					["title"] = "建设中",
					["left terminus"] = "黄江中心",
					["right terminus"] = "光明城",
				},
			},
		},
		["7"] = {
			["title"] = "[[深圳地鐵7號線|7號線]]",
			["color"] = "0035ad",
			["left terminus"] = "西麗湖",
			["right terminus"] = "太安",
			["types"] = {
				["支线"] = {
					["title"] = "支线",
					["left terminus"] = "深云",
					["right terminus"] = "文体公园",
				},
				["建设中"] = {
					["title"] = "建设中",
					["left terminus"] = "学府医院",
					["right terminus"] = "太安",
				},
			},
		},
		["8"] = {
			["title"] = "[[深圳地鐵8號線|8號線]]",
			["color"] = "db6d1c",
			["left terminus"] = "2号线赤湾",
			["right terminus"] = "小梅沙",
			["types"] = {
				["建设中"] = {
					["title"] = "建设中",
					["left terminus"] = "2号线赤湾",
					["right terminus"] = "溪涌",
				},
			},
		},
		["9"] = {
			["title"] = "[[深圳地鐵9號線|9號線]]",
			["color"] = "846e74",
			["left terminus"] = "前湾",
			["right terminus"] = "文錦"
		},
		["10"] = {
			["title"] = "[[深圳地鐵10號線|10號線]]",
			["color"] = "f8779e",
			["left terminus"] = "福田口岸",
			["right terminus"] = "双拥街"
		},
		["11"] = {
			["title"] = "[[深圳地鐵11號線|11號線]]",
			["color"] = "6a1d44",
			["left terminus"] = "碧頭",
			["right terminus"] = "岗厦北",
			["types"] = {
				["建设中"] = {
					["title"] = "建设中",
					["left terminus"] = "碧头",
					["right terminus"] = "红岭南",
				},
			},
		},
		["12"] = {
			["title"] = "[[深圳地鐵12號線|12號線]]",
			["color"] = "a192b2",
			["left terminus"] = "海上田园东",
			["right terminus"] = "左炮台东",
			["types"] = {
				["建设中"] = {
					["title"] = "建设中",
					["left terminus"] = "松岗",
					["right terminus"] = "左炮台东",
				},
			},
		},
		["13"] = {
			["title"] = "[[深圳地鐵13號線|13號線]]",
			["color"] = "de7c00",
			["left terminus"] = "深圳湾口岸",
			["right terminus"] = "上屋",
			["types"] = {
				["建设中"] = {
					["title"] = "建设中",
					["left terminus"] = "东角头",
					["right terminus"] = "公明北",
				},
			},
		},
		["14"] = {
			["title"] = "[[深圳地鐵14號線|14號線]]",
			["color"] = "f2c75c",
			["left terminus"] = "岗厦北",
			["right terminus"] = "沙田"
		},
		["15"] = {
			["title"] = "[[深圳地鐵15號線|15號線]]",
			["color"] = "76b900",
			["circular"] = true,
			["left terminus"] = "内环",
			["right terminus"] = "外环"
		},
		["16"] = {
			["title"] = "[[深圳地鐵16號線|16號線]]",
			["color"] = "1e22aa",
			["left terminus"] = "大运",
			["right terminus"] = "田心",
			["types"] = {
				["建设中"] = {
					["title"] = "建设中",
					["left terminus"] = "西坑",
					["right terminus"] = "田心",
				},
			},
		},
		["20"] = {
			["title"] = "[[深圳地鐵20號線|20號線]]",
			["color"] = "88dbdf",
			["left terminus"] = "机场北",
			["right terminus"] = "会展城"
		},
		["_default"] = {
			["title"] = "[[深圳地鐵%1號線|%1號線]]",
			["color"] = "bbb"
		}
	},
	["aliases"] = {
		["34"] = "6B",
		["6b"] = "6B",
	}
}
local stationAliases = {
		-- 同站名转换
		-- 1号线
		["機場東"] = '机场东',
		["西鄉"] = '西乡',
		["桃園"] = '桃园',
		["車公廟"] = '车公庙',
		["會展中心"] = '会展中心',
		["大劇院"] = '大剧院',
		["國貿"] = '国贸',
		["羅湖"] = '罗湖',

		-- 2号线
		["後海"] = '后海',

		-- 3号线
		["蓮花村"] = '莲花村',
		["橫崗"] = '横岗',
		["雙龍"] = '双龙',

		-- 4号线
		["民樂"] = '民乐',
		["龍華"] = '龙华',

		-- 5号线
		["臨海"] = '临海',
		["西麗"] = '西丽',
		["大學城"] = '大学城',
		["楊美"] = '杨美',

		-- 7号线
		["龍井"] = '龙井',
		["筍崗"] = '笋岗',

		-- 11号线
		["橋頭"] = '桥头',
		["機場北"] = '机场北',
		["機場"] = '机场',

		-- 20号线
		["國展"] = '国展',
}
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
return p