モジュール:Adjacent stations/広州地下鉄

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号线
		"燕山" = xs,
		-- 8号线
		-- 9号线
		
		-- 10号线
		
		-- 11号线
		
		-- 12号线
		-- 13号线
		-- 14号线
		-- 16号线
		
		-- 18号线
		-- 21号线
		
		-- 22号线
		
		-- 24号线
		
		-- 28号线
		-- 广佛线
		"龍渓" = xs,
		"鶴洞" = xs,
		-- APM线
		"大劇院" = xs,
		-- THZ1
		-- THP1
		
		-- THP2
	},
	"lines" = {
		"1" = {
			"title" = "1号線",
			"color" = "f3d03e",
			"left terminus" = "西塱",
			"right terminus" = "広州東駅"
		},
		"2" = {
			"title" = "2号線",
			"color" = "00629b",
			"left terminus" = "広州南駅",
			"right terminus" = "嘉禾望崗"
		},
		"3" = {
			"title" = "3号線",
			"color" = "eca154",
			"left terminus" = "海傍",
			"right terminus" = {"機場北 ", "天河バスターミナル"}
		},
		"4" = {
			"title" = "4号線",
			"color" = "00843d",
			"left terminus" = "南沙客運港",
			"right terminus" = "黄村"
		},
		"5" = {
			"title" = "5号線",
			"color" = "c5003e",
			"left terminus" = "滘口",
			"right terminus" = "黄埔新港"
		},
		"6" = {
			"title" = "6号線",
			"color" = "80225f",
			"left terminus" = "潯峰崗",
			"right terminus" = "香雪"
		},
		"7" = {
			"title" = "7号線",
			"color" = "97d700",
			"left terminus" = "美的大道",
			"right terminus" = "燕山"
		},
		"8" = {
			"title" = "8号線",
			"color" = "008c95",
			"left terminus" = "滘心",
			"right terminus" = "万勝囲"
		},
		"9" = {
			"title" = "9号線",
			"color" = "71cc98",
			"left terminus" = "飛鵝嶺",
			"right terminus" = "高増"
		},
		"10" = {
			"title" = "10号線",
			"color" = "7d9bc1",-- 未开通，标志色仅供参考
			"left terminus" = "西塱",
			"right terminus" = "天河客運駅"
		},
		"11" = {
			"title" = "11号線",
			"color" = "F5BB17",
			"circular" = true,
			"left terminus" = "外回り",
			"right terminus" = "内回り"
		},
		"12" = {
			"title" = "12号線",
			"color" = "59621d",-- 未开通，标志色仅供参考
			"left terminus" = "潯峰崗",
			"right terminus" = "大学城南"
		},
		"13" = {
			"title" = "13号線",
			"color" = "8e8c13",
			"left terminus" = "魚珠",
			"right terminus" = "新沙"
		},
		"14" = {
			"title" = "14号線",
			"color" = "81312f",
			"left terminus" = "嘉禾望崗",
			"right terminus" = "東風"
		},
		"14z" = {
			"title" = "14号線",
			"color" = "81312f",
			"left terminus" = "新和",
			"right terminus" = "鎮龍"
		},
		"15" = {
			"title" = "15号線",
			"color" = "AE8A79"-- 未开通，标志色仅供参考
		},
		"16" = {
			"title" = "16号線",
			"color" = "9E652E"-- 未开通，标志色仅供参考
		},
		"17" = {
			"title" = "17号線",
			"color" = "8B84D7"-- 未开通，标志色仅供参考
		},
		"18" = {
			"title" = "18号線",
			"color" = "0047ba",
			"left terminus" = "冼村",
			"right terminus" = "万頃沙"
		},
		"19" = {
			"title" = "19号線",
			"color" = "bb29bb"-- 未开通，标志色仅供参考
		},
		"20" = {
			"title" = "20号線",
			"color" = "d9017a"-- 未开通，标志色仅供参考
		},
		"21" = {
			"title" = "21号線",
			"color" = "201747",
			"left terminus" = "天河公園",
			"right terminus" = "増城広場"
		},
		"22" = {
			"title" = "22号線",
			"color" = "cd5228",
			"left terminus" = "陳頭崗",
			"right terminus" = "番禺広場"
		},
		"24" = {
			"title" = "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号線",
			"color" = "d42d1b",
			"left terminus" = "地下鉄香雪",
			"right terminus" = "新豊路",
		},
		"_default" = {
			"title" = "%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 .. 
	else
		p"station format"k = p"station format"v
	end
end
return p