Module:Countries/catnav/place/France/region or collectivity/all

Documentation for this module may be created at Module:Countries/catnav/place/France/region or collectivity/all/doc

Code

-- Data defining countries for {{#invoke:Countries|main|France/regions and collectivities/all}}.

--[=[ 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 = ' ',
		},
	},
	pattern = {
		{	' ' ..
			' ',
				'mainlist',
		},
		{	' ',
				{ 'maintitle', 'mainlist', },
		},
			'{mainlist}',
		{	'<br /> ',
				{ 'mainlist', 'limitedlist', },
				{ 'mainlist', 'otherlist', },
		},
		{	' ',
				'mainlist',
		},
	},
	simple = {
		pattern = {
			{	' ' ..
				' ',
					'mainlist',
			},
			{	' ',
					{ 'maintitle', 'mainlist', },
			},
				'{mainlist}',
			{	' ',
					'mainlist',
			},
		},
		sections = {
			-- List of sections to be displayed if simple=yes.
			-- Each value is a table identifying any country codes that are
			-- displayed only if simple=yes.
			main = { EH = true, },
		},
	},
	lists = {
		-- List of countries in an order suitable for display in the specified language.
		main = {
			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
			automatic   = 'ALS CEA AQU AUV ARA BAS BOR BOU BFC BRE CVL CHA CLI COR FCO FPO FSA GES HFR HNO ILE LAN LIM LOR MLY MPY NCA NPC NOR OCC PDL PIC POI PAC REU RHO SBA SMA SPM WAF',
		},
	},
	countries = {
		-- Most 3-letter codes are standardized;
		-- Longer codes (and a few 3-letter codes) are made up for this module's function for countries not standardized;
		-- If a country is listed under a non-standard code, it can be changed but change code in order lists as well;
		ALS = { 'Alsace', qid = 'Q1142', },
		AQU = { 'Aquitaine', qid = 'Q1179', },
		ARA = { 'Auvergne-Rhône-Alpes', qid = 'Q18338206', },
		AUV = { 'Auvergne', qid = 'Q1152', },
		BAS = { 'Basse-Normandie', qid = 'Q16954', },
		BFC = { 'Bourgogne-Franche-Comté', qid = 'Q18578267', },
		BOR = { 'Bordelais', qid = 'Q428654', },
		BOU = { 'Bourgogne', qid = 'Q1173', },
		BRE = { 'Région Bretagne', qid = 'Q12130', },
		CEA = { "Collectivité européenne d'Alsace", qid = 'Q2982948', },
		CHA = { 'Champagne-Ardenne', qid = 'Q14103', },
		CLI = { 'Clipperton Island', qid = 'Q161258', },
		COR = { 'Corsica', qid = 'Q14112', },
		CVL = { 'Centre-Val de Loire', qid = 'Q13947', },
		FCO = { 'Franche-Comté', qid = 'Q16394', },
		FPO = { 'French Polynesia', qid = 'Q30971', },
		FSA = { 'French Southern and Antarctic Lands', qid = 'Q129003', },
		GES = { 'Grand Est', qid = 'Q18677983', },
		HFR = { 'Hauts-de-France', qid = 'Q18677767', },
		HNO = { 'Haute-Normandie', qid = 'Q16961', },
		ILE = { 'Île-de-France', qid = 'Q13917', },
		LAN = { 'Languedoc-Roussillon', qid = 'Q17005', },
		LIM = { 'Limousin', qid = 'Q1190', },
		LOR = { 'Lorraine', qid = 'Q1137', },
		MLY = { 'Métropole de Lyon', qid = 'Q16665897', },
		MPY = { 'Midi-Pyrénées', qid = 'Q16393', },
		NCA = { 'New Caledonia', qid = 'Q33788', },
		NOR = { 'Normandie', qid = 'Q18677875', },
		NPC = { 'Nord-Pas-de-Calais', qid = 'Q16987', },
		OCC = { 'Occitanie', qid = 'Q18678265', },
		PDL = { 'Pays de la Loire', qid = 'Q16994', },
		PIC = { 'Picardie', qid = 'Q13950', },
		POI = { 'Poitou-Charentes', qid = 'Q17009', },
		PAC = { "Provence-Alpes-Côte d'Azur", qid = 'Q15104', },
		REU = { "Réunion", qid = 'Q17070', },
		RHO = { 'Rhône-Alpes', qid = 'Q463', },
		SBA = { 'Saint-Barthélemy', qid = 'Q25362', },
		SMA = { 'Saint-Martin (France)', qid = 'Q126125', },
		SPM = { 'Saint-Pierre and Miquelon', qid = 'Q34617', },
		WAF = { 'Wallis and Futuna', qid = 'Q35555', },
	},
}