Jump to content

Module:Fba/list

Permanently protected module
From Wikipedia, the free encyclopedia

local p = {}

p.fbas = {
	["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",
}

p.codes = {
	["Afghanistan"] = "AFG",
	["Albania"] = "ALB",
	["Algeria"] = "ALG",
	["American Samoa"] = "ASA",
	["Andorra"] = "AND",
	["Angola"] = "ANG",
	["Anguilla"] = "AIA",
	["Antigua and Barbuda"] = "ATG",
	["Argentina"] = "ARG",
	["Armenia"] = "ARM",
	["Aruba"] = "ARU",
	["Australia"] = "AUS",
	["Austria"] = "AUT",
	["Azerbaijan"] = "AZE",
	["The Bahamas"] = "BAH",
	["Bahrain"] = "BHR",
	["Bangladesh"] = "BAN",
	["Barbados"] = "BRB",
	["Belarus"] = "BLR",
	["Belgium"] = "BEL",
	["Belize"] = "BLZ",
	["Benin"] = "BEN",
	["Bermuda"] = "BER",
	["Bhutan"] = "BHU",
	["Bolivia"] = "BOL",
	["Bosnia and Herzegovina"] = "BIH",
	["Botswana"] = "BOT",
	["Brazil"] = "BRA",
	["British Virgin Islands"] = "VGB",
	["Brunei"] = "BRU",
	["Bulgaria"] = "BUL",
	["Burkina Faso"] = "BFA",
	["Burundi"] = "BDI",
	["Cambodia"] = "CAM",
	["Cameroon"] = "CMR",
	["Canada"] = "CAN",
	["Cape Verde"] = "CPV",
	["Cayman Islands"] = "CAY",
	["Central African Republic"] = "CTA",
	["Chad"] = "CHA",
	["Chile"] = "CHI",
	["China"] = "CHN",
	["Chinese Taipei"] = "TPE",
	["Colombia"] = "COL",
	["Comoros"] = "COM",
	["Republic of the Congo"] = "CGO",
	["Cook Islands"] = "COK",
	["Costa Rica"] = "CRC",
	["Croatia"] = "CRO",
	["Cuba"] = "CUB",
	["Curaçao"] = "CUW",
	["Cyprus"] = "CYP",
	["Czech Republic"] = "CZE",
	["Denmark"] = "DEN",
	["Djibouti"] = "DJI",
	["Dominica"] = "DMA",
	["Dominican Republic"] = "DOM",
	["Democratic Republic of the Congo"] = "COD",
	["Ecuador"] = "ECU",
	["Egypt"] = "EGY",
	["El Salvador"] = "SLV",
	["England"] = "ENG",
	["Equatorial Guinea"] = "EQG",
	["Eritrea"] = "ERI",
	["Estonia"] = "EST",
	["Ethiopia"] = "ETH",
	["Faroe Islands"] = "FRO",
	["Fiji"] = "FIJ",
	["Finland"] = "FIN",
	["France"] = "FRA",
	["Gabon"] = "GAB",
	["The Gambia"] = "GAM",
	["Georgia (country)"] = "GEO",
	["Germany"] = "GER",
	["Ghana"] = "GHA",
	["Gibraltar"] = "GIB",
	["Greece"] = "GRE",
	["Grenada"] = "GRN",
	["Guam"] = "GUM",
	["Guatemala"] = "GUA",
	["Guinea"] = "GUI",
	["Guinea-Bissau"] = "GNB",
	["Guyana"] = "GUY",
	["Haiti"] = "HAI",
	["Honduras"] = "HON",
	["Hong Kong"] = "HKG",
	["Hungary"] = "HUN",
	["Iceland"] = "ISL",
	["India"] = "IND",
	["Indonesia"] = "IDN",
	["Iran"] = "IRN",
	["Iraq"] = "IRQ",
	["Israel"] = "ISR",
	["Italy"] = "ITA",
	["Ivory Coast"] = "CIV",
	["Jamaica"] = "JAM",
	["Japan"] = "JPN",
	["Jordan"] = "JOR",
	["Kazakhstan"] = "KAZ",
	["Kenya"] = "KEN",
	["Kosovo"] = "KOS",
	["Kuwait"] = "KUW",
	["Kyrgyzstan"] = "KGZ",
	["Laos"] = "LAO",
	["Latvia"] = "LVA",
	["Lebanon"] = "LBN",
	["Lesotho"] = "LES",
	["Liberia"] = "LBR",
	["Libya"] = "LBY",
	["Liechtenstein"] = "LIE",
	["Lithuania"] = "LTU",
	["Luxembourg"] = "LUX",
	["Macau"] = "MAC",
	["North Macedonia"] = "MKD",
	["Madagascar"] = "MAD",
	["Malawi"] = "MWI",
	["Malaysia"] = "MAS",
	["Maldives"] = "MDV",
	["Mali"] = "MLI",
	["Malta"] = "MLT",
	["Mauritania"] = "MTN",
	["Mauritius"] = "MRI",
	["Mexico"] = "MEX",
	["Moldova"] = "MDA",
	["Mongolia"] = "MNG",
	["Montenegro"] = "MNE",
	["Montserrat"] = "MSR",
	["Morocco"] = "MAR",
	["Mozambique"] = "MOZ",
	["Myanmar"] = "MYA",
	["Namibia"] = "NAM",
	["Nepal"] = "NEP",
	["Netherlands"] = "NED",
	["New Caledonia"] = "NCL",
	["New Zealand"] = "NZL",
	["Nicaragua"] = "NCA",
	["Niger"] = "NIG",
	["Nigeria"] = "NGA",
	["North Korea"] = "PRK",
	["Northern Ireland"] = "NIR",
	["Norway"] = "NOR",
	["Oman"] = "OMA",
	["Pakistan"] = "PAK",
	["Palestine"] = "PLE",
		["State of Palestine"] = "PLE",
	["Panama"] = "PAN",
	["Papua New Guinea"] = "PNG",
	["Paraguay"] = "PAR",
	["Peru"] = "PER",
	["Philippines"] = "PHI",
	["Poland"] = "POL",
	["Portugal"] = "POR",
	["Puerto Rico"] = "PUR",
	["Qatar"] = "QAT",
	["Republic of Ireland"] = "IRL",
	["Romania"] = "ROU",
	["Russia"] = "RUS",
	["Rwanda"] = "RWA",
	["Saint Kitts and Nevis"] = "SKN",
	["Saint Lucia"] = "LCA",
	["Saint Vincent and the Grenadines"] = "VIN",
	["Samoa"] = "SAM",
	["San Marino"] = "SMR",
	["São Tomé and Príncipe"] = "STP",
	["Saudi Arabia"] = "KSA",
	["Scotland"] = "SCO",
	["Senegal"] = "SEN",
	["Serbia"] = "SRB",
	["Seychelles"] = "SEY",
	["Sierra Leone"] = "SLE",
	["Singapore"] = "SGP",
	["Slovakia"] = "SVK",
	["Slovenia"] = "SVN",
	["Solomon Islands"] = "SOL",
	["Somalia"] = "SOM",
	["South Africa"] = "RSA",
	["South Korea"] = "KOR",
	["South Sudan"] = "SSD",
	["Spain"] = "ESP",
	["Sri Lanka"] = "SRI",
	["Sudan"] = "SDN",
	["Suriname"] = "SUR",
	["Eswatini"] = "SWZ",
	["Sweden"] = "SWE",
	["Switzerland"] = "SUI",
	["Syria"] = "SYR",
	["French Polynesia"] = "TAH",
	["Tajikistan"] = "TJK",
	["Tanzania"] = "TAN",
	["Thailand"] = "THA",
	["East Timor"] = "TLS",
		["Timor-Leste"] = "TLS",
	["Togo"] = "TOG",
	["Tonga"] = "TGA",
	["Trinidad and Tobago"] = "TRI",
	["Tunisia"] = "TUN",
	["Turkey"] = "TUR",
	["Turkmenistan"] = "TKM",
	["Turks and Caicos Islands"] = "TCA",
	["Uganda"] = "UGA",
	["Ukraine"] = "UKR",
	["United Arab Emirates"] = "UAE",
	["United States"] = "USA",
	["Uruguay"] = "URU",
	["United States Virgin Islands"] = "VIR",
	["Uzbekistan"] = "UZB",
	["Vanuatu"] = "VAN",
	["Venezuela"] = "VEN",
	["Vietnam"] = "VIE",
	["Wales"] = "WAL",
	["Yemen"] = "YEM",
	["Zambia"] = "ZAM",
	["Zimbabwe"] = "ZIM",

	["Åland Islands"] = "AXL",
		["Åland"] = "AXL",
	["Republic of Artsakh"] = "NKR",
	["Basque Country (autonomous community)"] = "BSQ",
	["Bonaire"] = "BOE",
	["Catalonia"] = "CAT",
	["French Guiana"] = "GUF",
	["United Kingdom"] = "GBR",
		["United Kingdom of Great Britain and Ireland"] = "GBR",
	["Greenland"] = "GRL",
	["Guadeloupe"] = "GLP",
	["Kiribati"] = "KIR",
	["Martinique"] = "MTQ",
	["Northern Cyprus"] = "TRNC",
	["Northern Mariana Islands"] = "NMI",
	["Réunion"] = "REU",
	["Collectivity of Saint Martin"] = "SMN",
	["Sint Maarten"] = "SMA",
	["Tuvalu"] = "TUV",
	["Vatican City"] = "VAT",
	["Zanzibar"] = "ZAN",
	["Federated States of Micronesia"] = "FSM",
	["Monaco"] = "MCO",
	["Marshall Islands"] = "MHL",
	["Niue"] = "NIU",
	["Palau"] = "PLW",
	["British Guiana"] = "BGU",
	["British Raj"] = "BIN",
	["Bohemia"] = "BOH",
	["Burma"] = "BUR",
		["Myanmar_old"] = "BUR",
	["Dominion of Ceylon"] = "CEY",
	["Commonwealth of Independent States"] = "CIS",
	["Czechoslovakia"] = "TCH",
	["Republic of Dahomey"] = "DAH",
	["Dutch East Indies"] = "INH",
	["Federal Republic of Yugoslavia"] = "YUG",
	["East Germany"] = "GDR",
	["Gold Coast (British colony)"] = "GOC",
	["Ireland"] = "EIR",
	["Federation of Malaya"] = "MAL",
	["Netherlands Antilles"] = "ANT",
	["New Hebrides"] = "HEB",
	["North Vietnam"] = "VNO",
	["Yemen Arab Republic"] = "NYE",
	["Northern Rhodesia"] = "NRH",
	["Mandatory Palestine"] = "PAL",
	["Rhodesia"] = "RHO",
	["Saar Protectorate"] = "SAA",
	["Serbia and Montenegro"] = "SCG",
	["Siam"] = "SIA",
		["Thailand_old"] = "SIA",
	["Southern Rhodesia"] = "SRH",
	["South Vietnam"] = "VSO",
	["South Yemen"] = "YMD",
	["Soviet Union"] = "URS",
	["Tanganyika"] = "TAA",
	["Taiwan"] = "TAI",
	["United Arab Republic"] = "UAR",
	["Republic of Upper Volta"] = "UPV",
	["West Germany"] = "FRG",
	["Western Samoa"] = "WSM",
		["Samoa_old"] = "WSM",
	["Socialist Federal Republic of Yugoslavia"] = "YUG",
	["Zaire"] = "ZAI",
}

function p.list(frame)
	if frame.args[1] then
		if string.sub(frame.args[1], -2) == "_c" then
			return p.codes[string.sub(frame.args[1], 1, -3)] or ""
		elseif string.sub(frame.args[1], -6) == "_c_old" then
			return p.codes[string.sub(frame.args[1], 1, -7) .. "_old"] or ""
		end
		return p.fbas[frame.args[1]] or ""
	end
	return ""
end

function p.list_all(frame)
	local fbas = {}
	local links = {}

	--Find aliases
	for k, v in pairs(p.fbas) do
		if links[v] then
			table.insert(fbas[links[v]].aliases, k)
			table.sort(fbas[links[v]].aliases)
		else
			links[v] = k
			fbas[k] = {[1] = v, aliases = {[1] = k}}
		end
	end

	local lists = mw.html.create()
	--Create fbas table
	local fbatable = lists:tag("table"):addClass("wikitable sortable collapsible")
	fbatable:tag("tr"):tag("th"):wikitext("Input"):done():tag("th"):wikitext("Output")
	for k,v in pairs(fbas) do
		local inp = (type(fbas[k].aliases) == "table") and ("<code>"..table.concat(fbas[k].aliases,"</code><br/><code>").."</code>") or ""
		local out = fbas[k][1] and ("[["..fbas[k][1].."]]") or k
		fbatable:tag("tr"):tag("td"):wikitext(inp):done():tag("td"):wikitext(out)
	end

	--Create codes table
	local ctable = lists:tag("table"):addClass("wikitable sortable collapsible")
	ctable:tag("tr"):tag("th"):wikitext("Input"):done():tag("th"):wikitext("Output")
	for k,v in pairs(p.codes) do
		ctable:tag("tr"):tag("td"):wikitext("<code>"..k.."</code>"):done():tag("td"):wikitext("<code>"..v.."</code>")
	end

	return lists
end

return p