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

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

--[=[ 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 {
	titles = {
		main = {
			default = 'Countries of the United Kingdom',
			['be-tarask'] = 'Краіны Вялікай Брытаніі',
			cy = 'Gwledydd y Deyrnas Unedig',
			de = 'Länder des Vereinigten Königreichs',
			en = 'Countries of the United Kingdom',
			es = 'Países del Reino Unido',
			gd = 'Dùthchannan den Rìoghachd Aonaichte',
			fr = 'Nations constitutives du Royaume-Uni',
			it = 'Nazioni costitutive del Regno Unito',
			mk = 'Земји во Обединетото Кралство',
			ml = 'യുണൈറ്റഡ് കിങ്ഡത്തിലെ രാജ്യങ്ങൾ',
			nl = 'Landen van het Verenigd Koninkrijk',
			pt = 'Países do Reino Unido',
			ru = 'Страны Соединенного Королевства',
			sr = 'Земље Уједињеног Краљевства',
			['sr-latn'] = 'Zemlje Ujedinjenog Kraljevstva',
			['zh-hans'] = '英国的构成国',
			['zh-hant'] = '英國的構成國',
		},
		crown = {
			default = 'British Crown dependencies',
			['be-tarask'] = 'Залежнасьці Брытанскай кароны',
			cy = 'Dibyniaethau’r Goron Prydeinig',
			de = 'Abhängigkeiten der britischen Krone',
			en = 'British Crown dependencies',
			es = 'Dependencias de la Corona',
			fr = 'Dépendances de la Couronne britannique',
			gd = 'Eisimeileachd Crùn Bhreatainn',
			it = 'Dipendenze della Corona britannica',
			mk = 'Британските круни зависности',
			ml = 'ബ്രിട്ടീഷ് രാജഭരണത്തിലുള്ളവ',
			nl = 'Afhankelijkheden van de Britse kroon',
			pt = 'Dependências da Coroa Britânica',
			ru = 'Зависимости британской короны',
			sr = 'Британске крунске депенденције',
			['sr-latn'] = 'Britanske krunske dependencije',
			['zh-hans'] = '皇家属地',
			['zh-hant'] = '皇家屬地',
		},
		overseas = {
			default = 'British overseas territories',
			['be-tarask'] = 'Брытанскія заморскія тэрыторыі',
			cy = 'Tiriogaethau tramor Prydain',
			de = 'Britische Überseeterritorien',
			en = 'British overseas territories',
			es = 'Territorios de ultramar británicos',
			fr = 'Territoires d’outre-mer britanniques',
			gd = 'Tìrean Breatannach thall thairis',
			it = 'Territori britannici d’oltremare',
			mk = 'Британски прекуморски територии',
			ml = 'ബ്രിട്ടീഷ് സമുദ്രാതീത പ്രദേശങ്ങൾ',
			nl = 'Britse overzeese gebiedsdelen',
			pt = 'Territórios ultramarinos britânicos',
			ru = 'Британские заморские территории',
			sr = 'Британске прекоморске територије',
			['sr-latn'] = 'Britanske prekomorske teritorije',
			['zh-hans'] = '英国海外领地',
			['zh-hant'] = '英國海外領土',
			['zh-hk']   = '英國海外屬土',
		},
	},
	pattern = {
		{	'<div lang="{lang}" dir="{dir}" class="catlinks"' ..
			' style="clear:none;margin:2px 0;padding:2px;font-size:88%;line-height:normal">',
				'mainlist',
				'crownlist',
				'overseaslist',
		},
		{	'<em>{maintitle}{colon}</em>',
				{ 'maintitle', 'mainlist', },
		},
			'{mainlist}',
		{	'&nbsp;– ',
				{ 'mainlist', 'crownlist', },
		},
		{	'<em>{crowntitle}{colon}</em>',
				{ 'crowntitle', 'crownlist', },
		},
			'{crownlist}',
		{	'<br /> ',
				'mainlist',
				'crownlist',
		},

		{	'<em>{overseastitle}{colon}</em>',
				{ 'overseastitle', 'overseaslist', },
		},
			'{overseaslist}',
		{	'</div>',
				'mainlist',
				'crownlist',
				'overseaslist',
		},
	},
	simple = {
		pattern = {
			{	'<div lang="{lang}" dir="{dir}" class="catlinks"' ..
				' style="clear:none;margin:2px 0;padding:2px;font-size:88%;line-height:normal">',
					'mainlist',
			},
			{	'<em>{maintitle}{colon}</em>',
					{ 'maintitle', 'mainlist', },
			},
				'{mainlist}',
			{	'</div>',
					'mainlist',
			},
		},
		sections = {
			main = {
			},
		},
	},
	lists = {
		-- List of countries in an order suitable for display in the specified language.
		main = {
			default     = 'automatic sorted',  -- currently unused because en is defined
			en          = 'automatic sorted',  -- this applies with uselang=XX where XX is not defined here
			english     = 'automatic',  -- this applies with uselang=en
			automatic   = 'GBENG GBNIR GBSCT GBWLS',
			['zh-hans'] = 'GBNIR GBSCT GBWLS GBENG',
			['zh-hant'] = 'GBNIR GBSCT GBWLS GBENG',
		},
		overseas = {
			default     = 'automatic sorted',  -- currently unused because en is defined
			en          = 'automatic sorted',  -- this applies with uselang=XX where XX is not defined here
			english     = 'automatic',  -- this applies with uselang=en
			automatic   = 'GBXSB AI BM AQXGB IO VG FK GI PN SH GS TC',
			['zh-hans'] = 'GBXSB AI BM FK GS PN SH TC AQXGB VG IO GI',
			['zh-hant'] = 'AI BM FK GS PN SH TC GBXSB AQXGB VG IO GI',
			['zh-hk']   = 'GBXSB AI BM FK GS PN SH TC AQXGB VG IO GI',
		},
		crown = {
			default     = 'automatic sorted',  -- currently unused because en is defined
			en          = 'automatic sorted',  -- this applies with uselang=XX where XX is not defined here
			english     = 'automatic',  -- this applies with uselang=en
			automatic   = 'GG IM JE',
			['zh-hans'] = 'GG IM JE', -- without repeat, Jersey "Ze-xi-dao" shown wrongly before Isle of Man "Ma-en-dao"
			['zh-hant'] = 'GG IM JE', -- without repeat, Jersey "Ze-xi-dao" shown wrongly before Isle of Man "Man-dao"
		},
	},
	countries = {
		AI    = { 'Anguilla',                                       qid = 'Q25228', },
		AQXGB = { 'British Antarctic Territory',                    qid = 'Q165783', the = true, },
		BM    = { 'Bermuda',                                        qid = 'Q23635', },
		FK    = { 'Falkland Islands',                               qid = 'Q9648', the = true, },
		GBENG = { 'England',                                        qid = 'Q21', },
		GBNIR = { 'Northern Ireland',                               qid = 'Q26', },
		GBSCT = { 'Scotland',                                       qid = 'Q22', },
		GBWLS = { 'Wales',                                          qid = 'Q25', },
		GBXSB = { 'Akrotiri and Dhekelia',                          qid = 'Q37362', },
		GG    = { 'Bailiwick of Guernsey‎', 'Guernsey‎',              qid = 'Q25230', the = true, },
		GI    = { 'Gibraltar',                                      qid = 'Q1410', },
		GS    = { 'South Georgia and the South Sandwich Islands',   qid = 'Q35086', },
		IM    = { 'Isle of Man',                                    qid = 'Q9676', the = true, },
		IO    = { 'British Indian Ocean Territory',                 qid = 'Q43448', the = true, },
		JE    = { 'Jersey‎',                                         qid = 'Q785', },
		PN    = { 'Pitcairn Islands',                               qid = 'Q35672', the = true, },
		SH    = { 'Saint Helena, Ascension and Tristan da Cunha',   qid = 'Q192184', },
		TC    = { 'Turks and Caicos Islands',                       qid = 'Q18221', the = true, },
		VG    = { 'British Virgin Islands',                         qid = 'Q25305', the = true, },
	},
}
Community content is available under CC-BY-SA unless otherwise noted.