跳转到内容

模組:Adjacent stations/北京地铁

被永久保护的模块
维基百科,自由的百科全书

local x = "%1站 (北京市)"
local y = "%1站 (地铁)"
local z = "%1站 (中国)"
local w = "%1站 (北京地铁)"

local p = {
	["system title"] = "[[北京地铁]]",
	["system icon"] = "[[File:Beijing Subway simplified logo.svg|15px|link=北京地铁]]",
	["station format"] = {
		"%1站",
		-- 消歧义
		-- 1号线
		["古城"] = x,
		["万寿路"] = x,
		["复兴门"] = x,
		["国贸"] = x,

		-- 八通线
		["高碑店"] = x,
		["双桥"] = w,
		["梨园"] = x,
		["土桥"] = x,
		["八里桥"] = x,
		["花庄"] = x,
		
		-- 2号线
		["朝阳门"] = x,
		["北京站"] = "[[北京站 (地铁)|北京站]]",
		["和平门"] = x,
		
		-- 3号线
		["田村"] = x,
		["朝阳站"] = "[[朝阳站 (北京地铁)|朝阳站]]",
		["体育中心"] = x,
		["东坝"] = x,
		
		-- 4號線大兴线
		["西苑"] = x,
		["动物园"] = x,
		["新街口"] = x,
		["西四"] = x,
		["北京南站"] = "[[北京南站 (地铁)|北京南站]]",
		["枣园"] = x,
		["黄村火车站"] = "[[黄村火车站 (地铁)|黄村火车站]]",

		-- 5号线
		["磁器口"] = x,
		["宋家庄"] = x,
		
		-- 6号线
		["西黄村"] = y,
		["北海北"] = w,
		["东大桥"] = x,
		["青年路"] = x,
		["潞城"] = x,
		["杨庄"] = x,
		
		-- 7号线
		["北京西站"] = "[[北京西站 (地铁)|北京西站]]",
		["桥湾"] = x,
		["双井"] = x,
		["九龙山"] = x,
		["百子湾"] = y,
		["化工"] = x,
		["万盛东"] = x,
		["花庄"] = x,
	
		-- 8号线
		["育新"] = x,
		["奥体中心"] = x,
		["奥林匹克公园"] = x,
		["天桥"] = x,

		-- 9号线

		-- 10号线
		["西土城"] = x,
		["劲松"] = x,
		["十里河"] = x,
		["大红门"] = y,
		["丰台站"] = "[[丰台站 (地铁)|丰台站]]",

		-- 11号线

		-- 12号线

		-- 13号线
		["清河站"] = "[[清河站 (地铁)|清河站]]",
		["北苑"] = x,
		["文华路"] = x,
		["太平庄"] = x,

		-- 14号线
		["园博园"] = x,
		["郭庄子"] = x,
		["景泰"] = x,
		["方庄"] = x,
		["望京"] = y,

		-- 15号线
		["孙河"] = z,
		["国展"] = x,
		["石门"] = x,
		["顺义"] = y,

		-- 16号线
		["永丰"] = x,

		-- 17号线

		-- 19号线
		["太平桥"] = x,
		["牛街"] = x,
		["新宫"] = x,

		-- R4线
		["临河"] = x,

		-- 28号线
		["北京东站"] = [[北京东站#地铁站]],
		
		-- 平谷线
		["永顺"] = x,
		["副中心站"] = "[[北京城市副中心站|副中心站]]",
		["平谷"] = y,

		-- 亦庄线
		["小红门"] = y,
		["亦庄火车站"] = "[[亦庄火车站 (地铁)|亦庄火车站]]",

		-- 房山线
		["长阳"] = x,
		["稻田"] = z,

		-- 燕房线
		["燕山"] = w,
		["阎村"] = y,

		-- 昌平线
		["昌平"] = w,
		["沙河"] = w,

		-- 西郊线
		["万安"] = x,
		["植物园"] = x,
		["香山"] = x,

		-- 首都机场线
		["机场"] = "[[3号航站楼站|3号航站楼]]和[[2号航站楼站|2号航站楼]]",
		["返回"] = "[[2号航站楼站|2号航站楼]]和[[北新桥站|北新桥]]",

		-- 大兴机场线
		["大兴机场"] = y,

		-- 模板格式需要
		['外圈'] = "外圈",
		['内圈'] = "内圈",
		['八通线环球度假区'] = "[[四惠东站|四惠东]]、<br>[[北京地铁八通线|八通线]][[环球度假区站|环球度假区]]",
		['1号线古城'] = "[[高碑店站 (北京市)|高碑店]]、<br>[[北京地铁1号线|1号线]][[古城站 (北京市)|古城]]",
		['大兴线天宫院'] = "[[公益西桥站|公益西桥]]、<br>	[[北京地铁大兴线|大兴线]][[天宫院站|天宫院]]",
		['4号线安河桥北'] = "[[新宫站 (北京市)|新宫]]、<br>[[北京地铁4号线|4号线]][[安河桥北站|安河桥北]]",
	},
	["lines"] = {
		["1"] = {
			["title"] = "[[北京地铁1号线|1号线]]",
			["color"] = "A4343A",
			["left terminus"] = "古城",
			["right terminus"] = "八通线环球度假区",
			["open date"] = "1971-01-15",
  			["types"] = {
  				["福寿岭"] = {
  					["title"] = "",
  					["open date"] = "2025-12-31",
  				},
  				["古城"] = {
  					["title"] = "",
  					["open date"] = "1971-11-07",
  				},
  				["玉泉路"] = {
  					["title"] = "",
  					["open date"] = "1971-08-05",
  				},
  				["公主坟"] = {
  					["title"] = "",
  					["open date"] = "1971-01-15",
  				},
  				["二期"] = {
  					["title"] = "",
  					["open date"] = "1987-12-28",
  				},
  				["西单"] = {
  					["title"] = "",
  					["open date"] = "1992-12-12",
  				},
  				["复八"] = {
  					["title"] = "",
  					["open date"] = "1999-09-28",
  				},
  				["支线"] = {
  					["title"] = "",
  					["open date"] = "2027-06-30",
  				},
  			},

		},
		["八"] = {
			["title"] = "[[北京地铁八通线|八通线]]",
			["color"] = "A4343A",
			["left terminus"] = "1号线古城",
			["right terminus"] = "环球度假区",
			["open date"] = "2003-12-17",
  			["types"] = {
  				["一期"] = {
  					["title"] = "",
  					["open date"] = "2003-12-17",
  				},
  				["南延"] = {
  					["title"] = "",
  					["open date"] = "2019-12-28",
  				},
  				["环球度假区"] = {
  					["title"] = "",
  					["open date"] = "2021-08-26",
  				},
			},
		},
		["2"] = {
			["title"] = "[[北京地铁2号线|2号线]]",
			["color"] = "004B87",
			["circular"] = true,
			["left terminus"] = "内环",
			["right terminus"] = "外环",
			["open date"] = "1984-09-20",
  			["types"] = {
  				["一期"] = {
  					["title"] = "",
  					["open date"] = "1971-01-15",
  				},
  				["二期"] = {
  					["title"] = "",
  					["open date"] = "1984-09-20",
  				},
			},
		},
		["3"] = {
			["title"] = "[[北京地铁3号线|3号线]]",
			["color"] = "D90627",
			["left terminus"] = "东四十条",
			["right terminus"] = "东坝北",
			["open date"] = "2024-12-15",
		},
		["4"] = {
			["title"] = "[[北京地铁4号线|4号线]]",
			["color"] = "008C95",
			["left terminus"] = "安河桥北",
			["right terminus"] = "大兴线天宫院",
			["open date"] = "2009-09-28",
		},
		["大"] = {
			["title"] = "[[北京地铁大兴线|大兴线]]",
			["color"] = "008C95",
			["left terminus"] = "4号线安河桥北",
			["right terminus"] = "天宫院",
			["open date"] = "2010-12-30",
		},
		["5"] = {
			["title"] = "[[北京地铁5号线|5号线]]",
			["color"] = "AA0061",
			["left terminus"] = "天通苑北",
			["right terminus"] = "宋家庄",
			["open date"] = "2007-10-07",
		},
		["6"] = {
			["title"] = "[[北京地铁6号线|6号线]]",
			["color"] = "B58500",
			["left terminus"] = "金安桥",
			["right terminus"] = "潞城",
			["open date"] = "2012-12-30",
  			["types"] = {
  				["一期"] = {
  					["title"] = "",
  					["open date"] = "2012-12-30",
  				},
  				["二期"] = {
  					["title"] = "",
  					["open date"] = "2014-12-28",
  				},
  				["西延"] = {
  					["title"] = "",
  					["open date"] = "2018-12-30",
  				},
  				["二期南延"] = {
  					["title"] = "",
  					["open date"] = "2025-12-31",
  				},
			},
		},
		["7"] = {
			["title"] = "[[北京地铁7号线|7号线]]",
			["color"] = "FFC56E",
			["left terminus"] = "北京西站",
			["right terminus"] = "环球度假区",
			["open date"] = "2014-12-28",
  			["types"] = {
  				["一期"] = {
  					["title"] = "",
  					["open date"] = "2014-12-28",
  				},
  				["二期"] = {
  					["title"] = "",
  					["open date"] = "2019-12-28",
  				},
  				["环球度假区"] = {
  					["title"] = "",
  					["open date"] = "2021-08-26",
  				},
			},
		},
		["8"] = {
			["title"] = "[[北京地铁8号线|8号线]]",
			["color"] = "009B77",
			["left terminus"] = "朱辛庄",
			["right terminus"] = "瀛海",
			["open date"] = "1971-1-15",
  			["types"] = {
  				["一期"] = {
  					["title"] = "",
  					["open date"] = "2008-07-19",
  				},
  				["二期北段"] = {
  					["title"] = "",
  					["open date"] = "2011-12-31",
  				},
  				["二期南段"] = {
  					["title"] = "",
  					["open date"] = "2012-12-30",
  				},
  				["联络线"] = {
  					["title"] = "",
  					["open date"] = "2013-12-28",
  				},
  				["三期南段"] = {
  					["title"] = "",
  					["open date"] = "2018-12-30",
  				},
  				["四期"] = {
  					["title"] = "",
  					["open date"] = "2018-12-30",
  				},
  				["中国美术馆"] = {
  					["title"] = "",
  					["open date"] = "2018-12-30",
  				},
  				["三期北段"] = {
  					["title"] = "",
  					["open date"] = "2021-12-31",
  				},
  			},
		},
		["9"] = {
			["title"] = "[[北京地铁9号线|9号线]]",
			["color"] = "97D700",
			["left terminus"] = "国家图书馆",
			["right terminus"] = "郭公庄",
			["open date"] = "2011-12-31",
  			["types"] = {
  				["一期"] = {
  					["title"] = "",
  					["open date"] = "2011-12-31",
  				},
  				["二期"] = {
  					["title"] = "",
  					["open date"] = "2012-12-30",
  				},
			},
		},
		["10"] = {
			["title"] = "[[北京地铁10号线|10号线]]",
			["color"] = "0092BC",
			["circular"] = true,
			["left terminus"] = "外环",
			["right terminus"] = "内环",
			["open date"] = "2008-07-19",
  			["types"] = {
  				["一期"] = {
  					["title"] = "",
  					["open date"] = "2008-07-19",
  				},
  				["二期"] = {
  					["title"] = "",
  					["open date"] = "2012-12-30",
  				},
			},
		},
		["11"] = {
			["title"] = "[[北京地铁11号线|11号线]]",
			["color"] = "FF8674",
			["left terminus"] = "模式口",
			["right terminus"] = "新首钢",
			["open date"] = "2021-12-31",
  			["types"] = {
  				["模式口"] = {
  					["title"] = "",
  					["open date"] = "2023-12-30",
  				},
			},
		},
		["12"] = {
			["title"] = "[[北京地铁12号线|12号线]]",
			["color"] = "9C4F01",
			["left terminus"] = "四季青桥",
			["right terminus"] = "东坝北",
			["open date"] = "2024-12-15",
		},
		["13"] = {
			["title"] = "[[北京地铁13号线|13号线]]",
			["color"] = "F4DA40",
			["left terminus"] = "西直门",
			["right terminus"] = "东直门",
			["open date"] = "2002-09-28",
			["types"] = {
				["西段"] = {
					["title"] = "",
					["open date"] = "2002-09-28",
				},
				["东段"] = {
					["title"] = "",

					["open date"] = "2003-01-28",
				},
				["一字"] = {
					["title"] = "一字线",
					["left terminus"] = "马连洼",
					["right terminus"] = "天通苑东",
					["open date"] = "2025-12-31",
				},
			},
		},
		["14"] = {
			["title"] = "[[北京地铁14号线|14号线]]",
			["color"] = "CA9A8E",
			["left terminus"] = "张郭庄",
			["right terminus"] = "善各庄",
			["open date"] = "2013-05-05",
  			["types"] = {
  				["西段"] = {
  					["title"] = "",
  					["open date"] = "2013-05-05",
  				},
  				["东段"] = {
  					["title"] = "",
  					["open date"] = "2014-12-28",
  				},
  				["中段大部分"] = {
  					["title"] = "",
  					["open date"] = "2015-12-26",
  				},
  				["中段剩余段"] = {
  					["title"] = "",
  					["open date"] = "2021-12-31",
  				},
			},
		},
		["15"] = {
			["title"] = "[[北京地铁15号线|15号线]]",
			["color"] = "653279",
			["left terminus"] = "清华东路西口",
			["right terminus"] = "俸伯",
			["open date"] = "2010-12-30",
			["types"] = {
				["中段"] = {
					["title"] = "",
					["open date"] = "2010-12-30",
				},
				["东段"] = {
					["title"] = "",
					["open date"] = "2011-12-31",
				},
				["西段"] = {
					["title"] = "",
					["open date"] = "2014-12-28",
				},
			},
		},
		["16"] = {
			["title"] = "[[北京地铁16号线|16号线]]",
			["color"] = "6BA539",
			["left terminus"] = "北安河",
			["right terminus"] = "宛平城",
			["open date"] = "2016-12-31",
  			["types"] = {
  				["北段"] = {
  					["title"] = "",
  					["open date"] = "2016-12-31",
  				},
  				["中段"] = {
  					["title"] = "",
  					["open date"] = "2020-12-31",
  				},
  				["南段"] = {
  					["title"] = "",
  					["open date"] = "2022-12-31",
  				},
  				["剩余段"] = {
  					["title"] = "",
  					["open date"] = "2023-12-30",
  				},
			},
		},
		["17"] = {
			["title"] = "[[北京地铁17号线|17号线]]",
			["color"] = "00ABAB",
			["left terminus"] = "未来科学城北",
			["right terminus"] = "嘉会湖",
			["open date"] = "2021-12-31",
			["types"] = {
				["N"] = {
					["title"] = "北段",
					["left terminus"] = "未来科学城北",
					["right terminus"] = "工人体育场",
					["open date"] = "2021-12-31",
				},
				["S"] = {
					["title"] = "南段",
					["left terminus"] = "十里河",
					["right terminus"] = "嘉会湖",
					["open date"] = "2023-12-30",
				},
				["建设中"] = {
					["title"] = "建设中",
					["left terminus"] = "未来科学城北",
					["right terminus"] = "嘉会湖",
					["open date"] = "2025-12-31",
				},
			},
		},
		["19"] = {
			["title"] = "[[北京地铁19号线|19号线]]",
			["color"] = "D3A3C9",
			["left terminus"] = "牡丹园",
			["right terminus"] = "新宫",
			["open date"] = "2021-12-31",
			["types"] = {
				["N"] = {
					["title"] = "建设中",
					["left terminus"] = "生命谷",
					["right terminus"] = "海子角",
				},
				["建设中"] = {
					["title"] = "建设中",
					["left terminus"] = {"生命谷", "清河站"},
					["right terminus"] = "海子角",
				},
			},
		},
		["20"] = {
			["title"] = "[[北京地铁20号线|20号线]]",
			["color"] = "666666",
			["left terminus"] = "管庄路西口",
			["right terminus"] = "燕京桥"
		},
		["平"] = {
			["title"] = "[[北京地铁平谷线|平谷线]]",
			["color"] = "F4C1CA",
			["left terminus"] = "东大桥",
			["right terminus"] = "平谷",
			["open date"] = "2027-12-31",
		},
		["28"] = {
			["title"] = "[[北京地铁28号线|28号线]]",
			["color"] = "476205",
			["left terminus"] = "东大桥",
			["right terminus"] = "广渠东路",
			["open date"] = "2029-12-31",
		},
		["101"] = {
			["title"] = "[[北京城市副中心M101线|M101线]]",
			["color"] = "666666",
			["left terminus"] = "商务园",
			["right terminus"] = "小甘棠",
			["open date"] = "2027-12-31",
		},
		["亦"] = {
			["title"] = "[[北京地铁亦庄线|亦庄线]]",
			["color"] = "D0006F",
			["left terminus"] = "宋家庄",
			["right terminus"] = "亦庄火车站",
			["open date"] = "2010-12-30",
			["types"] = {
				["亦庄火车站"] = {
					["title"] = "",
					["open date"] = "2018-12-30",
				},
			},
		},
		["房"] = {
			["title"] = "[[北京地铁房山线|房山线]]",
			["color"] = "D86018",
			["left terminus"] = "东管头南",
			["right terminus"] = "阎村东",
			["open date"] = "2010-12-30",
			["types"] = {
				["一期"] = {
					["title"] = "",
					["open date"] = "2010-12-30",
				},
				["二期南段"] = {
					["title"] = "",
					["open date"] = "2017-12-30",
				},
				["二期北段"] = {
					["title"] = "",
					["open date"] = "2020-12-31",
				},
			},
		},
		["燕"] = {
			["title"] = "[[北京地铁燕房线|燕房线]]",
			["color"] = "D86018",
			["left terminus"] = "阎村东",
			["right terminus"] = "燕山",
			["open date"] = "2017-12-30",
			["types"] = {
				["建设中"] = {
					["title"] = "建设中",
					["left terminus"] = "阎村东",
					["right terminus"] = {"燕山", "周口店镇"},
				},
			},
		},
		["昌"] = {
			["title"] = "[[北京地铁昌平线|昌平线]]",
			["color"] = "D986BA",
			["left terminus"] = "昌平西山口",
			["right terminus"] = "蓟门桥",
			["open date"] = "2010-12-30",
  			["types"] = {
  				["一期"] = {
  					["title"] = "",
  					["open date"] = "2010-12-30",
  				},
  				["二期"] = {
  					["title"] = "",
  					["open date"] = "2015-12-26",
  				},
  				["清河站"] = {
  					["title"] = "",
  					["open date"] = "2021-12-31",
  				},
  				["南延"] = {
  					["title"] = "",
  					["open date"] = "2023-02-04",
  				},
  				["蓟门桥"] = {
  					["title"] = "",
  					["open date"] = "2024-12-18",
  				},
  			},
		},
		["首机"] = {
			["title"] = "[[北京地铁首都机场线|首都机场线]]",
			["color"] = "A192B2",
			["left terminus"] = "北新桥",
			["right terminus"] = "机场",
			["open date"] = "2008-07-19",

			["types"] = {
				["南延"] = {
					["title"] = "",
					["open date"] = "2021-12-31",
				},
			},

		},
		["大机"] = {
			["title"] = "[[北京地铁大兴机场线|大兴机场线]]",
			["color"] = "0049A5",
			["left terminus"] = "草桥",
			["right terminus"] = "大兴机场",
			["open date"] = "2019-09-26",
			["types"] = {
				["建设中"] = {
					["title"] = "建设中",
					["left terminus"] = "丽泽商务区",
					["right terminus"] = "大兴机场",
					["open date"] = "2025-12-31",
				},
			},
		},
		["S1"] = {
			["title"] = "[[北京地铁S1线|S1线]]",
			["color"] = "A45A2A",
			["left terminus"] = "石厂",
			["right terminus"] = "苹果园",
			["open date"] = "2017-12-30",
			["types"] = {
				["苹果园"] = {
					["title"] = "",
					["open date"] = "2021-12-31",
				},
			},
		},
	    ["亦T1"] = {
			["title"] = "[[北京亦庄新城现代有轨电车T1线|亦庄T1线]]",
			["color"] = "D22630",
			["left terminus"] = "屈庄",
			["right terminus"] = "定海园",
			["open date"] = "2020-12-31",
			["types"] = {
				["建设中"] = {
					["title"] = "建设中",
					["left terminus"] = "老观里",
					["right terminus"] = "定海园",
					["open date"] = "2030-12-31",
				},
			},
		},
		["西"] = {
			["title"] = "[[北京地铁西郊线|西郊线]]",
			["color"] = "D22630",
			["left terminus"] = "香山",
			["right terminus"] = "巴沟",
			["open date"] = "2017-12-30",
		},
	},
		
	["aliases"] = {
		["22"] = "平",
		["CBD"] = "28",
		["八通"] = "八",
		["大兴"] = "大",
		["亦庄"] = "亦",
		["24"] = "亦",
		["昌平"] = "昌",
		["27"] = "昌",
		["房山"] = "房",
		["26"] = "S1",
		["25"] = "房",
		["燕房"] = "燕",
		["首都机场"] = "首机",
		["34"] = "首机",
		["大兴机场"] = "大机",
		["35"] = "大机",
		["西郊"] = "西",
		["29"] = "西",
		["北段"] = "N",
		["南段"] = "S",
	}
}

return p