Jump to content

Module:Fba/list

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Ahecht (talk | contribs) at 16:21, 3 March 2025 (Create lua version of Template:Fba/list). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

local p = {}

function p.fbatable()

	local map = {
		["Albania"] = "Albanian Football Federation",
		["Andorra"] = "Andorran Football Federation",
		["Armenia"] = "Football Federation of Armenia",
		["Austria"] = "Austrian Football Association",
		["Azerbaijan"] = "Association of Football Federations of Azerbaijan",
		["Belarus"] = "Football Federation of Belarus",
		["Belgium"] = "Royal Belgian Football Association",
		["Bosnia and Herzegovina"] = "Football Association of Bosnia and Herzegovina",
		["Bulgaria"] = "Bulgarian Football Union",
		["Croatia"] = "Croatian Football Federation",
		["Cyprus"] = "Cyprus Football Association",
		["Czech Republic"] = "Football Association of the Czech Republic",
			["Czechia"] = "Football Association of the Czech Republic",
			["Czechoslovakia"] = "Football Association of the Czech Republic",
			["Bohemia"] = "Football Association of the Czech Republic",
			["Protectorate of Bohemia and Moravia"] = "Football Association of the Czech Republic",
		["Denmark"] = "Danish Football Association",
		["England"] = "The Football Association",
			["United Kingdom"] = "The Football Association",
			["United Kingdom of Great Britain and Ireland"] = "The Football Association",
		["Estonia"] = "Estonian Football Association",
		["Faroe Islands"] = "Faroe Islands Football Association",
		["Finland"] = "Football Association of Finland",
		["France"] = "French Football Federation",
		["Kingdom of Galicia and Lodomeria"] = "Związek Polski Piłki Nożnej",
		["Georgia (country)"] = "Georgian Football Federation",
		["Germany"] = "German Football Association",
			["West Germany"] = "German Football Association",
		["Gibraltar"] = "Gibraltar Football Association",
		["Greece"] = "Hellenic Football Federation",
		["Hungary"] = "Hungarian Football Federation",
		["Iceland"] = "Football Association of Iceland",
		["Republic of Ireland"] = "Football Association of Ireland",
			["Irish Free State"] = "Football Association of Ireland",
		["Israel"] = "Israel Football Association",
			["Mandatory Palestine"] = "Israel Football Association",
		["Italy"] = "Italian Football Federation",
		["Kazakhstan"] = "Kazakhstan Football Federation",
		["Kosovo"] = "Football Federation of Kosovo",
		["Latvia"] = "Latvian Football Federation",
		["Liechtenstein"] = "Liechtenstein Football Association",
		["Lithuania"] = "Lithuanian Football Federation",
		["Luxembourg"] = "Luxembourg Football Federation",
		["Malta"] = "Malta Football Association",
		["Moldova"] = "Moldovan Football Federation",
		["Montenegro"] = "Football Association of Montenegro",
		["Netherlands"] = "Royal Dutch Football Association",
		["North Macedonia"] = "Football Federation of Macedonia",
		["Northern Ireland"] = "Irish Football Association",
			["Ireland"] = "Irish Football Association",
		["Norway"] = "Norwegian Football Federation",
		["Poland"] = "Polish Football Association",
		["Portugal"] = "Portuguese Football Federation",
		["Romania"] = "Romanian Football Federation",
		["Russia"] = "Russian Football Union",
		["San Marino"] = "San Marino Football Federation",
		["Scotland"] = "Scottish Football Association",
		["Serbia"] = "Football Association of Serbia",
		["Slovakia"] = "Slovak Football Association",
		["Slovenia"] = "Football Association of Slovenia",
		["Spain"] = "Royal Spanish Football Federation",
		["Sweden"] = "Swedish Football Association",
		["Switzerland"] = "Swiss Football Association",
		["Turkey"] = "Turkish Football Federation",
		["Ukraine"] = "Ukrainian Association of Football",
		["Wales"] = "Football Association of Wales",
	
		["Algeria"] = "Algerian Football Federation",
		["Angola"] = "Angolan Football Federation",
		["Benin"] = "Benin Football Federation",
			["Republic of Dahomey"] = "Benin Football Federation",
		["Botswana"] = "Botswana Football Association",
		["Burkina Faso"] = "Burkinabé Football Federation",
			["Republic of Upper Volta"] = "Burkinabé Football Federation",
		["Burundi"] = "Football Federation of Burundi",
		["Cameroon"] = "Cameroonian Football Federation",
		["Cape Verde"] = "Cape Verdean Football Federation",
		["Central African Republic"] = "Central African Football Federation",
		["Chad"] = "Chadian Football Federation",
		["Comoros"] = "Comoros Football Federation",
		["Republic of the Congo"] = "Congolese Football Federation",
		["Democratic Republic of the Congo"] = "Congolese Association Football Federation",
			["Zaire"] = "Congolese Association Football Federation",
		["Djibouti"] = "Djiboutian Football Federation",
		["Egypt"] = "Egyptian Football Association",
			["United Arab Republic"] = "Egyptian Football Association",
		["Equatorial Guinea"] = "Equatoguinean Football Federation",
		["Eritrea"] = "Eritrean National Football Federation",
		["Eswatini"] = "Eswatini Football Association",
		["Ethiopia"] = "Ethiopian Football Federation",
		["Gabon"] = "Gabonese Football Federation",
		["The Gambia"] = "Gambia Football Federation",
		["Ghana"] = "Ghana Football Association",
			["Gold Coast (British colony)"] = "Ghana Football Association",
		["Guinea"] = "Guinean Football Federation",
		["Guinea-Bissau"] = "Football Federation of Guinea-Bissau",
		["Ivory Coast"] = "Ivorian Football Federation",
		["Kenya"] = "Football Kenya Federation",
		["Lesotho"] = "Lesotho Football Association",
		["Liberia"] = "Liberia Football Association",
		["Libya"] = "Libyan Football Federation",
		["Madagascar"] = "Malagasy Football Federation",
		["Malawi"] = "Football Association of Malawi",
		["Mali"] = "Malian Football Federation",
		["Mauritania"] = "Football Federation of the Islamic Republic of Mauritania",
		["Mauritius"] = "Mauritius Football Association",
		["Morocco"] = "Royal Moroccan Football Federation",
		["Mozambique"] = "Mozambican Football Federation",
		["Namibia"] = "Namibia Football Association",
		["Niger"] = "Nigerien Football Federation",
		["Nigeria"] = "Nigeria Football Federation",
		["Rwanda"] = "Rwanda Football Federation",
		["São Tomé and Príncipe"] = "São Toméan Football Federation",
		["Senegal"] = "Senegalese Football Federation",
		["Seychelles"] = "Seychelles Football Federation",
		["Sierra Leone"] = "Sierra Leone Football Association",
		["Somalia"] = "Somali Football Federation",
		["South Africa"] = "South African Football Association",
		["Sudan"] = "Sudan Football Association",
		["South Sudan"] = "South Sudan Football Association",
		["Tanzania"] = "Tanzania Football Federation",
			["Tanganyika"] = "Tanzania Football Federation",
		["Togo"] = "Togolese Football Federation",
		["Tunisia"] = "Tunisian Football Federation",
		["Uganda"] = "Federation of Uganda Football Associations",
		["Zambia"] = "Football Association of Zambia",
			["Northern Rhodesia"] = "Football Association of Zambia",
		["Zimbabwe"] = "Zimbabwe Football Association",
			["Rhodesia"] = "Zimbabwe Football Association",
			["Southern Rhodesia"] = "Zimbabwe Football Association",
	
		["Afghanistan"] = "Afghanistan Football Federation",
		["Australia"] = "Football Australia",
		["Bahrain"] = "Bahrain Football Association",
		["Bangladesh"] = "Bangladesh Football Federation",
		["Bhutan"] = "Bhutan Football Federation",
		["Brunei"] = "Football Association of Brunei Darussalam",
		["Cambodia"] = "Football Federation of Cambodia",
		["China"] = "Chinese Football Association",
		["Chinese Taipei"] = "Chinese Taipei Football Association",
			["Taiwan"] = "Chinese Taipei Football Association",
		["East Timor"] = "East Timor Football Federation",
			["Timor-Leste"] = "East Timor Football Federation",
		["Guam"] = "Guam Football Association",
		["Hong Kong"] = "Football Association of Hong Kong, China",
		["India"] = "All India Football Federation",
			["British Raj"] = "All India Football Federation",
		["Indonesia"] = "Football Association of Indonesia",
			["Dutch East Indies"] = "Football Association of Indonesia",
		["Iran"] = "Football Federation Islamic Republic of Iran",
		["Iraq"] = "Iraq Football Association",
		["Japan"] = "Japan Football Association",
		["Jordan"] = "Jordan Football Association",
		["North Korea"] = "DPR Korea Football Association",
		["South Korea"] = "Korea Football Association",
		["Kuwait"] = "Kuwait Football Association",
		["Kyrgyzstan"] = "Kyrgyz Football Union",
		["Laos"] = "Lao Football Federation",
		["Lebanon"] = "Lebanese Football Association",
		["Macau"] = "Macau Football Association",
		["Malaysia"] = "Football Association of Malaysia",
			["Federation of Malaya"] = "Football Association of Malaysia",
		["Maldives"] = "Football Association of Maldives",
		["Mongolia"] = "Mongolian Football Federation",
		["Myanmar"] = "Myanmar Football Federation",
		["Nepal"] = "All Nepal Football Association",
		["Oman"] = "Oman Football Association",
		["Pakistan"] = "Pakistan Football Federation",
		["Palestine"] = "Palestinian Football Association",
			["State of Palestine"] = "Palestinian Football Association",
		["Philippines"] = "Philippine Football Federation",
		["Qatar"] = "Qatar Football Association",
		["Saudi Arabia"] = "Saudi Arabian Football Federation",
		["Singapore"] = "Football Association of Singapore",
		["Sri Lanka"] = "Football Federation of Sri Lanka",
			["Dominion of Ceylon"] = "Football Federation of Sri Lanka",
		["Syria"] = "Syrian Football Association",
		["Tajikistan"] = "Tajikistan Football Federation",
		["Thailand"] = "Football Association of Thailand",
		["Turkmenistan"] = "Football Federation of Turkmenistan",
		["United Arab Emirates"] = "United Arab Emirates Football Association",
		["Uzbekistan"] = "Uzbekistan Football Association",
		["Vietnam"] = "Vietnam Football Federation",
			["North Vietnam"] = "Vietnam Football Federation",
			["South Vietnam"] = "Vietnam Football Federation",
		["Yemen"] = "Yemen Football Association",
			["Yemen Arab Republic"] = "Yemen Football Association",
	
		["British Columbia"] = "British Columbia Soccer Association",
		["Canada"] = "Canadian Soccer Association",
		["Mexico"] = "Mexican Football Federation",
		["Ontario"] = "Ontario Soccer Association",
		["United States"] = "United States Soccer Federation",
		["Belize"] = "Football Federation of Belize",
		["Costa Rica"] = "Costa Rican Football Federation",
		["El Salvador"] = "Salvadoran Football Federation",
		["Guatemala"] = "National Football Federation of Guatemala",
		["Honduras"] = "National Autonomous Federation of Football of Honduras",
		["Nicaragua"] = "Nicaraguan Football Federation",
		["Panama"] = "Panamanian Football Federation",
		["Anguilla"] = "Anguilla Football Association",
		["Antigua and Barbuda"] = "Antigua and Barbuda Football Association",
		["Aruba"] = "Aruba Football Federation",
		["The Bahamas"] = "Bahamas Football Association",
		["Barbados"] = "Barbados Football Association",
		["Bermuda"] = "Bermuda Football Association",
		["British Virgin Islands"] = "British Virgin Islands Football Association",
		["Cayman Islands"] = "Cayman Islands Football Association",
		["Cuba"] = "Football Association of Cuba",
		["Curaçao"] = "Curaçao Football Federation",
		["Dominica"] = "Dominica Football Association",
		["Dominican Republic"] = "Dominican Football Federation",
		["Grenada"] = "Grenada Football Association",
		["Guyana"] = "Guyana Football Federation",
			["British Guiana"] = "Guyana Football Federation",
		["Haiti"] = "Haitian Football Federation",
		["Jamaica"] = "Jamaica Football Federation",
		["Montserrat"] = "Montserrat Football Association",
		["Puerto Rico"] = "Puerto Rican Football Federation",
		["Saint Kitts and Nevis"] = "St. Kitts and Nevis Football Association",
		["Saint Lucia"] = "Saint Lucia Football Association",
		["Saint Vincent and the Grenadines"] = "Saint Vincent and the Grenadines Football Federation",
		["Suriname"] = "Surinamese Football Association",
			["Surinam (Dutch colony)"] = "Surinamese Football Association",
			["Suriname (Kingdom of the Netherlands)"] = "Surinamese Football Association",
		["Trinidad and Tobago"] = "Trinidad and Tobago Football Association",
		["Turks and Caicos Islands"] = "Turks and Caicos Islands Football Association",
		["United States Virgin Islands"] = "U.S. Virgin Islands Soccer Federation",
	
		["Argentina"] = "Argentine Football Association",
		["Bolivia"] = "Bolivian Football Federation",
		["Brazil"] = "Brazilian Football Confederation",
		["Chile"] = "Football Federation of Chile",
		["Colombia"] = "Colombian Football Federation",
		["Ecuador"] = "Ecuadorian Football Federation",
		["Paraguay"] = "Paraguayan Football Association",
		["Peru"] = "Peruvian Football Federation",
		["Uruguay"] = "Uruguayan Football Association",
		["Venezuela"] = "Venezuelan Football Federation",
	
		["American Samoa"] = "Football Federation American Samoa",
		["Cook Islands"] = "Cook Islands Football Association",
		["Fiji"] = "Fiji Football Association",
		["New Caledonia"] = "New Caledonian Football Federation",
		["New Zealand"] = "New Zealand Football",
		["Papua New Guinea"] = "Papua New Guinea Football Association",
		["Samoa"] = "Football Federation Samoa",
		["Solomon Islands"] = "Solomon Islands Football Federation",
		["French Polynesia"] = "Tahitian Football Federation",
		["Tonga"] = "Tonga Football Association",
		["Vanuatu"] = "Vanuatu Football Federation",
			["New Hebrides"] = "Vanuatu Football Federation",
	
		["Réunion"] = "Ligue réunionnaise de football",
		["Zanzibar"] = "Zanzibar Football Federation",
		["Northern Mariana Islands"] = "Northern Mariana Islands Football Association",
		["Bonaire"] = "Bonaire Football Federation",
		["French Guiana"] = "Ligue de football de la Guyane",
		["Guadeloupe"] = "Ligue guadeloupéenne de football",
		["Martinique"] = "Ligue de football de la Martinique",
		["Collectivity of Saint Martin"] = "Ligue de football de Saint-Martin",
		["Sint Maarten"] = "Sint Maarten Football Federation",
		["Kiribati"] = "Kiribati Islands Football Federation",
		["Niue"] = "Niue Football Association",
		["Tuvalu"] = "Tuvalu Islands Football Association",
	
		["East Germany"] = "Deutscher Fußball-Verband der DDR",
		["Saar Protectorate"] = "Saarland Football Association",
		["Serbia and Montenegro"] = "Football Association of Serbia and Montenegro",
			["Federal Republic of Yugoslavia"] = "Football Association of Serbia and Montenegro",
		["Soviet Union"] = "Football Federation of the Soviet Union",
		["Kingdom of Yugoslavia"] = "Football Association of Yugoslavia",
			["Democratic Federal Yugoslavia"] = "Football Association of Yugoslavia",
			["Federal People's Republic of Yugoslavia"] = "Football Association of Yugoslavia",
			["Socialist Federal Republic of Yugoslavia"] = "Football Association of Yugoslavia",
		["Commonwealth of Independent States"] = "Association Football Federation of CIS",
		["Netherlands Antilles"] = "Netherlands Antillean Football Union",
		["Curaçao and Dependencies"] = "Curaçao Football Association",
		["South Yemen"] = "PDR Yemen Football Federation",
	
		["Republic of Artsakh"] = "Artsakh Football Association",
		["Vatican City"] = "Vatican Amateur Sports Association",
		["Monaco"] = "Monégasque Football Federation",
		["Isle of Man"] = "Isle of Man Football Association",
		["Jersey"] = "Jersey Football Association",
		["Federated States of Micronesia"] = "Federated States of Micronesia Football Association",
		["Catalonia"] = "Catalan Football Federation",
		["Republika Srpska"] = "Football Association of Republika Srpska",
		["Greenland"] = "Football Association of Greenland",
		["Western Sahara"] = "Sahrawi Football Federation",
		["Guernsey"] = "Guernsey Football Association",
		["Falkland Islands"] = "Falkland Islands Football League",
		["Marshall Islands"] = "Marshall Islands Soccer Federation",
		["Palau"] = "Palau Football Association",
		["Gozo"] = "Gozo Football Association",
		["Northern Cyprus"] = "Cyprus Turkish Football Association",
		["Sápmi"] = "FA Sápmi",
		["Iraqi Kurdistan"] = "Kurdistan Football Association",
		["Tibet"] = "Tibetan National Football Association",
		["Abkhazia"] = "Football Federation of Abkhazia",
		["Quebec"] = "Soccer Québec",
		["Saint Barthélemy"] = "Comité Territorial de Football de Saint-Barthélemy",
		["Sint Eustatius"] = "Statia Football Association",
		["Saint Pierre and Miquelon"] = "Ligue de football de Saint-Pierre-et-Miquelon",
		["Saba (island)"] = "Saba Football Association",
		["Åland Islands"] = "Åland Football Association",
			["Åland"] = "Åland Football Association",
		["Gotland"] = "Gotlands Fotbollförbund",
		["Orkney"] = "Orkney Amateur Football Association",
		["Shetland"] = "Shetland Football Association",
		["Valencian Community"] = "Valencian Community Football Federation",
		["Ceuta"] = "Ceuta Football Federation",
		["Galicia (Spain)"] = "Royal Galician Football Federation",
		["Community of Madrid"] = "Royal Madrid Football Federation",
		["Melilla"] = "Royal Melillan Football Federation",
		["Region of Murcia"] = "Football Federation of the Region of Murcia",
		["Andalusia"] = "Royal Andalusian Football Federation",
		["Aragon"] = "Royal Aragonese Football Federation",
		["Asturias"] = "Royal Football Federation of the Principality of Asturias",
		["Basque Country (autonomous community)"] = "Basque Football Federation",
		["Castile and León"] = "Royal Castile and León Football Federation",
		["British West Indies"] = "British Caribbean Football Association",
		["Maasai people"] = "Maasai Football Federation",
		["Principality of Sealand"] = "Sealand National Football Association",
		["Ukrainian Soviet Socialist Republic"] = "Football Federation of the Ukrainian SSR",
		["Croatian Republic of Herzeg-Bosnia"] = "Football Federation of Herzeg-Bosnia",
		["Mayotte"] = "Ligue mahoraise de football",
		["Chagos Archipelago"] = "Chagos Football Association",
		["Somaliland"] = "Somaliland Football Association",
		["Nauru"] = "Nauru Soccer Federation",
		["Autonomous Region of Bougainville"] = "Bougainville Football Federation",
		["Hawaii"] = "Hawaiian Football",
		["Republic of West Papua"] = "Football Association West Papua",
		["Easter Island"] = "Asociación de Fútbol de Isla de Pascua",
	
		["Kenya_old"] = "Football Kenya Limited",
		["Brunei_old"] = "Football Association of Brunei Darussalam",
		["Niue_old"] = "Niue Island Soccer Association",
	
		["Afghanistan_c"] = "AFG",
		["Albania_c"] = "ALB",
		["Algeria_c"] = "ALG",
		["American Samoa_c"] = "ASA",
		["Andorra_c"] = "AND",
		["Angola_c"] = "ANG",
		["Anguilla_c"] = "AIA",
		["Antigua and Barbuda_c"] = "ATG",
		["Argentina_c"] = "ARG",
		["Armenia_c"] = "ARM",
		["Aruba_c"] = "ARU",
		["Australia_c"] = "AUS",
		["Austria_c"] = "AUT",
		["Azerbaijan_c"] = "AZE",
		["The Bahamas_c"] = "BAH",
		["Bahrain_c"] = "BHR",
		["Bangladesh_c"] = "BAN",
		["Barbados_c"] = "BRB",
		["Belarus_c"] = "BLR",
		["Belgium_c"] = "BEL",
		["Belize_c"] = "BLZ",
		["Benin_c"] = "BEN",
		["Bermuda_c"] = "BER",
		["Bhutan_c"] = "BHU",
		["Bolivia_c"] = "BOL",
		["Bosnia and Herzegovina_c"] = "BIH",
		["Botswana_c"] = "BOT",
		["Brazil_c"] = "BRA",
		["British Virgin Islands_c"] = "VGB",
		["Brunei_c"] = "BRU",
		["Bulgaria_c"] = "BUL",
		["Burkina Faso_c"] = "BFA",
		["Burundi_c"] = "BDI",
		["Cambodia_c"] = "CAM",
		["Cameroon_c"] = "CMR",
		["Canada_c"] = "CAN",
		["Cape Verde_c"] = "CPV",
		["Cayman Islands_c"] = "CAY",
		["Central African Republic_c"] = "CTA",
		["Chad_c"] = "CHA",
		["Chile_c"] = "CHI",
		["China_c"] = "CHN",
		["Chinese Taipei_c"] = "TPE",
		["Colombia_c"] = "COL",
		["Comoros_c"] = "COM",
		["Republic of the Congo_c"] = "CGO",
		["Cook Islands_c"] = "COK",
		["Costa Rica_c"] = "CRC",
		["Croatia_c"] = "CRO",
		["Cuba_c"] = "CUB",
		["Curaçao_c"] = "CUW",
		["Cyprus_c"] = "CYP",
		["Czech Republic_c"] = "CZE",
		["Denmark_c"] = "DEN",
		["Djibouti_c"] = "DJI",
		["Dominica_c"] = "DMA",
		["Dominican Republic_c"] = "DOM",
		["Democratic Republic of the Congo_c"] = "COD",
		["Ecuador_c"] = "ECU",
		["Egypt_c"] = "EGY",
		["El Salvador_c"] = "SLV",
		["England_c"] = "ENG",
		["Equatorial Guinea_c"] = "EQG",
		["Eritrea_c"] = "ERI",
		["Estonia_c"] = "EST",
		["Ethiopia_c"] = "ETH",
		["Faroe Islands_c"] = "FRO",
		["Fiji_c"] = "FIJ",
		["Finland_c"] = "FIN",
		["France_c"] = "FRA",
		["Gabon_c"] = "GAB",
		["The Gambia_c"] = "GAM",
		["Georgia (country)_c"] = "GEO",
		["Germany_c"] = "GER",
		["Ghana_c"] = "GHA",
		["Gibraltar_c"] = "GIB",
		["Greece_c"] = "GRE",
		["Grenada_c"] = "GRN",
		["Guam_c"] = "GUM",
		["Guatemala_c"] = "GUA",
		["Guinea_c"] = "GUI",
		["Guinea-Bissau_c"] = "GNB",
		["Guyana_c"] = "GUY",
		["Haiti_c"] = "HAI",
		["Honduras_c"] = "HON",
		["Hong Kong_c"] = "HKG",
		["Hungary_c"] = "HUN",
		["Iceland_c"] = "ISL",
		["India_c"] = "IND",
		["Indonesia_c"] = "IDN",
		["Iran_c"] = "IRN",
		["Iraq_c"] = "IRQ",
		["Israel_c"] = "ISR",
		["Italy_c"] = "ITA",
		["Ivory Coast_c"] = "CIV",
		["Jamaica_c"] = "JAM",
		["Japan_c"] = "JPN",
		["Jordan_c"] = "JOR",
		["Kazakhstan_c"] = "KAZ",
		["Kenya_c"] = "KEN",
		["Kosovo_c"] = "KOS",
		["Kuwait_c"] = "KUW",
		["Kyrgyzstan_c"] = "KGZ",
		["Laos_c"] = "LAO",
		["Latvia_c"] = "LVA",
		["Lebanon_c"] = "LBN",
		["Lesotho_c"] = "LES",
		["Liberia_c"] = "LBR",
		["Libya_c"] = "LBY",
		["Liechtenstein_c"] = "LIE",
		["Lithuania_c"] = "LTU",
		["Luxembourg_c"] = "LUX",
		["Macau_c"] = "MAC",
		["North Macedonia_c"] = "MKD",
		["Madagascar_c"] = "MAD",
		["Malawi_c"] = "MWI",
		["Malaysia_c"] = "MAS",
		["Maldives_c"] = "MDV",
		["Mali_c"] = "MLI",
		["Malta_c"] = "MLT",
		["Mauritania_c"] = "MTN",
		["Mauritius_c"] = "MRI",
		["Mexico_c"] = "MEX",
		["Moldova_c"] = "MDA",
		["Mongolia_c"] = "MNG",
		["Montenegro_c"] = "MNE",
		["Montserrat_c"] = "MSR",
		["Morocco_c"] = "MAR",
		["Mozambique_c"] = "MOZ",
		["Myanmar_c"] = "MYA",
		["Namibia_c"] = "NAM",
		["Nepal_c"] = "NEP",
		["Netherlands_c"] = "NED",
		["New Caledonia_c"] = "NCL",
		["New Zealand_c"] = "NZL",
		["Nicaragua_c"] = "NCA",
		["Niger_c"] = "NIG",
		["Nigeria_c"] = "NGA",
		["North Korea_c"] = "PRK",
		["Northern Ireland_c"] = "NIR",
		["Norway_c"] = "NOR",
		["Oman_c"] = "OMA",
		["Pakistan_c"] = "PAK",
		["Palestine_c"] = "PLE",
			["State of Palestine_c"] = "PLE",
		["Panama_c"] = "PAN",
		["Papua New Guinea_c"] = "PNG",
		["Paraguay_c"] = "PAR",
		["Peru_c"] = "PER",
		["Philippines_c"] = "PHI",
		["Poland_c"] = "POL",
		["Portugal_c"] = "POR",
		["Puerto Rico_c"] = "PUR",
		["Qatar_c"] = "QAT",
		["Republic of Ireland_c"] = "IRL",
		["Romania_c"] = "ROU",
		["Russia_c"] = "RUS",
		["Rwanda_c"] = "RWA",
		["Saint Kitts and Nevis_c"] = "SKN",
		["Saint Lucia_c"] = "LCA",
		["Saint Vincent and the Grenadines_c"] = "VIN",
		["Samoa_c"] = "SAM",
		["San Marino_c"] = "SMR",
		["São Tomé and Príncipe_c"] = "STP",
		["Saudi Arabia_c"] = "KSA",
		["Scotland_c"] = "SCO",
		["Senegal_c"] = "SEN",
		["Serbia_c"] = "SRB",
		["Seychelles_c"] = "SEY",
		["Sierra Leone_c"] = "SLE",
		["Singapore_c"] = "SGP",
		["Slovakia_c"] = "SVK",
		["Slovenia_c"] = "SVN",
		["Solomon Islands_c"] = "SOL",
		["Somalia_c"] = "SOM",
		["South Africa_c"] = "RSA",
		["South Korea_c"] = "KOR",
		["South Sudan_c"] = "SSD",
		["Spain_c"] = "ESP",
		["Sri Lanka_c"] = "SRI",
		["Sudan_c"] = "SDN",
		["Suriname_c"] = "SUR",
		["Eswatini_c"] = "SWZ",
		["Sweden_c"] = "SWE",
		["Switzerland_c"] = "SUI",
		["Syria_c"] = "SYR",
		["French Polynesia_c"] = "TAH",
		["Tajikistan_c"] = "TJK",
		["Tanzania_c"] = "TAN",
		["Thailand_c"] = "THA",
		["East Timor_c"] = "TLS",
			["Timor-Leste_c"] = "TLS",
		["Togo_c"] = "TOG",
		["Tonga_c"] = "TGA",
		["Trinidad and Tobago_c"] = "TRI",
		["Tunisia_c"] = "TUN",
		["Turkey_c"] = "TUR",
		["Turkmenistan_c"] = "TKM",
		["Turks and Caicos Islands_c"] = "TCA",
		["Uganda_c"] = "UGA",
		["Ukraine_c"] = "UKR",
		["United Arab Emirates_c"] = "UAE",
		["United States_c"] = "USA",
		["Uruguay_c"] = "URU",
		["United States Virgin Islands_c"] = "VIR",
		["Uzbekistan_c"] = "UZB",
		["Vanuatu_c"] = "VAN",
		["Venezuela_c"] = "VEN",
		["Vietnam_c"] = "VIE",
		["Wales_c"] = "WAL",
		["Yemen_c"] = "YEM",
		["Zambia_c"] = "ZAM",
		["Zimbabwe_c"] = "ZIM",
	
		["Åland Islands_c"] = "AXL",
			["Åland_c"] = "AXL",
		["Republic of Artsakh_c"] = "NKR",
		["Basque Country (autonomous community)_c"] = "BSQ",
		["Bonaire_c"] = "BOE",
		["Catalonia_c"] = "CAT",
		["French Guiana_c"] = "GUF",
		["United Kingdom_c"] = "GBR",
			["United Kingdom of Great Britain and Ireland_c"] = "GBR",
		["Greenland_c"] = "GRL",
		["Guadeloupe_c"] = "GLP",
		["Kiribati_c"] = "KIR",
		["Martinique_c"] = "MTQ",
		["Northern Cyprus_c"] = "TRNC",
		["Northern Mariana Islands_c"] = "NMI",
		["Réunion_c"] = "REU",
		["Collectivity of Saint Martin_c"] = "SMN",
		["Sint Maarten_c"] = "SMA",
		["Tuvalu_c"] = "TUV",
		["Vatican City_c"] = "VAT",
		["Zanzibar_c"] = "ZAN",
		["Federated States of Micronesia_c"] = "FSM",
		["Monaco_c"] = "MCO",
		["Marshall Islands_c"] = "MHL",
		["Niue_c"] = "NIU",
		["Palau_c"] = "PLW",
		["British Guiana_c"] = "BGU",
		["British Raj_c"] = "BIN",
		["Bohemia_c"] = "BOH",
		["Myanmar_c_old"] = "BUR",
		["Dominion of Ceylon_c"] = "CEY",
		["Commonwealth of Independent States_c"] = "CIS",
		["Czechoslovakia_c"] = "TCH",
		["Republic of Dahomey_c"] = "DAH",
		["Dutch East Indies_c"] = "INH",
		["Federal Republic of Yugoslavia_c"] = "YUG",
		["East Germany_c"] = "GDR",
		["Gold Coast (British colony)_c"] = "GOC",
		["Ireland_c"] = "EIR",
		["Federation of Malaya_c"] = "MAL",
		["Netherlands Antilles_c"] = "ANT",
		["New Hebrides_c"] = "HEB",
		["North Vietnam_c"] = "VNO",
		["Yemen Arab Republic_c"] = "NYE",
		["Northern Rhodesia_c"] = "NRH",
		["Mandatory Palestine_c"] = "PAL",
		["Rhodesia_c"] = "RHO",
		["Saar Protectorate_c"] = "SAA",
		["Serbia and Montenegro_c"] = "SCG",
		["Thailand_c_old"] = "SIA",
		["Southern Rhodesia_c"] = "SRH",
		["South Vietnam_c"] = "VSO",
		["South Yemen_c"] = "YMD",
		["Soviet Union_c"] = "URS",
		["Tanganyika_c"] = "TAA",
		["Taiwan_c"] = "TAI",
		["United Arab Republic_c"] = "UAR",
		["Republic of Upper Volta_c"] = "UPV",
		["West Germany_c"] = "FRG",
		["Samoa_c_old"] = "WSM",
		["Socialist Federal Republic of Yugoslavia_c"] = "YUG",
		["Zaire_c"] = ZAI
	}
	
	return map
end

function p.list(frame)
	return p.fbatable()[frame.args[1]] or ""
end

function p.list_all(frame)
	local map = p.fbatable()
	
	--Create html table & header row
	local list = mw.html.create("table")
	list:addClass("wikitable sortable collapsible")
	local head = list:tag("tr")
	head:tag("th"):wikitext("Input")
	head:tag("th"):wikitext("output")

	--Append rows to create table body
	table.sort(map)
	for k,v in pairs(map) do
		local row = list:tag("tr")
		local out = map[k] and ("[["..map[k].."]]") or k
		row:tag("td"):wikitext("<code>"..k.."</code>")
		row:tag("td"):wikitext(out)
	end

	return list
end

return p