Documentation for this module may be created at Module:Countries/Caribbean/doc

--[=[
Data defining countries for {{#invoke:Countries|main|Caribbean}}.

Output is pattern after making these substitutes:
{lang}		User's language from {{int:lang}} such as 'en' or 'de'.
{dir}		Language direction 'ltr' or 'rtl'.
{colon}		Language equivalent of ": " from {{colon|lang}}.
{XYZtitle}	Title for lang from XYZ section of defined titles.
{XYZlist}	List of countries for lang from XYZ section of defined lists.
			XYZ must consist of alphanumeric characters, preferably in [A-Za-z].
]=]
return {
	titles = {
		main = {
			default = 'Insular countries of the Caribbean',
			['be-tarask'] = 'Астраўныя краіны Карыбаў',
			ca = 'Països insulars del Carib',
			de = 'Inselländer der Karibik',
			en = 'Insular countries of the Caribbean',
			es = 'Países insulares del Caribe',
			fr = 'Pays insulaires de la Caraïbe',
			mk = 'Островски земји на Карибите',
			pt = 'Países insulares do Caribe',
			sr = 'Острвске земље Кариба',
			['sr-latn'] = 'Ostrvske zemlje Kariba',
			['zh-hans'] = '加勒比岛国',
			['zh-hant'] = '加勒比島國',
		},
		continental = {
			default = 'Continental countries',
			['be-tarask'] = 'Кантынэнтальныя краіны',
			ca = 'Països continentals',
			de = 'Kontinentale Länder',
			en = 'Continental countries',
			es = 'Países continentales',
			fr = 'Pays continentaux',
			mk = 'Континентални земји',
			pt = 'Países continentais',
			sr = 'Континенталне земље',
			['sr-latn'] = 'Kontinentalne zemlje',
			['zh-hans'] = '内陆国家',
			['zh-hant'] = '內陸國家',
		},
		other = {
			default = 'Other territories',
			af = 'Ander gebiede',
			am = 'ሌሎች ግዛቶች',
			ar = 'مناطق أخرى',
			az = 'Digər ərazilər',
			be = 'Іншыя тэрыторыі',
			['be-tarask'] = 'Іншыя тэрыторыі',
			bg = 'Други територии',
			bn = 'অন্যান্য অঞ্চল',
			bs = 'Druga područja',
			ca = 'Altres territoris',
			ceb = 'Ang ubang mga teritoryo',
			co = 'Àutri tirritori',
			cs = 'Jiných území',
			cy = 'Thiriogaethau eraill',
			da = 'Andre områder',
			de = 'Weitere Gebiete',
			el = 'Άλλα εδάφη',
			en = 'Other territories',
			eo = 'Aliaj teritorioj',
			es = 'Otros territorios',
			et = 'Muud territooriumide',
			eu = 'Beste lurralde',
			fa = 'سرزمین های دیگر',
			fi = 'Muut alueet',
			fr = 'Autres territoires',
			fy = 'Oare gebieten',
			ga = 'Críocha eile',
			gd = 'Tìrean eile',
			gl = 'Outros territorios',
			gu = 'અન્ય પ્રદેશો',
			ha = 'Sauran yankuna',
			haw = 'Nā panalāʻau e noho',
			he = 'טריטוריות אחרות',
			hi = 'अन्य प्रदेश',
			hmn = 'Lwm yam cheeb tsam',
			hr = 'Ostala područja',
			ht = 'Lòt teritwa',
			hu = 'Más területeken',
			hy = 'այլ տարածքներ',
			id = 'Wilayah lainnya',
			ig = 'Ọzọ n’ókèala',
			is = 'Önnur svæði',
			it = 'Altri territori',
			ja = 'その他の地域',
			jv = 'Wilayah liyane',
			ka = 'სხვა ტერიტორიები',
			kk = 'Ѳзге де аумақтары',
			km = 'ទឹកដីផ្សេងទៀត',
			kn = 'ಇತರ ಪ್ರದೇಶಗಳು',
			ko = '기타 지역',
			ku = 'Deverên din',
			ky = 'Башка аймактар',
			la = 'Alios fines',
			lb = 'Aneren Territoiren',
			lo = 'ອານາເຂດອື່ນໆ',
			lt = 'Kitos teritorijos',
			lv = 'Citas teritorijas',
			mg = 'Faritra hafa',
			mi = 'Atu rohe',
			mk = 'Други подрачја',
			ml = 'മറ്റ് ഭൂപ്രദേശങ്ങൾ',
			mn = 'Бусад нутаг дэвсгэрүүд',
			mr = 'इतर प्रदेश',
			ms = 'Wilayah lain',
			mt = 'Territorji oħrajn',
			my = 'သည်အခြားနယ်မြေများတွင်',
			ne = 'अन्य क्षेत्रहरूमा',
			nl = 'Andere gebieden',
			no = 'Andre territorier',
			ny = 'M’madera ena',
			pa = 'ਹੋਰ ਇਲਾਕਿਆਂ',
			pl = 'Inne terytoria',
			ps = 'د نورو سیمو',
			pt = 'Outros territórios',
			ro = 'Alte teritorii',
			ru = 'Другие территории',
			sd = 'ٻين جي حدن ۾',
			si = 'අනෙකුත් බලප්රදේශ',
			sk = 'Na iných územiach',
			sl = 'Druga območja',
			sm = 'Isi oganuu',
			sn = 'Dzimwe ndima',
			so = 'Dhulal kale',
			sq = 'Territore të tjera',
			sr = 'Друге територије',
			['sr-latn'] = 'Druge teritorije',
			st = 'Masimong a mang',
			su = 'Wewengkon séjén',
			sv = 'Andra territorier',
			sw = 'Maeneo mengine',
			ta = 'மற்ற பிரதேசங்கள்',
			te = 'ఇతర భూభాగాలు',
			tg = 'Ҳудудҳои дигар',
			th = 'ดินแดนอื่น ๆ',
			tl = 'Iba pang mga teritoryo',
			tr = 'Diğer bölgeler',
			uk = 'Інші території',
			ur = 'دوسرے علاقے',
			uz = 'Boshqa hududlar',
			vi = 'Lãnh thổ khác',
			xh = 'Neminye imimandla',
			yi = 'אנדערע טעראַטאָריז',
			yo = 'miiran ilẹ',
			['zh-hans'] = '其他地区',
			['zh-hant'] = '其他地區',
			zu = 'Ezinye izigceme',
		},
	},
	pattern =
		'<div lang="{lang}" dir="{dir}" class="catlinks" ' ..
		'style="clear:none;margin:2px 0;padding:2px;font-size:88%;line-height:normal">' ..
		'<em>{maintitle}{colon}</em>{mainlist}<br /> ' ..
		'<em>{continentaltitle}{colon}</em>{continentallist}<br /> ' ..
		'<em>{othertitle}{colon}</em>{otherlist}' ..
		'</div>',
	simple = {
		pattern =
			'<div lang="{lang}" dir="{dir}" class="catlinks" ' ..
			'style="clear:none;margin:2px 0;padding:2px;font-size:88%;line-height:normal">' ..
			'<em>{maintitle}{colon}</em>{mainlist}' ..
			'</div>',
		sections = {
			-- List of sections to be displayed if simple=yes.
			-- Each value is a table identifying any country code that is added to that section only if simple=yes.
			main = {
				AI = true,
				AW = true,
				BL = true,
				CW = true,
				GF = true,
				GP = true,
				KY = true,
				MF = true,
				MQ = true,
				MS = true,
				NLCAR = true,
				PR = true,
				SX = true,
				TC = true,
				UMNAV = true,
				USFLK = true,
				VG = true,
				VI = true,
			},
		},
	},
	lists = {
		-- List of countries in an order suitable for display in the specified language.
		main = {
			default     = 'automatic sorted',  -- currently unused because en is defined below
			en          = 'automatic sorted',  -- this applies with uselang=XX where XX is not defined below
			english     = 'automatic',         -- this applies with uselang=en (don't sort, use the automatic list directly)
			automatic   = 'AG BS BB CU DM DO GD HT JM KN LC VC TT',
			['zh-hans'] = 'AG BB BS DO DM GD CU HT KN LC VC TT JM',
			['zh-hant'] = 'AG BB BS DM DO GD CU HT TT KN LC VC JM',
			['zh-hk']   = 'AG BB BS DO DM GD CU HT TT KN LC VC JM', -- use 'zh-hans'?
		},
		continental = {
			default     = 'automatic sorted',  -- currently unused because en is defined below
			en          = 'automatic sorted',  -- this applies with uselang=XX where XX is not defined below
			english     = 'automatic',  -- this applies with uselang=en (don't sort, use the automatic list directly)
			automatic   = 'BZ CO CR GT GY HN MX NI PA SR VE',
			['zh-hans'] = 'PA BZ CO CR GY HN MX NI SR GT VE',
			['zh-hant'] = 'PA BZ CO CR GT GY HN MX NI SR VE',
			['zh-hk']   = 'PA BZ CO CR GY HN MX NI SR GT VE', -- use 'zh-hans'?
		},
		other = {
			default     = 'automatic sorted', -- currently unused because en is defined below
			en          = 'automatic sorted', -- this applies with uselang=XX where XX is not defined below
			english     = 'automatic',        -- this applies with uselang=en (don't sort, use the automatic list directly)
			automatic   = 'AI AW VG KY CW USFLK GF GP MQ NLCAR MS UMNAV PR BL MF SX TC VI',
			['zh-hans'] = 'AW AI PR GF MF USFLK GP NLCAR SX KY CW MQ VI MS UMNAV BL TC VG',
			['zh-hant'] = 'AW AI PR GF MF USFLK GP CW NLCAR SX KY MQ VI MS UMNAV BL TC VG',
			['zh-hk']   = 'AW AI PR GF MF USFLK GP NLCAR SX KY CW MQ VI MS UMNAV BL TC VG', -- use 'zh-hans'?
		},
	},
	countries = {
		-- Keys are arbitraly set as capital codes from ISO3166-1, possibly extended with ISO3166-2, or longer for specific areas.
		-- They must match codes used in the above lists, but have otherwise no other implied meaning outside this module.
		-- The given name given must match a target category name in English to match in Commons (possibly prefixed by "the" where indicated).
		-- The qid must match the topic in Commons, used to translate the displayed labels.
		-- The list below is sorted by the given labels, allowing to create easily the default "automatic" order used directly for English.
		AI    = { 'Anguilla',                qid = 'Q25228', },
		AG    = { 'Antigua and Barbuda',     qid = 'Q781', },
		AW    = { 'Aruba',                   qid = 'Q21203', },
		BS    = { 'Bahamas',                 qid = 'Q778', the = true, },
		BB    = { 'Barbados',                qid = 'Q244', },
		BZ    = { 'Belize',                  qid = 'Q242', },
		VG    = { 'British Virgin Islands',  qid = 'Q25305', the = true, },
		KY    = { 'Cayman Islands',          qid = 'Q5785', the = true, },
		CO    = { 'Colombia',                qid = 'Q739', },
		CR    = { 'Costa Rica',              qid = 'Q800', },
		CU    = { 'Cuba',                    qid = 'Q241', },
		CW    = { 'Curaçao',                 qid = 'Q25279', },
		DM    = { 'Dominica',                qid = 'Q784', },
		DO    = { 'Dominican Republic',      qid = 'Q786', the = true, },
		NLCAR = { 'Dutch Caribbean',         qid = 'Q5317255', the = true, },
		USFLK = { 'Florida Keys',            qid = 'Q537749', the = true, },
		GF    = { 'French Guiana',           qid = 'Q3769', },
		GP    = { 'Guadeloupe',              qid = 'Q17012', },
		GD    = { 'Grenada',                 qid = 'Q769', },
		GT    = { 'Guatemala',               qid = 'Q774', },
		GY    = { 'Guyana',                  qid = 'Q734', },
		HT    = { 'Haiti',                   qid = 'Q790', },
		HN    = { 'Honduras',                qid = 'Q783', },
		JM    = { 'Jamaica',                 qid = 'Q766', },
		MX    = { 'Mexico',                  qid = 'Q96', },
		MQ    = { 'Martinique',              qid = 'Q17054', },
		MS    = { 'Montserrat',              qid = 'Q13353', },
		UMNAV = { 'Navassa Island',          qid = 'Q25359', },
		NI    = { 'Nicaragua',               qid = 'Q811', },
		PA    = { 'Panama',                  qid = 'Q804', },
		PR    = { 'Puerto Rico',             qid = 'Q1183', },
		BL    = { 'Saint-Barthélemy',        qid = 'Q25362', },
		KN    = { 'Saint Kitts and Nevis',   qid = 'Q763', },
		LC    = { 'Saint Lucia',             qid = 'Q760', },
		MF    = { 'Saint-Martin (France)',   qid = 'Q126125', },
		VC    = { 'Saint Vincent and the Grenadines',
						     qid = 'Q757', },
		SR    = { 'Suriname',                qid = 'Q730', },
		SX    = { 'Sint Maarten, Dutch Caribbean',
                          'Sint Maarten',            qid = 'Q26273', },
		TT    = { 'Trinidad and Tobago',     qid = 'Q754', },
		TC    = { 'Turks and Caicos Islands',
						     qid = 'Q18221', the = true, },
		UM    = { 'United States Minor Outlying Islands',
						     qid = 'Q16645', the = true, },
		VI    = { 'United States Virgin Islands',
						     qid = 'Q11703', the = true, },
		VE    = { 'Venezuela',               qid = 'Q717', },
	},
}
Community content is available under CC-BY-SA unless otherwise noted.