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

-- Data defining countries for {{#invoke:Countries|main|Americas}}.

--[=[ 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 en alphabetic characters [A-Za-z].
]=]
return {
	pattern =
		'<div lang="{lang}" dir="{dir}" class="catlinks" style=' ..
		'"margin:2px 0;padding:2px;font-size:smaller;line-height:normal">' ..
		'<em>{maintitle}{colon}</em>{mainlist}' ..
		'<br /><em>{othertitle}{colon}</em>{otherlist}' ..
		'</div>',
	titles = {
		main = {
			default = 'Countries of the Americas',
			de = 'Staaten in Amerikas',
			en = 'Countries of the Americas',
			es = 'Países de América',
			fr = "Pays d'Amériques",
			nl = 'Landen van Amerikas',
			pt = 'Países da Américas',
			uk = 'Країни Північної та Південної Америки',
		},
		other = {
			default = 'Other areas',
			de = 'Weitere Gebiete',
			en = 'Other areas',
			es = 'Otros territorios',
			fr = 'Autres territoires',
			nl = 'Andere gebieden',
			pt = 'Outras áreas',
		},
	},
	lists = {
		-- List of countries in an order suitable for display in the specified language.
		main = {
			automatic = 'AG AR BS BB BZ BO BR CA CL CO CR CU DM DO EC SV GD GT GY HT HN JM MX NI PA PY PE KN LC VC SR TT US UY VE',
			english = 'automatic',  -- this applies with uselang=en
			default = 'automatic sorted',  -- currently unused because en is defined
			en = 'automatic sorted',  -- this applies with uselang=XX where XX is not defined here
		},
		other = {
			automatic = 'AI BM VG KY DUCAR FK FLKEY GF GL GP MQ MS PR MF PM GS TC VI',
			english = 'automatic',
			default = 'automatic sorted',
			en = 'automatic sorted',
		},
	},
	countries = {
		AG   = { 'Antigua and Barbuda',     qid = 'Q781', },
		AR   = { 'Argentina',               qid = 'Q414', },
		BS   = { 'Bahamas',                 qid = 'Q778', the = true, },
		BB   = { 'Barbados',                qid = 'Q244', },
		BZ   = { 'Belize',                  qid = 'Q242', },
		BO   = { 'Bolivia',                 qid = 'Q750', },
		BR   = { 'Brazil',                  qid = 'Q155', },
		CA   = { 'Canada',                  qid = 'Q16', },
		CL   = { 'Chile',                   qid = 'Q298', },
		CO   = { 'Colombia',                qid = 'Q739', },
		CR   = { 'Costa Rica',              qid = 'Q800', },
		CU   = { 'Cuba',                    qid = 'Q241', },
		DM   = { 'Dominica',                qid = 'Q784', },
		DO   = { 'Dominican Republic',      qid = 'Q786', the = true, },
		EC   = { 'Ecuador',                 qid = 'Q736', },
		SV   = { 'El Salvador',             qid = 'Q792', },
		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', },
		NI   = { 'Nicaragua',               qid = 'Q811', },
		PA   = { 'Panama',                  qid = 'Q804', },
		PY   = { 'Paraguay',                qid = 'Q733', },
		PE   = { 'Peru',                    qid = 'Q419', },
		KN   = { 'Saint Kitts and Nevis',   qid = 'Q763', },
		LC   = { 'Saint Lucia',             qid = 'Q760', },
		VC   = { 'Saint Vincent and the Grenadines', qid = 'Q757', },
		SR   = { 'Suriname',                qid = 'Q730', },
		TT   = { 'Trinidad and Tobago',     qid = 'Q754', },
		US   = { 'United States',           qid = 'Q30', the = true, },
		UY   = { 'Uruguay',                 qid = 'Q77', },
		VE   = { 'Venezuela',               qid = 'Q717', },
		AI   = { 'Anguilla',                qid = 'Q25228', },
		BM   = { 'Bermuda',                 qid = 'Q23635', },
		VG   = { 'British Virgin Islands',  qid = 'Q25305', the = true, },
		KY   = { 'Cayman Islands',          qid = 'Q5785', the = true, },
		DUCAR= { 'Dutch Caribbean',         qid = 'Q5317255', the = true, },
		FK   = { 'Falkland Islands',        qid = 'Q9648', the = true, },
		FLKEY= { 'Florida Keys',            qid = 'Q537749', the = true, },
		GF   = { 'French Guiana',           qid = 'Q3769', },
		GL   = { 'Greenland',               qid = 'Q223', },
		GP   = { 'Guadeloupe',              qid = 'Q17012', },
		MQ   = { 'Martinique',              qid = 'Q17054', },
		MS   = { 'Montserrat',              qid = 'Q13353', },
		PR   = { 'Puerto Rico',             qid = 'Q1183', },
		MF   = { 'Saint Martin (France)',   qid = 'Q126125', },
		PM   = { 'Saint-Pierre and Miquelon', qid = 'Q34617', },
		GS   = { 'South Georgia and the South Sandwich Islands', qid = 'Q35086', },
		TC   = { 'Turks and Caicos Islands', qid = 'Q18221', the = true, },
		VI   = { 'United States Virgin Islands', qid = 'Q11703', the = true, },
	},
}
Community content is available under CC-BY-SA unless otherwise noted.