local x = "%1駅 (広州)"
local xs = "%1駅 (広州市)"
local y = "%1駅 (地下鉄)"
local yn = "%1 (地下鉄)"
local z = "%1駅 (広州地下鉄)"
local fs = "%1駅 (仏山)"

local p = {
	["system title"] = "[[広州地下鉄]]",
	["station format"] = {
		"%1駅",
		-- 消歧义
		-- 1号线
		["坑口"] = xs,
		["芳村"] = xs,
		["長寿路"] = xs,
		["西門口"] = xs,
		["公園前"] = xs,
		["体育中心"] = xs,

		-- 2号线
		["南浦"] = xs,

		-- 3号线
		["機場北"] = xs,
		["大石"] = xs,
		["市橋"] = xs,

		-- 4号线
		["黄村"] = xs,
		["東涌"] = xs,
		["慶盛"] = z,
		["塘坑"] = xs,

		-- 5号线
		["動物園"] = xs,

		-- 6号线
		["文化公園"] = xs,

		-- 7号线

		-- 8号线

		-- 9号线
		
		-- 10号线
		
		-- 11号线
		
		-- 12号线

		-- 13号线

		-- 14号线

		-- 16号线
		
		-- 18号线

		-- 21号线
		
		-- 22号线
		
		-- 24号线
		
		-- 28号线

		-- 广佛线
		["龍渓"] = xs,
		["鶴洞"] = xs,

		-- APM线
		["大劇院"] = xs,

		-- THZ1

		-- THP1
		
		-- THP2
	},
	["lines"] = {
		["1"] = {
			["title"] = "[[広州地下鉄1号線|1号線]]",
			["color"] = "f3d03e",
			["left terminus"] = "西塱",
			["right terminus"] = "広州東駅"
		},
		["2"] = {
			["title"] = "[[広州地下鉄2号線|2号線]]",
			["color"] = "00629b",
			["left terminus"] = "広州南駅",
			["right terminus"] = "嘉禾望崗"
		},
		["3"] = {
			["title"] = "[[広州地下鉄3号線|3号線]]",
			["color"] = "eca154",
			["left terminus"] = "番禺広場",
			["right terminus"] = {"機場北 ", "天河バスターミナル"}
		},
		["4"] = {
			["title"] = "[[広州地下鉄4号線|4号線]]",
			["color"] = "00843d",
			["left terminus"] = "南沙客運港",
			["right terminus"] = "黄村"
		},
		["5"] = {
			["title"] = "[[広州地下鉄5号線|5号線]]",
			["color"] = "c5003e",
			["left terminus"] = "滘口",
			["right terminus"] = "文沖"
		},
		["6"] = {
			["title"] = "[[広州地下鉄6号線|6号線]]",
			["color"] = "80225f",
			["left terminus"] = "潯峰崗",
			["right terminus"] = "香雪"
		},
		["7"] = {
			["title"] = "[[広州地下鉄7号線|7号線]]",
			["color"] = "97d700",
			["left terminus"] = "美的大道",
			["right terminus"] = "大学城南"
		},
		["8"] = {
			["title"] = "[[広州地下鉄8号線|8号線]]",
			["color"] = "008c95",
			["left terminus"] = "滘心",
			["right terminus"] = "万勝囲"
		},
		["9"] = {
			["title"] = "[[広州地下鉄9号線|9号線]]",
			["color"] = "71cc98",
			["left terminus"] = "飛鵝嶺",
			["right terminus"] = "高増"
		},
		["10"] = {
			["title"] = "[[広州地下鉄10号線|10号線]]",
			["color"] = "7d9bc1",-- 未开通,标志色仅供参考
			["left terminus"] = "西塱",
			["right terminus"] = "天河客運駅"
		},
		["11"] = {
			["title"] = "[[広州地下鉄11号線|11号線]]",
			["color"] = "470a68",-- 未开通,标志色仅供参考
			["circular"] = true,
			["left terminus"] = "外回り",
			["right terminus"] = "内回り"
		},
		["12"] = {
			["title"] = "[[広州地下鉄12号線|12号線]]",
			["color"] = "59621d",-- 未开通,标志色仅供参考
			["left terminus"] = "潯峰崗",
			["right terminus"] = "大学城南"
		},
		["13"] = {
			["title"] = "[[広州地下鉄13号線|13号線]]",
			["color"] = "8e8c13",
			["left terminus"] = "魚珠",
			["right terminus"] = "新沙"
		},
		["14"] = {
			["title"] = "[[広州地下鉄14号線|14号線]]",
			["color"] = "81312f",
			["left terminus"] = "嘉禾望崗",
			["right terminus"] = "東風"
		},
		["14z"] = {
			["title"] = "[[広州地下鉄14号線|14号線]]",
			["color"] = "81312f",
			["left terminus"] = "新和",
			["right terminus"] = "鎮龍"
		},
		["15"] = {
			["title"] = "[[広州地下鉄15号線|15号線]]",
			["color"] = "AE8A79"-- 未开通,标志色仅供参考
		},
		["16"] = {
			["title"] = "[[広州地下鉄16号線|16号線]]",
			["color"] = "9E652E"-- 未开通,标志色仅供参考
		},
		["17"] = {
			["title"] = "[[広州地下鉄17号線|17号線]]",
			["color"] = "8B84D7"-- 未开通,标志色仅供参考
		},
		["18"] = {
			["title"] = "[[広州地下鉄18号線|18号線]]",
			["color"] = "0047ba",
			["left terminus"] = "冼村",
			["right terminus"] = "万頃沙"
		},
		["19"] = {
			["title"] = "[[広州地下鉄19号線|19号線]]",
			["color"] = "bb29bb"-- 未开通,标志色仅供参考
		},
		["20"] = {
			["title"] = "[[広州地下鉄20号線|20号線]]",
			["color"] = "d9017a"-- 未开通,标志色仅供参考
		},
		["21"] = {
			["title"] = "[[広州地下鉄21号線|21号線]]",
			["color"] = "201747",
			["left terminus"] = "員村",
			["right terminus"] = "増城広場"
		},
		["22"] = {
			["title"] = "[[広州地下鉄22号線|22号線]]",
			["color"] = "cd5228",
			["left terminus"] = "陳頭崗",
			["right terminus"] = "番禺広場"
		},
		["24"] = {
			["title"] = "[[広州地下鉄24号線|24号線]]",
			["color"] = "bbbbbb",-- 未开通,标志色未知
			["left terminus"] = "広州北駅",
			["right terminus"] = "紀念堂"
		},
		["広仏"] = {
			["title"] = "[[広仏地下鉄|広仏線]]",
			["color"] = "c4d600",
			["left terminus"] = "新城東",
			["right terminus"] = "瀝滘"
		},
		["APM"] = {
			["title"] = "[[珠江新城新交通システム線|APM線]]",
			["color"] = "00b5e2",
			["left terminus"] = "広州塔",
			["right terminus"] = "林和西"
		},
		["THZ1"] = {
			["title"] = "[[広州海珠環島新型有軌電車|海珠有軌1号線]]",
			["color"] = "43b02a",
			["left terminus"] = "広州塔",
			["right terminus"] = "万勝囲"
		},
		["THP1"] = {
			["title"] = "[[広州黄埔有軌電車1号線|黄埔有軌1号線]]",
			["color"] = "d42d1b",
			["left terminus"] = "地下鉄香雪",
			["right terminus"] = "新豊路",
		},
		["_default"] = {
			["title"] = "[[広州地下鉄%1号線|%1号線]]",
			["color"] = "bbbbbb"
		},
	},
	["aliases"] = {
		["GF"] = "広仏",
		["gf"] = "広仏",
		["guangfo"] = "広仏",
		["a"] = "APM",
		["apm"] = "APM",
		["k"] = "14",
		["kc"] = "14",
		['海珠1'] = 'THP1',
		["thz1"] = "THZ1",
		["THZ1"] = "THZ1",
		['黄埔1'] = 'THP1',
		['thp1'] = 'THP1',
		['THP1'] = 'THP1',
	}
}
local stationAliases = {
	-- 同站名转换
	-- 1号线
	['西ロウ'] = '西塱',
	['広州東'] = '広州東駅',

	-- 2号线
	['広州南'] = '広州南駅',
	['広州'] = '広州駅',
	
	-- 3号线
	["瀝キョウ"] = "瀝滘",
	["廈キョウ"] = "廈滘",
   	["天河客運"] = "天河客運駅",
	["番禺客運"] = "番禺客運駅",
	
	-- 4号线

	-- 5号线
	["キョウ口"] = "滘口",

	-- 6号线

	-- 7号线

	-- 8号线

	-- 9号线
	["清フ"] = "清㘵",
	['広州北'] = '広州北駅',

	-- 10号线

	-- 11号线

	-- 12号线

	-- 13号线

	-- 14号线
   	["従化客運"] = "従化客運駅",

	-- 18号线

	-- 21号线

	-- 22号线
   	["白雲"] = "白雲駅",

	-- 24号线

	-- 28号线
	["仏山西"] = "仏山西駅",

	-- 广佛线
	["ライ崗"] = "𧒽崗",
	["虫雷崗"] = '𧒽崗',
	["仏山東平"] = '東平',
	
	-- APM

	-- THZ1

	-- THP1

	-- THP2

}
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