模块:Adjacent stations/testcases/Test module

local crt = "%1 station (Chongqing Rail Transit)"

local p = {
	["system title"] = "[[VR Group]]",
	["system icon"] = "[[File:HK MTR logo (PD).svg|14px|link=MTR|alt=MTR]]",
	["station format"] = {
		"%1 station",
		["Auditorium"] = crt,
		["Nanping"] = crt,
		["Chunhua Avenue"] = "[[Chunhua Avenue station|Chunhua Ave.]]",
		["Chongqing East"] = "[[Chongqing East railway station (metro)|Chongqing E.]]",
	},
	["lines"] = {
		-- terminus
		["line with no terminus"] = {
			["title"] = "line with no terminus",
		},
		["line with only left terminus"] = {
			["title"] = "line with only left terminus",
			['left terminus'] = "Tiyu Xilu",
		},
		["line with only right terminus"] = {
			["title"] = "line with only right terminus",
			['right terminus'] = "Tiaodeng",
		},
		["line with both terminus"] = {
			["title"] = "line with only left terminus",
			['left terminus'] = "Tiyu Xilu",
			['right terminus'] = "Tiaodeng",
		},
		["terminus in station format"] = {
			["title"] = "line with only left terminus",
			['left terminus'] = "Auditorium",
			['right terminus'] = "Chunhua Avenue",
		},
		["terminus with array"] = {
			["title"] = "line with only left terminus",
			['left terminus'] = {"Airport North", "Tianhe Coach Terminal"},
			['right terminus'] = {"Airport South", "Zhujiang New Town", "Auditorium"},
		},
		["line with both terminus and types"] = {
			["title"] = "line with only left terminus",
			['left terminus'] = "Tiyu Xilu",
			['right terminus'] = "Tiaodeng",
			["types"] = {
				["type with no terminus"] = {
				},
				["type with only left terminus"] = {
					['left terminus'] = "Nanping",
				},
				["type with only right terminus"] = {
					['right terminus'] = "Tiaodeng",
				},
				["type with both terminus"] = {
					['left terminus'] = "Nanping",
					['right terminus'] = "Tiaodeng",
				},
				["type of circular line"] = {
					["left terminus"] = "Tiaodeng",
					["right terminus"] = "Tangjiatuo",
					["circular"] = true
				},
			},
		},
		["circular line"] = {
			["left terminus"] = "Counter-clockwise",
			["right terminus"] = "Clockwise",
			["circular"] = true,
			["types"] = {
				["type of circular line"] = {
					["left terminus"] = "Tiaodeng",
					["right terminus"] = "Tangjiatuo",
					["circular"] = true
				},
				["type of non-circular line"] = {
					["left terminus"] = "Tiaodeng",
					["right terminus"] = "Tangjiatuo",
					["circular"] = false
				},
				["terminus with array"] = {
					['left terminus'] = {"Airport North", "Tianhe Coach Terminal"},
					['right terminus'] = {"Airport South", "Zhujiang New Town", "Auditorium"},
				},
			}
		},
		
		-- icons
		["line with title"] = {
			["title"] = "[[Green Line (San Diego Trolley)|Green Line]]",
			["color"] = "00a651",
			["icon"] = "[[File:Logo Green Line (San Diego Trolley).svg|16px]]",
		},
		["line without title"] = {
			["color"] = "00a651",
			["icon"] = "[[File:Logo Green Line (San Diego Trolley).svg|16px]]",
		},
		["line with linked title and shortname"] = {
			["title"] = "[[Green Line (San Diego Trolley)]]",
			["shortname"] = "linked short name",
			["color"] = "00a651",
			["icon"] = "[[File:Logo Green Line (San Diego Trolley).svg|16px]]",
		},
		["line with unlinked title and shortname"] = {
			["title"] = "Green Line (San Diego Trolley)",
			["shortname"] = "unlinked short name",
			["color"] = "00a651",
			["icon"] = "[[File:Logo Green Line (San Diego Trolley).svg|16px]]",
		},
		["line without title and with shortname"] = {
			["shortname"] = "short name",
			["color"] = "00a651",
			["icon"] = "[[File:Logo Green Line (San Diego Trolley).svg|16px]]",
		},
		["line without icon and with title"] = {
			["title"] = "[[Green Line (San Diego Trolley)|Green Line]]",
			["color"] = "00a651",
		},
		["line without icon and with linked title and shortname"] = {
			["title"] = "[[Green Line (San Diego Trolley)|Green Line]]",
			["shortname"] = "linked short name",
			["color"] = "00a651",
		},
		["line without icon and with unlinked title and shortname"] = {
			["title"] = "Green Line (San Diego Trolley)",
			["shortname"] = "unlinked short name",
			["color"] = "00a651",
		},
		["line without icon and title and with shortname"] = {
			["shortname"] = "short name",
			["color"] = "00a651",
		},
		["line without icon title and shortname"] = {
			["color"] = "00a651",
		},
		["line with linked title and type"] = {
			["title"] = "[[linked line title]]",
			["color"] = "8246af",
			["icon"] = "[[File:Taoyuan Metro Line Airport.svg|18px|link=Taoyuan Airport MRT]]",
			["types"] = {
				["type with title"] = {
					["title"] = "type with title",
					["color"] = "0057b8",
				},
				["type without title"] = {
					["color"] = "0057b8",
				},
				["type with linked title and shortname"] = {
					["title"] = "[[Green Line (San Diego Trolley)]]",
					["shortname"] = "linked type short name",
					["color"] = "0057b8",
				},
				["type with unlinked title and shortname"] = {
					["title"] = "Commuter",
					["shortname"] = "unlinked type short name",
					["color"] = "0057b8",
				},
				["line without title and with shortname"] = {
					["shortname"] = "type short name",
					["color"] = "0057b8",
				},
				["icon type"] = {
					["title"] = "icon title",
					["color"] = "0057b8",
					["icon"] = "[[File:Logo Blue Line (San Diego Trolley).svg|16px]]",
				},
				["link type"] = {
					["title"] = "link title",
					["icon format"] = "link",
					["color"] = "ff0000",
					["text color"] = "FFFFFF",
				},
				["link type with linked title and short name"] = {
					["title"] = "[[501 Züm Queen]]",
					["short name"] = "link type linked short name",
					["icon format"] = "link",
					["color"] = "ff0000",
					["text color"] = "FFFFFF",
				},
				["link type with unlinked title and short name"] = {
					["title"] = "501 Züm Queen",
					["short name"] = "link type unlinked short name",
					["icon format"] = "link",
					["color"] = "ff0000",
					["text color"] = "FFFFFF",
				},
				["route type"] = {
					["title"] = "route title",
					["icon format"] = "route",
					["color"] = "ff0000",
					["text color"] = "FFFFFF",
				},
				["route type with linked title and short name"] = {
					["title"] = "[[501 Züm Queen]]",
					["short name"] = "route type linked short name",
					["icon format"] = "route",
					["color"] = "ff0000",
					["text color"] = "FFFFFF",
				},
				["route type with unlinked title and short name"] = {
					["title"] = "501 Züm Queen",
					["short name"] = "route type unlinked short name",
					["icon format"] = "route",
					["color"] = "ff0000",
					["text color"] = "FFFFFF",
				},
				["croute type"] = {
					["title"] = "croute title",
					["icon format"] = "croute",
					["color"] = "ff0000",
					["text color"] = "FFFFFF",
				},
				["croute type with linked title and short name"] = {
					["title"] = "[[501 Züm Queen]]",
					["short name"] = "croute type linked short name",
					["icon format"] = "croute",
					["color"] = "ff0000",
					["text color"] = "FFFFFF",
				},
				["croute type with unlinked title and short name"] = {
					["title"] = "501 Züm Queen",
					["short name"] = "croute type unlinked short name",
					["icon format"] = "croute",
					["color"] = "ff0000",
					["text color"] = "FFFFFF",
				},
				["xroute type"] = {
					["title"] = "xroute title",
					["icon format"] = "xroute",
					["color"] = "ff0000",
					["text color"] = "FFFFFF",
				},
				["xroute type with linked title and short name"] = {
					["title"] = "[[501 Züm Queen]]",
					["short name"] = "xroute type linked short name",
					["icon format"] = "xroute",
					["color"] = "ff0000",
					["text color"] = "FFFFFF",
				},
				["xroute type with unlinked title and short name"] = {
					["title"] = "501 Züm Queen",
					["short name"] = "xroute type unlinked short name",
					["icon format"] = "xroute",
					["color"] = "ff0000",
					["text color"] = "FFFFFF",
				},
				["legend type"] = {
					["title"] = "legend title",
					["icon format"] = "legend",
					["color"] = "ff0000",
					["text color"] = "FFFFFF",
				},
				["legend type with linked title and short name"] = {
					["title"] = "[[501 Züm Queen]]",
					["short name"] = "legend type linked short name",
					["icon format"] = "legend",
					["color"] = "ff0000",
					["text color"] = "FFFFFF",
				},
				["legend type with unlinked title and short name"] = {
					["title"] = "501 Züm Queen",
					["short name"] = "legend type unlinked short name",
					["icon format"] = "legend",
					["color"] = "ff0000",
					["text color"] = "FFFFFF",
				},
			},
		},
		["line without title with type"] = {
			["color"] = "8246af",
			["icon"] = "[[File:Taoyuan Metro Line Airport.svg|18px|link=Taoyuan Airport MRT]]",
			["types"] = {
				["type with title"] = {
					["title"] = "type with title",
					["color"] = "0057b8",
				},
				["type without title"] = {
					["color"] = "0057b8",
				},
				["type with linked title and shortname"] = {
					["title"] = "[[Green Line (San Diego Trolley)]]",
					["shortname"] = "linked type short name",
					["color"] = "0057b8",
				},
				["type with unlinked title and shortname"] = {
					["title"] = "Commuter",
					["shortname"] = "unlinked type short name",
					["color"] = "0057b8",
				},
				["line without title and with shortname"] = {
					["shortname"] = "type short name",
					["color"] = "0057b8",
				},
				["icon type"] = {
					["title"] = "icon title",
					["color"] = "0057b8",
					["icon"] = "[[File:Logo Blue Line (San Diego Trolley).svg|16px]]",
				},
				["link type"] = {
					["title"] = "link title",
					["icon format"] = "link",
					["color"] = "ff0000",
					["text color"] = "FFFFFF",
				},
				["link type with linked title and short name"] = {
					["title"] = "[[501 Züm Queen]]",
					["short name"] = "link type linked short name",
					["icon format"] = "link",
					["color"] = "ff0000",
					["text color"] = "FFFFFF",
				},
				["link type with unlinked title and short name"] = {
					["title"] = "501 Züm Queen",
					["short name"] = "link type unlinked short name",
					["icon format"] = "link",
					["color"] = "ff0000",
					["text color"] = "FFFFFF",
				},
				["route type"] = {
					["title"] = "route title",
					["icon format"] = "route",
					["color"] = "ff0000",
					["text color"] = "FFFFFF",
				},
				["route type with linked title and short name"] = {
					["title"] = "[[501 Züm Queen]]",
					["short name"] = "route type linked short name",
					["icon format"] = "route",
					["color"] = "ff0000",
					["text color"] = "FFFFFF",
				},
				["route type with unlinked title and short name"] = {
					["title"] = "501 Züm Queen",
					["short name"] = "route type unlinked short name",
					["icon format"] = "route",
					["color"] = "ff0000",
					["text color"] = "FFFFFF",
				},
				["croute type"] = {
					["title"] = "croute title",
					["icon format"] = "croute",
					["color"] = "ff0000",
					["text color"] = "FFFFFF",
				},
				["croute type with linked title and short name"] = {
					["title"] = "[[501 Züm Queen]]",
					["short name"] = "croute type linked short name",
					["icon format"] = "croute",
					["color"] = "ff0000",
					["text color"] = "FFFFFF",
				},
				["croute type with unlinked title and short name"] = {
					["title"] = "501 Züm Queen",
					["short name"] = "croute type unlinked short name",
					["icon format"] = "croute",
					["color"] = "ff0000",
					["text color"] = "FFFFFF",
				},
				["xroute type"] = {
					["title"] = "xroute title",
					["icon format"] = "xroute",
					["color"] = "ff0000",
					["text color"] = "FFFFFF",
				},
				["xroute type with linked title and short name"] = {
					["title"] = "[[501 Züm Queen]]",
					["short name"] = "xroute type linked short name",
					["icon format"] = "xroute",
					["color"] = "ff0000",
					["text color"] = "FFFFFF",
				},
				["xroute type with unlinked title and short name"] = {
					["title"] = "501 Züm Queen",
					["short name"] = "xroute type unlinked short name",
					["icon format"] = "xroute",
					["color"] = "ff0000",
					["text color"] = "FFFFFF",
				},
				["legend type"] = {
					["title"] = "legend title",
					["icon format"] = "legend",
					["color"] = "ff0000",
					["text color"] = "FFFFFF",
				},
				["legend type with linked title and short name"] = {
					["title"] = "[[501 Züm Queen]]",
					["short name"] = "legend type linked short name",
					["icon format"] = "legend",
					["color"] = "ff0000",
					["text color"] = "FFFFFF",
				},
				["legend type with unlinked title and short name"] = {
					["title"] = "501 Züm Queen",
					["short name"] = "legend type unlinked short name",
					["icon format"] = "legend",
					["color"] = "ff0000",
					["text color"] = "FFFFFF",
				},
			},
		},
		["line without icon with type"] = {
			["title"] = "line without icon with type",
			["color"] = "8246af",
			["types"] = {
				["type with icon"] = {
					["title"] = "type with title",
					["icon"] = "[[File:Logo Green Line (San Diego Trolley).svg|16px]]",
					["color"] = "0057b8",
				},
				["type without icon"] = {
					["title"] = "type with title",
					["color"] = "0057b8",
				},
			},
		},
		["link line"] = {
			["title"] = "[[501 Züm Queen]]",
			["icon format"] = "link",
			["color"] = "ff0000",
			["text color"] = "FFFFFF",
		},
		["link line with linked title and short name"] = {
			["title"] = "[[501 Züm Queen]]",
			["short name"] = "link line linked short name",
			["icon format"] = "link",
			["color"] = "ff0000",
			["text color"] = "FFFFFF",
		},
		["link line with unlinked title and short name"] = {
			["title"] = "501 Züm Queen",
			["short name"] = "link line unlinked short name",
			["icon format"] = "link",
			["color"] = "ff0000",
			["text color"] = "FFFFFF",
		},
		["route line"] = {
			["title"] = "[[501 Züm Queen]]",
			["icon format"] = "route",
			["color"] = "ff0000",
			["text color"] = "FFFFFF",
		},
		["route line with linked title and short name"] = {
			["title"] = "[[501 Züm Queen]]",
			["short name"] = "route line linked short name",
			["icon format"] = "route",
			["color"] = "ff0000",
			["text color"] = "FFFFFF",
		},
		["route line with unlinked title and short name"] = {
			["title"] = "501 Züm Queen",
			["short name"] = "route line unlinked short name",
			["icon format"] = "route",
			["color"] = "ff0000",
			["text color"] = "FFFFFF",
		},
		["croute line"] = {
			["title"] = "[[501 Züm Queen]]",
			["icon format"] = "croute",
			["color"] = "ff0000",
			["text color"] = "FFFFFF",
		},
		["croute line with linked title and short name"] = {
			["title"] = "[[501 Züm Queen]]",
			["short name"] = "croute line linked short name",
			["icon format"] = "croute",
			["color"] = "ff0000",
			["text color"] = "FFFFFF",
		},
		["croute line with unlinked title and short name"] = {
			["title"] = "501 Züm Queen",
			["short name"] = "croute line unlinked short name",
			["icon format"] = "croute",
			["color"] = "ff0000",
			["text color"] = "FFFFFF",
		},
		["xroute line"] = {
			["title"] = "[[501 Züm Queen]]",
			["icon format"] = "xroute",
			["color"] = "ff0000",
			["text color"] = "FFFFFF",
		},
		["xroute line with linked title and short name"] = {
			["title"] = "[[501 Züm Queen]]",
			["short name"] = "xroute line linked short name",
			["icon format"] = "xroute",
			["color"] = "ff0000",
			["text color"] = "FFFFFF",
		},
		["xroute line with unlinked title and short name"] = {
			["title"] = "501 Züm Queen",
			["short name"] = "xroute line unlinked short name",
			["icon format"] = "xroute",
			["color"] = "ff0000",
			["text color"] = "FFFFFF",
		},
		["legend line"] = {
			["title"] = "[[501 Züm Queen]]",
			["icon format"] = "legend",
			["color"] = "ff0000",
			["text color"] = "FFFFFF",
		},
		["legend line with linked title and short name"] = {
			["title"] = "[[501 Züm Queen]]",
			["short name"] = "legend line linked short name",
			["icon format"] = "legend",
			["color"] = "ff0000",
			["text color"] = "FFFFFF",
		},
		["legend line with unlinked title and short name"] = {
			["title"] = "501 Züm Queen",
			["short name"] = "legend line unlinked short name",
			["icon format"] = "legend",
			["color"] = "ff0000",
			["text color"] = "FFFFFF",
		},
		["Uppercase line"] = {
			["title"] = "[[501 Züm Queen]]",
			["short name"] = "Uppercase line",
			["icon format"] = "legend",
			["color"] = "ff0000",
			["text color"] = "FFFFFF",
		},
	},
	["aliases"] = {
		["ll"] = "link line",
		["Link line"] = "link line",
		["uppercase line"] = "Uppercase line",
	},
}

return p