Модуль:SportsRankings/data/FIFA World Rankings

{{i}} Документація модуля[створити]
local data = {}

-- information about other templates used by module
data.templates = { flagged_team_link = "fb" }

-- general information about ranking and website being cited
data.source = {
    url = "https://www.fifa.com/fifa-world-ranking/ranking-table/men/", 
	title = "The FIFA/Coca-Cola World Ranking",
	website = "FIFA"
}

-- date of latest update and previous one for movement
data.updated  = { 	day = 17, 	month = 'вересня',year =2020 }
data.previous = { 	day = 16, 	month = 'липня',		year =2020 }

-- see "Generating code" section on doc page for how to update the rankings

data.rankings = {
          {  "Belgium", 1, 0, 1773 },
          {  "France", 2, 0, 1744 },
          {  "Brazil", 3, 0, 1712 },
          {  "England", 4, 0, 1664 },
          {  "Portugal", 5, 2, 1653 },
          {  "Uruguay", 6, -1, 1645 },
          {  "Spain", 7, 1, 1642 },
          {  "Croatia", 8, -2, 1628 },
          {  "Argentina", 9, 0, 1623 },
          {  "Colombia", 10, 0, 1622 },
          {  "Mexico", 11, 0, 1621 },
          {  "Italy", 12, 1, 1612 },
          {  "Netherlands", 13, 1, 1603 },
          {  "Germany", 14, 1, 1602 },
          {  "Switzerland", 15, -3, 1600 },
          {  "Denmark", 16, 0, 1593 },
          {  "Chile", 17, 0, 1579 },
          {  "Sweden", 18, -1, 1567 },
          {  "Poland", 19, 0, 1558 },
          {  "Senegal", 20, 0, 1555 },
          {  "Wales", 21, 2, 1550 },
          {  "Peru", 22, -1, 1544 },
          {  "USA", 23, -1, 1542 },
          {  "Ukraine", 24, 0, 1539 },
          {  "Venezuela", 25, 0, 1517 },
          {  "Tunisia", 26, 1, 1506 },
          {  "Austria", 27, -1, 1505 },
          {  "Japan", 28, 0, 1500 },
          {  "Nigeria", 29, 2, 1493 },
          {  "IR Iran", 30, 3, 1489 },
          {  "Serbia", 31, -2, 1486 },
          {  "Turkey", 32, -3, 1485 },
          {  "Russia", 32, 6, 1485 },
          {  "Romania", 34, 3, 1483 },
          {  "Algeria", 35, 0, 1482 },
          {  "Slovakia", 36, -4, 1479 },
          {  "Republic of Ireland", 37, -3, 1475 },
          {  "Northern Ireland", 38, -2, 1468 },
          {  "Korea Republic", 39, 1, 1464 },
          {  "Paraguay", 40, 1, 1461 },
          {  "Australia", 41, 1, 1457 },
          {  "Iceland", 41, -2, 1457 },
          {  "Morocco", 43, 0, 1456 },
          {  "Norway", 44, 0, 1452 },
          {  "Czech Republic", 45, 0, 1446 },
          {  "Costa Rica", 46, 0, 1439 },
          {  "Ghana", 46, 0, 1439 },
          {  "Jamaica", 48, 0, 1438 },
          {  "Scotland", 49, 1, 1428 },
          {  "Bosnia and Herzegovina", 50, -1, 1426 },
          {  "Egypt", 51, 0, 1420 },
          {  "Hungary", 52, 0, 1418 },
          {  "Greece", 53, 1, 1413 },
          {  "Cameroon", 53, 0, 1413 },
          {  "Qatar", 55, 0, 1396 },
          {  "Finland", 56, 2, 1390 },
          {  "Mali", 57, -1, 1389 },
          {  "Congo DR", 57, -1, 1389 },
          {  "Burkina Faso", 59, 0, 1381 },
          {  "Côte d'Ivoire", 60, 1, 1378 },
          {  "Bulgaria", 60, -1, 1378 },
          {  "Honduras", 62, 0, 1377 },
          {  "Montenegro", 63, 1, 1376 },
          {  "Slovenia", 64, 0, 1368 },
          {  "Ecuador", 64, -1, 1368 },
          {  "Saudi Arabia", 66, 1, 1351 },
          {  "North Macedonia", 66, 2, 1351 },
          {  "Albania", 66, 0, 1351 },
          {  "El Salvador", 69, 0, 1346 },
          {  "Iraq", 70, 0, 1344 },
          {  "United Arab Emirates", 71, 0, 1334 },
          {  "South Africa", 71, 0, 1334 },
          {  "Canada", 73, 0, 1332 },
          {  "Guinea", 74, 0, 1328 },
          {  "Bolivia", 75, 0, 1324 },
          {  "China PR", 76, 0, 1323 },
          {  "Uganda", 77, 0, 1321 },
          {  "Cabo Verde", 78, 0, 1318 },
          {  "Syria", 79, 0, 1314 },
          {  "Curaçao", 80, 0, 1313 },
          {  "Panama", 81, 0, 1305 },
          {  "Oman", 82, 0, 1303 },
          {  "Gabon", 83, 0, 1297 },
          {  "Benin", 84, 0, 1295 },
          {  "Uzbekistan", 85, 0, 1290 },
          {  "Haiti", 86, 0, 1285 },
          {  "Belarus", 87, 0, 1282 },
          {  "Zambia", 88, 0, 1279 },
          {  "Georgia", 89, 2, 1274 },
          {  "Congo", 90, -1, 1269 },
          {  "Lebanon", 90, -1, 1269 },
          {  "Madagascar", 92, -1, 1267 },
          {  "Israel", 93, 0, 1265 },
          {  "Vietnam", 94, 0, 1258 },
          {  "Kyrgyz Republic", 95, 1, 1240 },
          {  "Jordan", 96, 1, 1238 },
          {  "Luxembourg", 97, 1, 1237 },
          {  "Cyprus", 98, -3, 1236 },
          {  "Bahrain", 99, 0, 1225 },
          {  "Mauritania", 100, 0, 1223 },
          {  "Armenia", 101, 1, 1215 },
          {  "Libya", 101, 0, 1215 },
          {  "Palestine", 103, 0, 1204 },
          {  "Trinidad and Tobago", 104, 1, 1201 },
          {  "Mozambique", 105, 1, 1200 },
          {  "Kenya", 106, 1, 1199 },
          {  "Faroe Islands", 107, 3, 1191 },
          {  "Estonia", 108, -4, 1188 },
          {  "India", 109, -1, 1187 },
          {  "Central African Republic", 110, -1, 1184 },
          {  "Zimbabwe", 111, 0, 1180 },
          {  "Azerbaijan", 112, 2, 1179 },
          {  "Niger", 112, 0, 1179 },
          {  "Thailand", 114, -1, 1178 },
          {  "Korea DPR", 115, 1, 1170 },
          {  "Kosovo", 116, -1, 1167 },
          {  "Namibia", 117, 0, 1160 },
          {  "Kazakhstan", 118, 0, 1156 },
          {  "Sierra Leone", 119, -1, 1155 },
          {  "Guinea-Bissau", 119, -1, 1155 },
          {  "New Zealand", 121, 1, 1149 },
          {  "Tajikistan", 122, -1, 1148 },
          {  "Malawi", 123, 0, 1141 },
          {  "Philippines", 124, 0, 1136 },
          {  "Angola", 124, 0, 1136 },
          {  "Togo", 126, 0, 1127 },
          {  "Antigua and Barbuda", 126, 0, 1127 },
          {  "Sudan", 128, 0, 1112 },
          {  "Turkmenistan", 129, 0, 1107 },
          {  "Guatemala", 130, 0, 1104 },
          {  "Lithuania", 131, 0, 1093 },
          {  "Rwanda", 132, -1, 1089 },
          {  "Comoros", 133, 0, 1088 },
          {  "Tanzania", 134, 0, 1086 },
          {  "Myanmar", 135, 1, 1081 },
          {  "Chinese Taipei", 136, 2, 1078 },
          {  "Latvia", 137, 0, 1076 },
          {  "Andorra", 137, -2, 1076 },
          {  "Lesotho", 139, 0, 1074 },
          {  "St. Kitts and Nevis", 139, 0, 1074 },
          {  "Suriname", 141, 0, 1073 },
          {  "Solomon Islands", 141, 0, 1073 },
          {  "Hong Kong", 143, 0, 1072 },
          {  "Yemen", 144, 0, 1071 },
          {  "Equatorial Guinea", 145, 0, 1066 },
          {  "Ethiopia", 146, 0, 1061 },
          {  "Kuwait", 147, 0, 1060 },
          {  "Botswana", 148, 0, 1055 },
          {  "Burundi", 149, 0, 1052 },
          {  "Afghanistan", 149, 0, 1052 },
          {  "Nicaragua", 151, 0, 1051 },
          {  "Liberia", 152, 0, 1047 },
          {  "Eswatini", 153, 0, 1042 },
          {  "Malaysia", 154, 0, 1040 },
          {  "Maldives", 155, 0, 1038 },
          {  "New Caledonia", 156, 0, 1035 },
          {  "Singapore", 157, 0, 1020 },
          {  "Dominican Republic", 158, 0, 1019 },
          {  "Gambia", 159, 0, 1015 },
          {  "Grenada", 159, 0, 1015 },
          {  "Tahiti", 161, 0, 1014 },
          {  "Barbados", 162, 0, 1009 },
          {  "Vanuatu", 163, 0, 996 },
          {  "Fiji", 163, 0, 996 },
          {  "Papua New Guinea", 165, 0, 991 },
          {  "Guyana", 166, 0, 988 },
          {  "St. Vincent and the Grenadines", 167, 0, 986 },
          {  "South Sudan", 168, 0, 983 },
          {  "Bermuda", 168, 0, 983 },
          {  "Belize", 170, 0, 974 },
          {  "Nepal", 170, 0, 974 },
          {  "Mauritius", 172, 0, 965 },
          {  "Indonesia", 173, 0, 964 },
          {  "Cambodia", 173, 0, 964 },
          {  "Moldova", 175, 0, 959 },
          {  "St. Lucia", 176, 0, 953 },
          {  "Chad", 177, 0, 943 },
          {  "Puerto Rico", 178, 0, 941 },
          {  "Cuba", 179, 0, 936 },
          {  "Liechtenstein", 180, 0, 932 },
          {  "São Tomé and Príncipe", 181, 0, 923 },
          {  "Macau", 182, 0, 922 },
          {  "Montserrat", 183, 0, 921 },
          {  "Djibouti", 184, 0, 919 },
          {  "Dominica", 184, 0, 919 },
          {  "Malta", 186, -2, 917 },
          {  "Bangladesh", 187, 0, 914 },
          {  "Laos", 188, 0, 912 },
          {  "Bhutan", 189, 0, 911 },
          {  "Mongolia", 190, 0, 906 },
          {  "Brunei Darussalam", 191, 0, 904 },
          {  "American Samoa", 192, 0, 900 },
          {  "Cayman Islands", 193, 0, 897 },
          {  "Samoa", 194, 0, 894 },
          {  "Gibraltar", 195, 1, 886 },
          {  "Bahamas", 196, -1, 880 },
          {  "Timor-Leste", 197, -1, 879 },
          {  "Somalia", 197, -1, 879 },
          {  "Guam", 199, 0, 873 },
          {  "Aruba", 200, 0, 867 },
          {  "Pakistan", 200, 0, 867 },
          {  "Seychelles", 202, 0, 866 },
          {  "Tonga", 203, 0, 862 },
          {  "Turks and Caicos Islands", 203, 0, 862 },
          {  "Eritrea", 205, 0, 856 },
          {  "Sri Lanka", 206, 0, 853 },
          {  "US Virgin Islands", 207, 0, 844 },
          {  "British Virgin Islands", 208, 0, 842 },
          {  "Anguilla", 209, 1, 821 },
          {  "San Marino", 210, -1, 811 },
}

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

data.confederation = { AFC =    { "AFG","AUS","BAN","BHR","BHU","BRU","CAM","CHN","GUM","HKG",
	                              "IDN","IND","IRN","IRQ","JOR","JPN","KGZ","KOR","KSA","KUW",
	                              "LAO","LBN","LIB","MAC","MAS","MDV","MNG","MYA","NEP","OMA","PAK",
    	                          "PHI","PLE","PRK","QAT","SIN","SRI","SYR","THA","TJK","TKM",
    	                          "TLS","TPE","UAE","UZB","VIE","YEM" 
                                } ,
                          EAFF =    { "CHN","GUM","HKG","JPN","KOR","MAC","MNG","PRK","TPE"
                                } ,
                        test = { "ENG", "SCO", "WAL", "IRE", "NIR", "FRA", "England", "France", "Germany" },
                      }
    	                          
return data