Module:SportsRankings/data/WBSC Men's Softball World Rankings and Module:SportsRankings/data/WBSC Men's Softball World Rankings/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
imported>Kezyfooty
No edit summary
 
imported>Kezyfooty
Created page with '--[[ local data = {} -- information about other templates used by module data.templates = { flagged_team_link = "sb" } -- general information about ranking and website being cited data.source = { url = "https://rankings.wbsc.org/list/softball/men", title = "The WBSC Men's Softball World Ranking", website = "WBSC" } -- date of latest update and previous one for movement data.updated = { day = 31, month = 'May', year =2022 } data.previous = {...'
 
Line 1: Line 1:
local data = {}
--[[
  local data = {}


-- information about other templates used by module
-- information about other templates used by module
Line 12: Line 13:


-- date of latest update and previous one for movement
-- date of latest update and previous one for movement
data.updated  = { day = 26, month = 'April',  year =2023 }
data.updated  = { day = 31, month = 'May',  year =2022 }
data.previous = { day = 31, month = 'December',  year =2022 }
data.previous = { day = 31, month = 'December',  year =2021 }


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


data.rankings = {
data.rankings = {
           { "Argentina", 1, 0, 4224 },
           { "Argentina", 1, 1, 3262 },
           { "Australia", 2, 2, 3551 },
           { "Japan", 2, -1, 2727 },
           { "Japan", 3, 0, 3451 },
           { "Canada", 3, 3, 2408 },
           { "Canada", 4, -2, 3358 },
           { "Australia", 4, -1, 2304 },
           { "United States", 5, 0, 2655 },
           { "Czech Republic", 5, -1, 2228 },
           { "Czech Republic", 6, 0, 2526 },
           { "New Zealand", 6, -1, 2065 },
           { "New Zealand", 7, 0, 2280 },
           { "United States", 7, 0, 2032 },
           { "Venezuela", 8, 0, 2133 },
           { "Mexico", 8, 0, 1734 },
           { "Cuba", 9, 0, 1807 },
           { "Venezuela", 9, 2, 1135 },
           { "Mexico", 10, 0, 1775 },
           { "Denmark", 10, -1, 1131 },
           { "Denmark", 11, 0, 1069 },
           { "South Africa", 11, -1, 1060 },
           { "Singapore", 12, 2, 994 },
           { "Cuba", 12, 2, 1048 },
           { "Guatemala", 13, 0, 934 },
           { "Guatemala", 13, -1, 954 },
           { "South Africa", 14, -2, 894 },
           { "Netherlands", 14, 1, 594 },
           { "Philippines", 15, 0, 623 },
           { "Singapore", 15, -2, 548 },
           { "Netherlands", 16, 0, 412 },
           { "India", 16, 0, 384 },
           { "Israel", 17, 4, 339 },
           { "Botswana", 17, 1, 367 },
           { "Botswana", 18, -1, 253 },
           { "Croatia", 18, 1, 284 },
           { "Dominican Republic", 19, -1, 221 },
           { "Israel", 19, 1, 261 },
           { "Chinese Taipei", 20, -1, 192 },
           { "Dominican Republic", 20, 15, 223 },
           { "Croatia", 21, -1, 182 },
           { "Great Britain", 21, 1, 167 },
           { "India", 22, 0, 177 },
           { "Philippines", 21, -4, 167 },
           { "France", 23, 0, 156 },
           { "France", 23, 0, 156 },
           { "Colombia", 24, 0, 147 },
           { "Hong Kong", 24, -3, 140 },
           { "Hong Kong", 25, 0, 115 },
           { "Belgium", 25, 0, 135 },
           { "Slovakia", 26, 0, 76 },
           { "Slovakia", 26, 0, 129 },
           { "Thailand", 27, 0, 72 },
           { "Colombia", 27, 10, 122 },
           { "Panama", 28, 0, 52 },
           { "Sweden", 28, 1, 86 },
           { "Peru", 28, 0, 52 },
           { "Germany", 29, 1, 85 },
           { "Sweden", 30, 0, 50 },
           { "Panama", 30, 22, 70 },
           { "Puerto Rico", 31, 0, 45 },
           { "Italy", 31, 2, 69 },
           { "Great Britain", 32, 0, 26 },
           { "Peru", 32, 2, 46 },
           { "Lithuania", 33, 0, 24 },
          { "Peurto Rico", 33, 0, 45 },
           { "Indonesia", 34, 1, 12 },
           { "Lithuania", 34, 2, 44 },
           { "Belize", 35, 1, 10 },
          { "Thailand", 35, -8, 31 },
           { "Kenya", 35, 1, 10 },
          { "Honduras", 36, 2, 42 },
           { "Malaysia", 35, 1, 10 },
          { "Lesotho", 37, 2, 20 },
           { "Uganda", 38, 0, 3 },
          { "Costa Rica", 38, 2, 12 },
          { "Ecuador", 38, 2, 12 },
           { "Indonesia", 38, -14, 12 },
          { "Kenya", 41, 0, 11 },
           { "Belize", 42, 0, 10 },
          { "Malaysia", 42, -11, 10 },
          { "Aruba", 44, -1, 9 },
           { "Bahamas", 45, -1, 8 },
           { "Brazil", 46, -1, 3 },
           { "El Salvador", 46, -1, 3 },
           }
           }


Line 61: Line 71:
data.alias = {  
data.alias = {  
    { "ARG",  "Argentina" },
    { "ARG",  "Argentina" },
    { "ARU",  "Aruba" },
    { "AUS",  "Australia" },
    { "AUS",  "Australia" },
    { "BAH",  "Bahamas" },
    { "BEL",  "Belgium" },
         { "BIZ",  "Belize" },
         { "BIZ",  "Belize" },
         { "BOT",  "Botswana" },
         { "BOT",  "Botswana" },
        { "BRA",  "Brazil" },
         { "CAN",  "Canada" },
         { "CAN",  "Canada" },
         { "COL",  "Colombia" },
         { "COL",  "Colombia" },
        { "CRC",  "Costa Rica" },
         { "CRO",  "Croatia" },
         { "CRO",  "Croatia" },
         { "CUB",  "Cuba" },
         { "CUB",  "Cuba" },
Line 71: Line 86:
         { "DEN",  "Denmark" },
         { "DEN",  "Denmark" },
         { "DOM",  "Dominican Republic" },
         { "DOM",  "Dominican Republic" },
        { "ECU",  "Ecuador" },
        { "ESA",  "El Salvador" },
         { "FRA",  "France" },
         { "FRA",  "France" },
         { "GBR",  "Great Britain" },
         { "GBR",  "Great Britain" },
        { "GER",  "Germany" },
         { "GUA",  "Guatemala" },
         { "GUA",  "Guatemala" },
         { "HKG",  "Hong Kong" },
         { "HKG",  "Hong Kong" },
        { "HON",  "Honduras" },
         { "INA",  "Indonesia" },
         { "INA",  "Indonesia" },
         { "IND",  "India" },
         { "IND",  "India" },
         { "ISR",  "Israel" },
         { "ISR",  "Israel" },
        { "ITA",  "Italy" },
         { "JPN",  "Japan" },
         { "JPN",  "Japan" },
         { "KEN",  "Kenya" },
         { "KEN",  "Kenya" },
Line 95: Line 115:
         { "SWE",  "Sweden" },
         { "SWE",  "Sweden" },
         { "THA",  "Thailand" },
         { "THA",  "Thailand" },
        { "TPE",  "Chinese Taipei" },
        { "UGA",  "Uganda" },
         { "USA",  "United States" },
         { "USA",  "United States" },
         { "VEN",  "Venezuela" },
         { "VEN",  "Venezuela" },
Line 102: Line 120:
-- List of WBSC confederations
-- List of WBSC confederations
data.confederation = {  
data.confederation = {  
Africa = { "RSA", "BOT", "KEN", "UGA"
Africa = { "RSA", "BOT", "LES", "KEN"
},
},
Americas = { "ARG", "CAN", "USA", "VEN", "CUB", "MEX", "GUA", "DOM",
Americas = { "ARG", "CAN", "USA", "MEX", "VEN", "CUB", "GUA", "DOM", "COL",
"COL", "PAN", "PER", "PUR", "BIZ"
"PAN", "PER", "PUR", "HON", "CRC", "ECU", "BIZ", "ARU", "BAH", "BRA",
"ESA"
},
},
Asia = { "JPN", "SGP", "PHI", "TPE", "IND", "HKG", "THA", "INA", "MAS"
Asia = { "JPN", "SGP", "IND", "PHI", "HKG", "THA", "INA", "MAS"
},
},
Europe = { "CZE", "DEN", "NED", "ISR", "CRO", "FRA", "SVK", "SWE", "GBR",  
Europe = { "CZE", "DEN", "NED", "CRO", "ISR", "GBR", "FRA", "BEL", "SVK",  
"LTU"
"SWE", "GER", "ITA", "LTU"
},
},
Oceania = { "AUS", "NZL"
Oceania = { "AUS", "NZL"
Line 117: Line 136:
                                
                                
return data
return data
--]]