Difference between revisions of "Module:Countries/European Union/sandbox"
Jump to navigation
Jump to search
Imported>Verdy p (sync from main) |
m (1 revision imported) |
(No difference)
| |
Latest revision as of 16:47, 13 September 2020
Documentation for this module may be created at Module:Countries/European Union/sandbox/doc
--[=[
Data defining countries for {{#invoke:Countries|main|Europe}}.
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.
Where XYZ must consist of en alphabetic characters [A-Za-z].
]=]
return {
titles = {
main = {
default = 'Member states of the European Union',
['be-tarask'] = 'Краіны-чальцы Эўрапейскага Зьвязу',
ca = 'Estats membres de la Unió Europea',
de = 'Mitgliedsstaaten der Europäischen Union',
en = 'Member states of the European Union',
es = 'Estados miembros de la Unión Europea',
eo = 'Membroŝtatoj de la Eŭropa Unio',
it = 'Paesi membri dell’Unione europea',
fr = 'États membres de l’Union européenne',
ja = '欧州連合加盟国',
ml = 'യൂറോപ്യൻ യൂണിയനിലെ അംഗരാജ്യങ്ങൾ',
nl = 'Lidstaten van de Europese Unie',
sr = 'Државе чланице Европске уније',
['sr-latn'] = 'Države članice Evropske unije',
uk = 'Країни-члени Європейського Союзу',
['zh-hans'] = '欧洲联盟成员国',
['zh-hant'] = '歐洲聯盟成員國',
},
omr = {
default = 'Outermost regions',
['be-tarask'] = 'Вонкавыя тэрыторыі',
ca = 'Regions ultraperifèriques',
de = 'Gebiete in äußerster Randlage',
en = 'Outermost regions',
es = 'Regiones ultraperiféricas',
fr = 'Régions ultrapériphériques',
ml = 'ഏറ്റവും പുറത്തുള്ള പ്രദേശങ്ങൾ',
nl = 'Ultraperifere gebieden',
sr = 'Спољашњи региони',
['sr-latn'] = 'Spoljašnji regioni',
['zh-hans'] = '外围区域',
['zh-hant'] = '外圍區域',
},
inc = {
default = 'Included territories with special status',
['be-tarask'] = 'Уключаныя тэрыторыі з асаблівым статусам',
ca = 'Territoris amb estatus especial inclosos',
de = 'Eingeschlossene Gebiete mit Sonderstatus',
en = 'Included territories with special status',
es = 'Territorios con estatus especial incluidos',
fr = 'Territoires inclus avec statut particulier',
ml = 'പ്രത്യേക പദവിയോടെ ഉൾപ്പെടുത്തിയ പ്രദേശങ്ങൾ',
nl = 'Opgenomen gebieden met speciale status',
sr = 'Укључене територије са специјалним статусом',
['sr-latn'] = 'Uključene teritorije sa specijalnim statusom',
['zh-hans'] = '具有特殊状态的包含领土',
['zh-hant'] = '具有特別狀態的包含領土',
},
oct = {
default = 'Overseas countries and territories',
['be-tarask'] = 'Заморскія краіны і тэрыторыі',
ca = "Països i territoris d'ultramar",
de = 'Überseeische Länder und Hoheitsgebiete',
en = 'Overseas countries and territories',
es = 'Países y territorios de ultramar',
fr = 'Pays et territoires d’outre-mer',
ml = 'വിദൂര രാജ്യങ്ങളും പ്രദേശങ്ങളും',
nl = 'Landen en gebieden overzee',
sr = 'Прекоморске земље и територије',
['sr-latn'] = 'Prekomorske zemlje i teritorije',
['zh-hans'] = '海外国家和领土',
['zh-hant'] = '海外國家與領土',
},
exc = {
default = 'Excluded territories by special provision',
['be-tarask'] = 'Тэрыторыі, выключаныя адмысловым указаньнем',
ca = 'Territoris exclosos per clàusula especial',
de = 'Ausgeschlossene Gebiete durch besondere Bestimmung',
en = 'Excluded territories by special provision',
es = 'Territorios excluidos por cláusula especial',
fr = 'Territoires exclus par clause particulière',
ml = 'പ്രത്യേക വ്യവസ്ഥ പ്രകാരം ഒഴിവാക്കിയ പ്രദേശങ്ങൾ',
nl = 'Uitgesloten gebieden door speciale bepaling',
sr = 'Искључене територије специјалном провизијом',
['sr-latn'] = 'Isključene teritorije specijalnom provizijom',
['zh-hans'] = '基于特殊规定排除的领土',
['zh-hant'] = '基於特別規定排除的領土',
},
candidate = {
default = 'Candidate countries',
['be-tarask'] = 'Краіны-кандыдаткі',
ca = 'Països candidats',
de = 'Kandidatenländer',
en = 'Candidate countries',
es = 'Países candidatos',
fr = 'Pays candidats',
ml = 'അംഗമാകാൻ ആഗ്രഹിക്കുന്ന രാജ്യങ്ങൾ',
nl = 'Kandidaat-landen',
sr = 'Државе кандидати',
['sr-latn'] = 'Države kandidati',
['zh-hans'] = '候选国家',
['zh-hant'] = '候選國家',
},
former = {
default = 'Former member countries or territories',
['be-tarask'] = 'Колішнія краіны ці рэгіёны-чальцы',
ca = 'Antics països o territoris membres',
de = 'Ehemalige Mitgliedsländer oder Territorien',
en = 'Former member countries or territories',
es = 'Antiguos países o territorios miembros',
fr = 'Anciens pays ou territoires membres',
ml = 'മുമ്പ് അംഗമായിരുന്ന രാജ്യങ്ങളും പ്രദേശങ്ങളും',
nl = 'Voormalige lidstaten of gebieden',
sr = 'Државе или територије бивше чланице',
['sr-latn'] = 'Države ili teritorije bivše članice',
['zh-hans'] = '前成员国或地区',
['zh-hant'] = '前成員國或地區',
},
},
pattern = {
{ '<div lang="{lang}" dir="{dir}" class="catlinks"' ..
' style="clear:none;margin:2px 0;padding:2px;font-size:88%;line-height:normal">',
'mainlist',
'omrlist',
'inclist',
'octlist',
'exclist',
'candidatelist',
'formerlist',
},
{ '<em>{maintitle}{colon}</em>',
{ 'maintitle', 'mainlist', },
},
'{mainlist}',
{ '<br /> ',
{ 'mainlist', 'omrlist', },
{ 'mainlist', 'inclist', },
},
{ '<em>{omrtitle}{colon}</em>',
{ 'omrtitle', 'omrlist', },
},
'{omrlist}',
{ '<br /> ',
{ 'omrlist', 'inclist', },
},
{ '<em>{inctitle}{colon}</em>',
{ 'inctitle', 'inclist', },
},
'{inclist}',
{ '<hr /> ',
{ 'mainlist', 'octlist', },
{ 'mainlist', 'exclist', },
{ 'mainlist', 'candidatelist', },
{ 'mainlist', 'formerlist', },
{ 'omrlist', 'octlist', },
{ 'omrlist', 'exclist', },
{ 'omrlist', 'candidatelist', },
{ 'omrlist', 'formerlist', },
{ 'inclist', 'octlist', },
{ 'inclist', 'exclist', },
{ 'inclist', 'candidatelist', },
{ 'inclist', 'formerlist', },
},
{ '<em>{octtitle}{colon}</em>',
{ 'octtitle', 'octlist', },
},
'{octlist}',
{ '<br /> ',
{ 'octlist', 'exclist', },
{ 'octlist', 'candidatelist', },
{ 'octlist', 'formerlist', },
},
{ '<em>{exctitle}{colon}</em>',
{ 'exctitle', 'exclist', },
},
'{exclist}',
{ '<br /> ',
{ 'exclist', 'candidatelist', },
{ 'exclist', 'formerlist', },
},
{ '<em>{candidatetitle}{colon}</em>',
{ 'candidatetitle', 'candidatelist', },
},
'{candidatelist}',
{ '<br /> ',
{ 'candidatelist', 'formerlist', },
},
{ '<em>{formertitle}{colon}</em>',
{ 'formertitle', 'formerlist', },
},
'{formerlist}',
{
'</div>',
'mainlist',
'omrlist',
'inclist',
'octlist',
'exclist',
'candidatelist',
'formerlist',
},
},
lists = {
-- List of countries in an order suitable for display in the specified language.
main = {
default = 'automatic sorted',
english = 'automatic',
automatic = 'AT BE BG HR CY CZ DK EE FI FR DE EL HU IE IT LV LT LU MT NL PL PT RO SK SI ES SE',
fr = 'DE AT BE BG CY HR DK ES EE FI FR EL HU IE IT LV LT LU MT NL PL PT CZ RO SK SI SE',
['zh-hans'] = 'IE EE AT BE BG PL DK DE FR FI NL CZ HR LV LT LU RO MT PT SE CY SK SI ES EL HU IT',
['zh-hant'] = 'IE EE AT BE BG PL DK DE FR FI NL CZ HR LV LT LU RO MT PT SE CY SK SI ES EL HU IT',
},
omr = {
default = 'automatic sorted',
english = 'automatic',
automatic = 'PT20 ESCN GF GP PT30 MQ YT RE MF',
fr = 'PT20 ESCN GP GF PT30 MQ YT RE MF',
['zh-hans'] = 'GF MF GP ESCN RE PT30 MQ YT PT20',
['zh-hant'] = 'GF MF GP ESCN RE PT30 MQ YT PT20',
},
inc = {
default = 'automatic sorted',
english = 'automatic',
automatic = 'AX DEXBU ITXCA ESCE DEXHE ITXLI ESML EL69 CYXUN',
fr = 'AX DEXBU ITXCA ESCE DEXHE CYXUN ITXLI ESML EL69',
['zh-hans'] = 'EL69 AX DEXHE DEXBU ITXLI ESML CYXUN ESCE ITXCA',
['zh-hant'] = 'EL69 AX DEXHE DEXBU ITXLI ESML CYXUN ESCE ITXCA',
},
oct = {
default = 'automatic sorted',
english = 'automatic',
automatic = 'AW BQ CP CW PF TF GL NC BL SX PM WF',
fr = 'AW CP CW GL NC BQ PF BL SX PM TF WF',
['zh-hans'] = 'AW PF TF GL BQ SX CP CW BL PM WF NC',
['zh-hant'] = 'AW PF TF GL CW BQ SX CP BL PM WF NC',
},
exc = {
default = 'automatic sorted',
english = 'automatic',
automatic = 'FO CYXNO',
fr = 'CYXNO FO',
['zh-hans'] = 'CYXNO FO',
['zh-hant'] = 'CYXNO FO',
},
candidate = {
default = 'automatic sorted',
english = 'automatic',
automatic = 'AL BA SRKM ME MK SR TR UA',
fr = 'AL BA SRKM MK ME SR TR UA',
['zh-hans'] = 'AL MK BA ME SRKM SR TR UA',
['zh-hant'] = 'AL MK BA ME SRKM SR TR UA',
},
former = {
default = 'automatic sorted',
english = 'automatic',
automatic = 'UKXSB DZ AI BM VG KY FK GI GG IM JE MS PN SH TC UK',
fr = 'UKXSB DZ AI BM KY GI GG JE FK IM MS PN SH TC UK VG',
['zh-hans'] = 'DZ UKXSB AI BM FK GG KY IM MS PN SH TC UK VG JE GI',
['zh-hant'] = 'DZ AI BM FK GG UKXSB KY IM MS PN SH TC UK VG JE GI',
},
},
countries = {
-- Codes are those used by the European union, most of them from ISO 3166-1, possibly extended by ISO 3166-2, or private-use extension
-- AD = { 'Andorra', qid = 'Q228', },
AI = { 'Anguilla', qid = 'Q25228', },
AL = { 'Albania', qid = 'Q222', },
-- AM = { 'Armenia', qid = 'Q399', },
AT = { 'Austria', qid = 'Q40', },
AW = { 'Aruba', qid = 'Q21203', },
AX = { 'Åland',
'Åland Islands', qid = 'Q5689', },
-- AZ = { 'Azerbaijan', qid = 'Q227', },
-- AZXAR = { 'Republic of Artsakh',
-- 'Nagorno-Karabakh',
-- 'Artsakh', qid = 'Q244165', },
BA = { 'Bosnia and Herzegovina', qid = 'Q225', },
BE = { 'Belgium', qid = 'Q31', },
BG = { 'Bulgaria', qid = 'Q219', },
BL = { 'Saint-Barthélemy ', qid = 'Q25362', },
BM = { 'Bermuda', qid = 'Q23635', },
BQ = { 'Caribbean Netherlands', qid = 'Q27561', the = true, },
-- BY = { 'Belarus', qid = 'Q184', },
-- CH = { 'Switzerland', qid = 'Q39', },
CP = { 'Clipperton Island', qid = 'Q161258', },
CW = { 'Curaçao', qid = 'Q25279', },
CY = { 'Cyprus', qid = 'Q229', },
CYXNO = { 'Northern Cyprus', qid = 'Q23681', },
CYXUN = { 'UN Buffer Zone in Cyprus', qid = 'Q116970', the = true, },
CZ = { 'Czech Republic',
'Czechia',
'Česko', qid = 'Q213', the = true, },
DE = { 'Germany', qid = 'Q183', },
DEXBU = { 'Büsingen am Hochrhein', qid = 'Q61698', },
DEXHE = { 'Heligoland', qid = 'Q3038', },
DK = { 'Denmark', qid = 'Q35', },
DZ = { 'Algeria', qid = 'Q262', },
EE = { 'Estonia', qid = 'Q191', },
EL = { 'Greece', qid = 'Q41', }, --[[Note: the European Union uses code 'EL' instead of 'GR' for Greece]]
EL69 = { 'Mount Athos', qid = 'Q130321', }, --[[Note: idem]]
ES = { 'Spain', qid = 'Q29', },
ESCE = { 'Ceuta', qid = 'Q5823', },
ESCN = { 'Canary Islands', qid = 'Q5813', the = true, },
ESML = { 'Melilla', qid = 'Q5831', },
FI = { 'Finland', qid = 'Q33', },
FK = { 'Falkland Islands', qid = 'Q9648', the = true, },
FO = { 'Faroe Islands', qid = 'Q4628', the = true, },
FR = { 'France', qid = 'Q142', },
-- GE = { 'Georgia',
-- 'Georgia (country)',
-- 'საქართველო', qid = 'Q230', },
-- GEXAB = { 'Abkhazia', qid = 'Q23334', },
-- GEXSO = { 'South Ossetia', qid = 'Q23427', },
GF = { 'French Guiana',
'Guyane',
'Guyane française', qid = 'Q3769', },
GG = { 'Guernsey', qid = 'Q25230', }, --[[Note: does not really "Brexit", was already specially excluded, but no longer associated with UK into the EU]]
GI = { 'Gibraltar', qid = 'Q1410', },
GL = { 'Greenland', qid = 'Q223', },
GP = { 'Guadeloupe', qid = 'Q17012', },
HR = { 'Croatia', qid = 'Q224', },
HU = { 'Hungary', qid = 'Q28', },
IE = { 'Republic of Ireland',
'Ireland',
'Ireland - Éire', qid = 'Q27', the = true, },
IM = { 'Isle of Man', qid = 'Q9676', the = true, }, --[[Note: does not really "Brexit", was already specially excluded, but no longer associated with UK into the EU]]
-- IS = { 'Iceland', qid = 'Q189', },
IT = { 'Italy', qid = 'Q38', },
ITXCA = { "Campione d'Italia", qid = 'Q244207', },
ITXLI = { 'Livigno', qid = 'Q40871', },
JE = { 'Jersey', qid = 'Q785', }, --[[Note: does not really "Brexit", was already specially excluded, but no longer associated with UK into the EU]]
KY = { 'Cayman Islands', qid = 'Q5785', },
-- LI = { 'Liechtenstein', qid = 'Q347', },
LT = { 'Lithuania', qid = 'Q37', },
LU = { 'Luxembourg', qid = 'Q32', },
LV = { 'Latvia', qid = 'Q211', },
-- MC = { 'Monaco', qid = 'Q235', },
-- MD = { 'Moldova', qid = 'Q217', },
-- MDSN = { 'Transnistria', qid = 'Q907112', },
ME = { 'Montenegro', qid = 'Q236', },
MF = { 'Saint-Martin (France)',
'Saint Martin (France)', qid = 'Q126125', note = '(<tt style="font-size:smaller">FR</tt>)', },
MK = { 'North Macedonia',
'Republic of Macedonia',
'Former Yugoslav Republic of Macedonia', qid = 'Q221' },
MQ = { 'Martinique', qid = 'Q17054', },
MS = { 'Montserrat', qid = 'Q13353', },
MT = { 'Malta', qid = 'Q233', },
NC = { 'New Caledonia', qid = 'Q33788', },
NL = { 'Netherlands', qid = 'Q55', the = true, },
-- NO = { 'Norway', qid = 'Q20', },
PF = { 'French Polynesia', qid = 'Q30971', },
PL = { 'Poland', qid = 'Q36', },
PM = { 'Saint-Pierre and Miquelon',
'Saint-Pierre-et-Miquelon', qid = 'Q34617', },
PN = { 'Pitcairn Islands', qid = 'Q35672', the = true, },
PT = { 'Portugal', qid = 'Q45', },
PT30 = { 'Madeira', qid = 'Q26253', },
PT20 = { 'Azores', qid = 'Q25263', the = true, },
RE = { 'Réunion', qid = 'Q17070', },
RO = { 'Romania', qid = 'Q218', },
-- RU = { 'Russia', qid = 'Q159', },
SE = { 'Sweden', qid = 'Q34', },
SH = { 'Saint Helena, Ascension and Tristan da Cunha',
'Saint Helena', qid = 'Q192184', },
SI = { 'Slovenia', qid = 'Q215', },
SK = { 'Slovakia', qid = 'Q214', },
-- SM = { 'San Marino', qid = 'Q238', },
SR = { 'Serbia', qid = 'Q403', },
SRKM = { 'Kosovo', qid = 'Q1246', },
SX = { 'Sint Maarten, Dutch Caribbean',
'Sint Maarten', qid = 'Q26273', note = '<tt style="font-size:smaller">NL<tt>)', },
TC = { 'Turks and Caicos Islands', qid = 'Q18221', the = true, },
TF = { 'French Southern and Antarctic Lands',
'Terres australes et antarctiques françaises', qid = 'Q129003', the = true, },
TR = { 'Turkey', qid = 'Q43', },
UA = { 'Ukraine', qid = 'Q212', },
UK = { 'United Kingdom', qid = 'Q145', the = true, }, --[[Note: the European Union used code 'UK' instead of 'GB' for the United Kingdom]]
UKXSB = { 'Akrotiri and Dhekelia', qid = 'Q37362', }, --[[Note: idem; does "Brexit", but natives keep their European right from Cyprus]]
-- VA = { 'Vatican City',
-- 'Vatican City State',
-- 'Holy See', qid = 'Q237', },
VG = { 'British Virgin Islands', qid = 'Q25305', the = true, },
WF = { 'Wallis and Futuna',
'Wallis-et-Futuna', qid = 'Q35555', },
YT = { 'Mayotte', qid = 'Q17063', },
},
}