Module:SportsRankings/data/WBSC Women's World Rankings
Jump to navigation
Jump to search
Usage
{{#invoke:SportsRankings/data/WBSC Women's World Rankings|function_name}}
This template is meant to help quickly update the WBSC World Rankings for all women's national softball teams of WBSC, displayed in the infobox on each national team article. When given a country code, the template outputs the WBSC World Ranking of a country, along with a movement indicator (increase, decrease, or steady), and by how many spots a country moves, if applicable. The date of the rankings is also listed, along with a reference to the rankings from WBSC's website.
If desired, the WBSC ranking reference can be used elsewhere in the article using the name "WBSC World Rankings" (i.e. <ref name="WBSC World Rankings"/>
).
local data = {} -- information about other templates used by module data.templates = { flagged_team_link = "sbw" } -- general information about ranking and website being cited data.source = { url = "https://rankings.wbsc.org/list/softball/women", title = "The WBSC Women's World Ranking", website = "WBSC" } -- date of latest update and previous one for movement data.updated = { 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 data.rankings = { { "United States", 1, 0, 4288 }, { "Japan", 2, 0, 2697 }, { "Chinese Taipei", 3, 3, 2502 }, { "Canada", 4, -1, 2342 }, { "Puerto Rico", 5, 0, 2330 }, { "Mexico", 6, -2, 1927 }, { "Czech Republic", 7, 4, 1789 }, { "Italy", 8, -1, 1776 }, { "Australia", 9, -1, 1529 }, { "Netherlands", 10, 0, 1498 }, { "Spain", 11, 6, 936 }, { "Israel", 12, 8, 844 }, { "China", 13, -4, 829 }, { "France", 14, 4, 791 }, { "Germany", 15, 6, 779 }, { "Great Britain", 16, -4, 761 }, { "Ireland", 17, 2, 710 }, { "Brazil", 18, -2, 644 }, { "Peru", 19, 3, 631 }, { "Poland", 20, 6, 608 }, { "Greece", 21, 10, 591 }, { "Venezuela", 22, -8, 519 }, { "Croatia", 23, 5, 504 }, { "Austria", 24, 5, 498 }, { "Ukraine", 25, 7, 453 }, { "Slovakia", 26, 11, 439 }, { "Cuba", 27, 3, 422 }, { "New Zealand", 28, -13, 416 }, { "Russia", 29, -5, 362 }, { "Belgium", 30, 4, 303 }, { "Philippines", 30, -17, 303 }, { "Denmark", 32, 3, 267 }, { "Argentina", 33, 15, 264 }, { "Switzerland", 34, 8, 256 }, { "South Korea", 35, -12, 237 }, { "Guatemala", 36, 0, 221 }, { "Indonesia", 37, -4, 173 }, { "Hong Kong", 38, 0, 172 }, { "South Africa", 39, -14, 164 }, { "El Salvador", 40, 14, 159 }, { "Colombia", 41, -2, 158 }, { "Singapore", 42, 5, 153 }, { "Dominican Republic", 43, 0, 130 }, { "Sweden", 44, -4, 128 }, { "Lithuania", 45, 1, 112 }, { "Thailand", 46, -5, 103 }, { "Botswana", 47, -20, 97 }, { "Malta", 48, 0, 95 }, { "Hungary", 49, -4, 94 }, { "Nicaragua", 50, 7, 88 }, { "Turkey", 51, 3, 80 }, { "Finland", 52, 0, 73 }, { "India", 53, -4, 70 }, { "Bulgaria", 54, -10, 65 }, { "Costa Rica", 55, 0, 42 }, { "Curaçao", 56, -5, 30 }, { "Chile", 57, 5, 23 }, { "Malaysia", 58, -8, 17 }, { "Panama", 58, -1, 17 }, { "Ecuador", 60, 0, 11 }, { "Bahamas", 61, -9, 10 }, { "Belize", 62, 0, 3 }, { "Lesotho", 62, -3, 3 }, } -- list of WBSC country codes data.alias = { { "ARG", "Argentina" }, { "AUS", "Australia" }, { "AUT", "Austria" }, { "BAH", "Bahamas" }, { "BEL", "Belgium" }, { "BIZ", "Belize" }, { "BOT", "Botswana" }, { "BRA", "Brazil" }, { "BUL", "Bulgaria" }, { "CAN", "Canada" }, { "CHI", "Chile" }, { "CHN", "China" }, { "COL", "Colombia" }, { "CRC", "Costa Rica" }, { "CRO", "Croatia" }, { "CUB", "Cuba" }, { "CUW", "Curaçao" }, { "CZE", "Czech Republic" }, { "DEN", "Denmark" }, { "DOM", "Dominican Republic" }, { "ECU", "Ecuador" }, { "ESA", "El Salvador" }, { "ESP", "Spain" }, { "FIN", "Finland" }, { "FRA", "France" }, { "GBR", "Great Britain" }, { "GER", "Germany" }, { "GRE", "Greece" }, { "GUA", "Guatemala" }, { "HKG", "Hong Kong" }, { "HUN", "Hungary" }, { "INA", "Indonesia" }, { "IND", "India" }, { "IRL", "Ireland" }, { "ISR", "Israel" }, { "ITA", "Italy" }, { "JPN", "Japan" }, { "KOR", "South Korea" }, { "LES", "Lesotho" }, { "LTU", "Lithuania" }, { "MAS", "Malaysia" }, { "MEX", "Mexico" }, { "MLT", "Malta" }, { "NCA", "Nicaragua" }, { "NED", "Netherlands" }, { "NZL", "New Zealand" }, { "PAN", "Panama" }, { "PER", "Peru" }, { "PHI", "Philippines" }, { "POL", "Poland" }, { "PUR", "Puerto Rico" }, { "RSA", "South Africa" }, { "RUS", "Russia" }, { "SGP", "Singapore" }, { "SUI", "Switzerland" }, { "SVK", "Slovakia" }, { "SWE", "Sweden" }, { "THA", "Thailand" }, { "TPE", "Chinese Taipei" }, { "TUR", "Turkey" }, { "UKR", "Ukraine" }, { "USA", "United States" }, { "VEN", "Venezuela" }, } -- List of WBSC confederations data.confederation = { Africa = { "RSA", "BOT", "LES" }, Americas = { "USA", "CAN", "PUR", "MEX", "BRA", "PER", "VEN", "CUB", "ARG", "GUA", "ESA", "COL", "DOM", "NCA", "CRC", "CUW", "CHI", "PAN", "ECU", "BAH", "BIZ" }, Asia = { "JPN", "TPE", "CHN", "PHI", "KOR", "INA", "HKG", "SGP", "THA", "IND", "MAS" }, Europe = { "CZE", "ITA", "NED", "ESP", "ISR", "FRA", "GER", "GBR", "IRL", "POL", "GRE", "CRO", "AUT", "UKR", "SVK", "RUS", "BEL", "DEN", "SUI", "SWE", "LTU", "MLT", "HUN", "TUR", "FIN", "BUL" }, Oceania = { "AUS", "NZL" }, } return data