Moduli:SportsRankings/data/WBSC Men's Softball World Rankings

Nga Wikipedia, enciklopedia e lirë
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",
	language = "en"
}

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

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

data.rankings = {
          { "Argentina", 1, 0, 4224 },
          { "Australia", 2, 2, 3551 },
          { "Japan", 3, 0, 3451 },
          { "Canada", 4, -2, 3358 },
          { "United States", 5, 0, 2655 },
          { "Czech Republic", 6, 0, 2526 },
          { "New Zealand", 7, 0, 2280 },
          { "Venezuela", 8, 0, 2133 },
          { "Cuba", 9, 0, 1807 },
          { "Mexico", 10, 0, 1775 },
          { "Denmark", 11, 0, 1069 },
          { "Singapore", 12, 2, 994 },
          { "Guatemala", 13, 0, 934 },
          { "South Africa", 14, -2, 894 },
          { "Philippines", 15, 0, 623 },
          { "Netherlands", 16, 0, 412 },
          { "Israel", 17, 4, 339 },
          { "Botswana", 18, -1, 253 },
          { "Dominican Republic", 19, -1, 221 },
          { "Chinese Taipei", 20, -1, 192 },
          { "Croatia", 21, -1, 182 },
          { "India", 22, 0, 177 },
          { "France", 23, 0, 156 },
          { "Colombia", 24, 0, 147 },
          { "Hong Kong", 25, 0, 115 },
          { "Slovakia", 26, 0, 76 },
          { "Thailand", 27, 0, 72 },
          { "Panama", 28, 0, 52 },
          { "Peru", 28, 0, 52 },
          { "Sweden", 30, 0, 50 },
          { "Puerto Rico", 31, 0, 45 },
          { "Great Britain", 32, 0, 26 },
          { "Lithuania", 33, 0, 24 },
          { "Indonesia", 34, 1, 12 },
          { "Belize", 35, 1, 10 },
          { "Kenya", 35, 1, 10 },
          { "Malaysia", 35, 1, 10 },
          { "Uganda", 38, 0, 3 },
          }

-- list of WBSC country codes
data.alias = { 
	    { "ARG",  "Argentina" },
	    { "AUS",  "Australia" },
        { "BIZ",  "Belize" },
        { "BOT",  "Botswana" },
        { "CAN",  "Canada" },
        { "COL",  "Colombia" },
        { "CRO",  "Croatia" },
        { "CUB",  "Cuba" },
        { "CZE",  "Czech Republic" },
        { "DEN",  "Denmark" },
        { "DOM",  "Dominican Republic" },
        { "FRA",  "France" },
        { "GBR",  "Great Britain" },
        { "GUA",  "Guatemala" },
        { "HKG",  "Hong Kong" },
        { "INA",  "Indonesia" },
        { "IND",  "India" },
        { "ISR",  "Israel" },
        { "JPN",  "Japan" },
        { "KEN",  "Kenya" },
        { "LES",  "Lesotho" },
        { "LTU",  "Lithuania" },
        { "MAS",  "Malaysia" },
        { "MEX",  "Mexico" },
        { "NED",  "Netherlands" },
        { "NZL",  "New Zealand" },
        { "PAN",  "Panama" },
        { "PER",  "Peru" },
        { "PHI",  "Philippines" },
        { "PUR",  "Puerto Rico" },
        { "RSA",  "South Africa" },
        { "SGP",  "Singapore" },
        { "SVK",  "Slovakia" },
        { "SWE",  "Sweden" },
        { "THA",  "Thailand" },
        { "TPE",  "Chinese Taipei" },
        { "UGA",  "Uganda" },
        { "USA",  "United States" },
        { "VEN",  "Venezuela" },
}
-- List of WBSC confederations
data.confederation = { 
	Africa = { "RSA", "BOT", "KEN", "UGA"
	},
	Americas = { "ARG", "CAN", "USA", "VEN", "CUB", "MEX", "GUA", "DOM",
		"COL", "PAN", "PER", "PUR", "BIZ"
	},
	Asia = { "JPN", "SGP", "PHI", "TPE", "IND", "HKG", "THA", "INA", "MAS"
	},	
	Europe = { "CZE", "DEN", "NED", "ISR", "CRO", "FRA", "SVK", "SWE", "GBR", 
		"LTU"
	},	
	Oceania = { "AUS", "NZL"
	},	
}
    	                          
return data