Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Module:SportsRankings/data/IIHF World Ranking

From Wikipedia, the free encyclopedia

local data = {}

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

-- general information about ranking and website being cited
data.source = {
    url    = "https://www.iihf.com/en/worldranking",
    title  = "IIHF Men's World Ranking", 
	website = "IIHF"
}

-- date of latest update
data.updated = {
	day = 21,
	month = 'May',
	year =2018
}

--[[ the rankings list
     copy rankings from IIHF and use follow excel to generate table entre
         =CONCAT("          {  '",TRIM(C11), "',  ",A11,",  ",E11,", ",D11," },  ")
     must edit alias listing to make sure country strings match 
--]]
data.rankings = {
          {  'Canada',  1,  0, 3990 },  
          {  'Sweden',  2,  1, 3945 },  
          {  'Russia',  3,  -1, 3930 },  
          {  'United States',  4,  2, 3765 },  
          {  'Finland',  5,  -1, 3765 },  
          {  'Czech Republic',  6,  -1, 3690 },  
          {  'Switzerland',  7,  1, 3590 },  
          {  'Germany',  8,  -1, 3575 },  
          {  'Norway',  9,  0, 3270 },  
          {  'Slovakia',  10,  0, 3245 },  
          {  'Latvia',  11,  2, 3225 },  
          {  'Denmark',  12,  2, 3130 },  
          {  'France',  13,  -1, 3115 },  
          {  'Belarus',  14,  -3, 3085 },  
          {  'Slovenia',  15,  0, 2915 },  
          {  'Korea',  16,  2, 2835 },  
          {  'Austria',  17,  0, 2820 },  
          {  'Kazakhstan',  18,  -2, 2760 },  
          {  'Italy',  19,  -1, 2725 },  
          {  'Hungary',  20,  0, 2595 },  
          {  'Poland',  21,  0, 2565 },  
          {  'Great Britain',  22,  2, 2465 },  
          {  'Japan',  23,  -1, 2410 },  
          {  'Ukraine',  24,  -1, 2340 },  
          {  'Lithuania',  25,  0, 2200 },  
          {  'Estonia',  26,  1, 2155 },  
          {  'Croatia',  27,  -2, 2115 },  
          {  'Netherlands',  28,  0, 2060 },  
          {  'Romania',  29,  0, 2030 },  
          {  'Serbia',  30,  0, 1830 },  
          {  'Spain',  31,  0, 1700 },  
          {  'Iceland',  32,  0, 1660 },  
          {  'China',  33,  0, 1610 },  
          {  'Israel',  34,  1, 1450 },  
          {  'Mexico',  35,  -1, 1440 },  
          {  'Australia',  36,  2, 1280 },  
          {  'Belgium',  37,  -1, 1250 },  
          {  'Bulgaria',  38,  -1, 1210 },  
          {  'New Zealand',  39,  0, 1030 },  
          {  'Georgia',  40,  1, 990 },  
          {  'DPR Korea',  41,  -1, 925 },  
          {  'Luxembourg',  42,  1, 790 },  
          {  'Turkey',  43,  -1, 770 },  
          {  'South Africa',  44,  0, 655 },  
          {  'Hong Kong',  45,  0, 600 },  
          {  'Chinese Taipei',  46,  2, 425 },  
          {  'United Arab Emirates',  47,  -1, 365 },  
          {  'Bosnia & Herzegovina',  48,  -1, 360 },  
          {  'Turkmenistan',  49,  0 , 200 },  
          {  'Kuwait',  50,  0 , 140 },  

}

-- alias list (need empty list if not used)
data.alias = {
          {  'USA',  'United States' },  
          {  'ESP',  'Spain' },  
          {  'FRA',  'France' },  
          {  'SRB',  'Serbia' },  
          {  'ARG',  'Argentina' },  
          {  'LTU',  'Lithuania' },  
          {  'SLO',  'Slovenia' },  
          {  'CRO',  'Croatia' },  
          {  'GRE',  'Greece' },  
          {  'AUS',  'Australia' },  
          {  'BRA',  'Brazil' },  
          {  'RUS',  'Russia' },  
          {  'MEX',  'Mexico' },  
          {  'ITA',  'Italy' },  
          {  'PUR',  'Puerto Rico' },  
          {  'LAT',  'Latvia' },  
          {  'TUR',  'Turkey' },  
          {  'DOM',  'Dominican Republic' },  
          {  'UKR',  'Ukraine' },  
          {  'VEN',  'Venezuela' },  
          {  'FIN',  'Finland' },  
          {  'GER',  'Germany' },  
          {  'CAN',  'Canada' },  
          {  'CZE',  'Czech Republic' },  
          {  'IRI',  'Iran' },  
          {  'GEO',  'Georgia' },  
          {  'POL',  'Poland' },  
          {  'BEL',  'Belgium' },  
          {  'CHN',  'China' },  
          {  'PHI',  'Philippines' },  
          {  'MNE',  'Montenegro' },  
          {  'NGR',  'Nigeria' },  
          {  'KOR',  'Korea' },
          {  'PRK',  'DPR Korea' },
          {  'URU',  'Uruguay' },  
          {  'ISR',  'Israel' },  
          {  'SEN',  'Senegal' },  
          {  'ANG',  'Angola' },  
          {  'NZL',  'New Zealand' },  
          {  'HUN',  'Hungary' },  
          {  'MKD',  'Macedonia' },  
          {  'GBR',  'Great Britain' },  
          {  'BIH',  'Bosnia & Herzegovina' },  
          {  'PAN',  'Panama' },  
          {  'NED',  'Netherlands' },  
          {  'ISL',  'Iceland' },  
          {  'JOR',  'Jordan' },  
          {  'EST',  'Estonia' },  
          {  'BUL',  'Bulgaria' },  
          {  'JPN',  'Japan' },  
          {  'ISV',  'Virgin Islands' },  
          {  'TUN',  'Tunisia' },  
          {  'EGY',  'Egypt' },  
          {  'SWE',  'Sweden' },  
          {  'LBN',  'Lebanon' },  
          {  'AUT',  'Austria' },  
          {  'BLR',  'Belarus' },  
          {  'TPE',  'Chinese Taipei' },  
          {  'BAH',  'Bahamas' },  
          {  'ROU',  'Romania' },  
          {  'POR',  'Portugal' },  
          {  'MAR',  'Morocco' },  
          {  'QAT',  'Qatar' },  
          {  'CMR',  'Cameroon' },  
          {  'CUB',  'Cuba' },  
          {  'IND',  'India' },  
          {  'SUI',  'Switzerland' },  
          {  'MLI',  'Mali' },  
          {  'SVK',  'Slovakia' },  
          {  'DEN',  'Denmark' },  
          {  'KAZ',  'Kazakhstan' },  
          {  'CIV',  "Cote d'Ivoire" },  
          {  'PAR',  'Paraguay' },  
          {  'CAF',  'CAF' },  
          {  'JAM',  'Jamaica' },  
          {  'ANT',  'Antigua' },  
          {  'COL',  'Colombia' },  
          {  'MOZ',  'Mozambique' },  
          {  'IRQ',  'Iraq' },  
          {  'RWA',  'Rwanda' },  
          {  'CHI',  'Chile' },  
          {  'LUX',  'Luxembourg' },  
          {  'KOS',  'Kosovo' },  
          {  'HKG',  'Hong Kong' },  
          {  'COD',  'Dem.Rep. of Congo' },  
          {  'ARM',  'Armenia' },  
          {  'BAR',  'Barbados' },  
          {  'SYR',  'Syria' },  
          {  'CRC',  'Costa Rica' },  
          {  'CYP',  'Cyprus' },  
          {  'PLE',  'Palestine' },  
          {  'CPV',  'Cape Verde' },  
          {  'UGA',  'Uganda' },  
          {  'ALG',  'Algeria' },  
          {  'AND',  'Andorra' },  
          {  'MLT',  'Malta' },  
          {  'VIN',  'St.Vincent and the Grenadines' },  
          {  'INA',  'Indonesia' },  
          {  'BER',  'Bermuda' },  
          {  'GUY',  'Guyana' },  
          {  'ALB',  'Albania' },  
          {  'CHA',  'Chad' },  
          {  'SGP',  'Singapore' },  
          {  'THA',  'Thailand' },  
          {  'MAS',  'Malaysia' },  
          {  'NCA',  'Nicaragua' },  
          {  'BRN',  'Bahrain' },  
          {  'SUR',  'Suriname' },  
          {  'NOR',  'Norway' },  
          {  'IVB',  'British Virgin Islands' },  
          {  'IRL',  'Ireland' },  
          {  'KSA',  'Saudi Arabia' },  
          {  'HON',  'Honduras' },  
          {  'AZE',  'Azerbaijan' },  
          {  'RSA',  'South Africa' },  
          {  'ESA',  'El Salvador' },  
          {  'SMR',  'San Marino' },  
          {  'GUI',  'Guinea' },  
          {  'GAB',  'Gabon' },  
          {  'ECU',  'Ecuador' },  
          {  'ZIM',  'Zimbabwe' },  
          {  'CAY',  'Cayman Islands' },  
          {  'MDA',  'Moldova' },  
          {  'UAE',  'United Arab Emirates' },  
          {  'GRN',  'Grenada' },  
          {  'BOL',  'Bolivia' },  
          {  'SRI',  'Sri Lanka' },  
          {  'KEN',  'Kenya' },  
          {  'BUR',  'Burkina Faso' },  
          {  'SSD',  'South Sudan' },  
          {  'MAT',  'Montserrat' },  
          {  'ZAM',  'Zambia' },  
          {  'GIB',  'Gibraltar' },  
          {  'BDI',  'Burundi' },  
          {  'KUW',  'Kuwait' },  
          {  'VIE',  'Vietnam' },  
          {  'PER',  'Peru' },  
          {  'SEY',  'Seychelles' },  
          {  'UZB',  'Uzbekistan' },  
          {  'SOM',  'Somalia' },  
          {  'GUA',  'Guatemala' },  
          {  'BEN',  'Benin' },  
          {  'BAN',  'Bangladesh' },  
          {  'MAD',  'Madagascar' },  
          {  'MDV',  'Maldives' },  
          {  'BOT',  'Botswana' },  
          {  'MAC',  'Macau' },  
          {  'BHU',  'Bhutan' },  
          {  'LCA',  'St. Lucia' },  
          {  'BRU',  'Brunei Darussalam' },  
          {  'TAN',  'Tanzania' },  
          {  'TOG',  'Togo' },  
          {  'NEP',  'Nepal' },  
          {  'OMA',  'Oman' },  
          {  'MTN',  'Mauritania' },  
          {  'MYA',  'Myanmar' },  
          {  'CAM',  'Cambodia' },  
          {  'LBA',  'Libya' },  
          {  'HAI',  'Haiti' },  
          {  'MAW',  'Malawi' },  
          {  'TKM',  'Turkmenistan' },
     	  --
     	  { 'code', 'key'}
}	
return data