模块:Adjacent stations/上海地铁

来自悠日計画 維基百科 ~ Yuuni Wiki
Santorsia留言 | 贡献2022年10月26日 (三) 02:40的版本 (导入1个版本)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

此模块的文档可以在模块:Adjacent stations/上海地铁/doc创建

local x = "%1站 (上海市)"
local y = "%1站 (上海)"

local p = {
	["system title"] = "[[上海地铁]]",
	["station format"] = {
		"%1站",
		-- 消歧义
		-- 1号线
		["人民广场"] = x,
		["中山北路"] = x,
		
		-- 2号线
		["中山公园"] = x,
		["世纪大道"] = x,
		
		-- 3号线
		["延安西路"] = x,
		["友谊路"] = x,
		["长江南路"] = x,
		
		-- 4號線
		["鲁班路"] = x,
		["4号线浦电路"] = "[[浦电路站 (4号线)|浦电路]]",

		-- 5号线
		["环城东路"] = x,
		["西渡"] = x,
		
		-- 6号线
		["6号线浦电路"] = "[[浦电路站 (6号线)|浦电路]]",
		
		-- 7号线
		["长寿路"] = x,
	
		-- 8号线
		["大世界"] = y,

		-- 9号线
		["小南门"] = x,
		["七宝"] = "[[七宝站 (地铁)|七宝]]",

		-- 10号线
		["高桥"] = x,
		["高桥西"] = x,
		["交通大学"] = x,
		["五角场"] = x,

		-- 11号线
		["迪士尼"] = x,
		["云锦路"] = x,
		["龙华"] = x,
		["南翔"] = "[[南翔站 (地铁)|南翔]]",
		["安亭"] = "[[安亭站 (地铁)|安亭]]",
		["花桥"] = "[[花桥站 (地铁)|花桥]]",

		-- 12号线
        ["金海路"] = x,
		-- 13号线

		-- 14号线
		["封浜"] = "[[封浜站 (地铁)|封浜]]",

		-- 15号线

		-- 16号线
		["新场"] = x,

		-- 17号线

		-- 18号线
		["周浦"] = x,
		["繁荣路"] = x,
		["下沙"] = x,
		
		-- 模板格式需要
		['外圈'] = "外圈",
		['内圈'] = "内圈",
		["奉贤新城/闵行开发区"] = "[[奉贤新城站|奉贤新城]]/[[闵行开发区站|闵行开发区]]",
		["虹桥火车站/航中路"] = "[[虹桥火车站站|虹桥火车站]]/[[航中路站|航中路]]",
		["嘉定北/花桥"] = "[[嘉定北站|嘉定北]]/[[花桥站 (地铁)|花桥]]",
	},
	["lines"] = {
		["1"] = {
			["title"] = "[[上海轨道交通1号线|1号线]]",
			["color"] = "E3022A",
			["left terminus"] = "莘庄",
			["right terminus"] = "富锦路"
		},
		["2"] = {
			["title"] = "[[上海轨道交通2号线|2号线]]",
			["color"] = "82BF24",
			["left terminus"] = "徐泾东",
			["right terminus"] = "浦东国际机场",
		    ["types"] = {
				["建设中"] = {
					["title"] = "<div class='smA'>建设中</div>",
					["left terminus"] = "蟠祥路"
				},
			},
        },
		["3"] = {
			["title"] = "[[上海轨道交通3号线|3号线]]",
			["color"] = "FBD601",
			["left terminus"] = "上海南站",
			["right terminus"] = "江杨北路"
		},
		["4"] = {
			["title"] = "[[上海轨道交通4号线|4号线]]",
			["color"] = "461D85",
			["circular"] = true,
			["left terminus"] = "外环",
			["right terminus"] = "内环"
		},
		["5"] = {
			["title"] = "[[上海轨道交通5号线|5号线]]",
			["color"] = "944B9A",
			["left terminus"] = "莘庄",
			["right terminus"] = "奉贤新城/闵行开发区",
			["types"] = {
				["主线"] = {
					["title"] = "",
					["right terminus"] = "奉贤新城",
				    ["types"] = {
                        ["规划中"] = {
                            ["title"] = "<div class='smA'>规划中</div>",
                            ["right terminus"] = "平庄公路"
                        },
                    },
                },
				["支线"] = {
					["title"] = "",
					["right terminus"] = "闵行开发区"
		        },
			},
		},
		["6"] = {
			["title"] = "[[上海轨道交通6号线|6号线]]",
			["color"] = "E20066",
			["left terminus"] = "港城路",
			["right terminus"] = "东方体育中心"
		},
		["7"] = {
			["title"] = "[[上海轨道交通7号线|7号线]]",
			["color"] = "EC6E00",
			["left terminus"] = "美兰湖",
			["right terminus"] = "花木路"
		},
		["8"] = {
			["title"] = "[[上海轨道交通8号线|8号线]]",
			["color"] = "0095D9",
			["left terminus"] = "市光路",
			["right terminus"] = "沈杜公路"
		},
		["9"] = {
			["title"] = "[[上海轨道交通9号线|9号线]]",
			["color"] = "87C9EC",
			["left terminus"] = "松江南站",
			["right terminus"] = "曹路",
            ["types"] = {
				["规划中"] = {
					["title"] = "<div class='smA'>规划中</div>",
					["right terminus"] = "曹路火车站"
				},
			},
		},
		["10"] = {
			["title"] = "[[上海轨道交通10号线|10号线]]",
			["color"] = "C7AFD3",
			["left terminus"] = "虹桥火车站/航中路",
			["right terminus"] = "基隆路",
			["types"] = {
				["主线"] = {
					["title"] = "",
					["left terminus"] = "虹桥火车站"
				},
				["支线"] = {
					["title"] = "",
					["left terminus"] = "航中路"
				},
			},
		},
		["11"] = {
			["title"] = "[[上海轨道交通11号线|11号线]]",
			["color"] = "861A2A",
			["left terminus"] = "嘉定北/花桥",
			["right terminus"] = "迪士尼",
			["types"] = {
				["主线"] = {
					["title"] = "",
					["left terminus"] = "嘉定北"
				},
				["支线"] = {
					["title"] = "",
					["left terminus"] = "花桥"
				},
			},
		},
		["12"] = {
			["title"] = "[[上海轨道交通12号线|12号线]]",
			["color"] = "00785F",
			["left terminus"] = "七莘路",
			["right terminus"] = "金海路",
			["types"] = {
				["建设中"] = {
					["title"] = "<div class='smA'>建设中</div>",
					["left terminus"] = "洞泾"
				},
			},
		},
		["13"] = {
			["title"] = "[[上海轨道交通13号线|13号线]]",
			["color"] = "E799C0",
			["left terminus"] = "金运路",
			["right terminus"] = "张江路",
			["types"] = {
				["建设中"] = {
					["title"] = "<div class='smA'>建设中</div>",
					["left terminus"] = "诸光路",
				},
				["规划中"] = {
					["title"] = "<div class='smA'>规划中</div>",
					["right terminus"] = "丹桂路"
				},
            },
		},
		["14"] = {
			["title"] = "[[上海轨道交通14号线|14号线]]",
			["color"] = "616020",
			["left terminus"] = "封浜",
			["right terminus"] = "桂桥路"
		},
		["15"] = {
			["title"] = "[[上海轨道交通15号线|15号线]]",
			["color"] = "CAB48F",
			["left terminus"] = "顾村公园",
			["right terminus"] = "紫竹高新区"
		},
		["16"] = {
			["title"] = "[[上海轨道交通16号线|16号线]]",
			["color"] = "98D1C0",
			["left terminus"] = "龙阳路",
			["right terminus"] = "滴水湖"
		},
		["17"] = {
			["title"] = "[[上海轨道交通17号线|17号线]]",
			["color"] = "BC7970",
			["left terminus"] = "虹桥火车站",
			["right terminus"] = "东方绿舟",
            ["types"] = {
				["建设中"] = {
					["title"] = "<div class='smA'>建设中</div>",
					["right terminus"] = "西岑"
				}
			}
		},
		["18"] = {
			["title"] = "[[上海轨道交通18号线|18号线]]",
			["color"] = "C4984F",
			["left terminus"] = "长江南路",
			["right terminus"] = "航头",
			["types"] = {
				["建设中"] = {
					["title"] = "<div class='smA'>建设中</div>",
					["left terminus"] = "大康路"
				}
			}
		},
		["19"] = {
			["title"] = "[[上海轨道交通19号线|19号线]]",
			["color"] = "48864D",
		},
		["20"] = {
			["title"] = "[[上海轨道交通20号线|20号线]]",
			["color"] = "666666",
            ["left terminus"] = "金昌路",
			["right terminus"] = "上海马戏城"
		},
		["21"] = {
			["title"] = "[[上海轨道交通21号线|21号线]]",
			["color"] = "D6C66C",
            ["left terminus"] = "东靖路",
			["right terminus"] = "六陈路"
		},
		["23"] = {
			["title"] = "[[上海轨道交通23号线|23号线]]",
			["color"] = "E0815E",
            ["left terminus"] = "闵行开发区",
			["right terminus"] = "上海体育场"
		},
		["崇"] = {
			["title"] = "[[上海轨道交通崇明线|崇明线]]",
			["color"] = "6BB392",
            ["left terminus"] = "金吉路",
			["right terminus"] = "长兴岛",
			["types"] = {
				["规划中"] = {
					["title"] = "<div class='smA'>规划中</div>",
					["right terminus"] = "裕安"
				}
			}
		},
		["浦"] = {
			["title"] = "[[上海轨道交通浦江线|浦江线]]",
			["color"] = "B6B6B6",
			["left terminus"] = "沈杜公路",
			["right terminus"] = "汇臻路"
		},
		["磁"] = {
			["title"] = "[[上海磁浮示范运营线|磁浮线]]",
			["color"] = "0E7572",
			["left terminus"] = "龙阳路",
			["right terminus"] = "浦东国际机场"
		},
		["金山"] = {
			["title"] = "[[金山铁路|金山线]]",
			["color"] = "000000",
			["left terminus"] = "上海南",
			["right terminus"] = "金山卫"
		},
		["机联"] = {
			["title"] = "[[上海轨道交通机场联络线|机场联络线]]",
			["color"] = "266883",
			["left terminus"] = "虹桥",
			["right terminus"] = "上海东"
		},
		["嘉闵"] = {
			["title"] = "[[上海轨道交通嘉闵线|嘉闵线]]",
			["color"] = "733C54",
			["left terminus"] = "城北路",
			["right terminus"] = "银都路"
		},
	    ["南汇"] = {
			["title"] = "[[上海轨道交通南汇支线|南汇支线]]",
			["color"] = "0033c9",
			["left terminus"] = "浦东机场T3航站楼/上海东",
			["right terminus"] = "临港开放区",
			["types"] = {
				["主线"] = {
					["title"] = "",
					["left terminus"] = "浦东机场T3航站楼"
				},
				["支线"] = {
					["title"] = "",
					["left terminus"] = "上海东"
				},
			},
		},
		["示范区"] = {
			["title"] = "[[上海示范区线|示范区线]]",
			["color"] = "0033c9",
			["left terminus"] = "芳乐路",
			["right terminus"] = "水乡客厅"
		},
	},
	["aliases"] = {
		["M"] = "磁",
		["m"] = "磁",
		["maglev"] = "磁",
		["磁浮"] = "磁",
		["P"] = "浦",
		["p"] = "浦",
		["pjl"] = "浦",
		["PJL"] = "浦",
		["浦江"] = "浦",
		["C"] = "崇",
		["c"] = "崇",
		["cml"] = "崇",
		["CML"] = "崇",
		["崇明"] = "崇",
	}
}

return p