Module:SportsRankings/doc

From The Global Wiki
Jump to navigation Jump to search

This is the documentation page for Module:SportsRankings

Template:Module rating

Module to display sports rankings of countries in various sports. The data on the rankings is held in module subpages so the lists can be updated in one location.

Data subpages

Templates for single country rank (with flag and change):

Template to generate rankings table:

Usage

  • Show ranking of named country with change:

{{#invoke:SportsRankings|main|country|mdy}}

  • List ranking from start ranking to end ranking (default: 1-10):

{{#invoke:SportsRankings|list|FIFA World Rankings|first|last}}

  • List ranking from for names country with number of countries above and below:

{{#invoke:SportsRankings|list2|FIFA World Rankings|country name|number to display above and below named country}}

  • Show ranking of a confederation:

{{#invoke:SportsRankings|list|FIH World Rankings|first|last|select=confederation|rank_header=FIH}}

Country examples:

Country examples Code Output
FIFA World Rankings for France {{#invoke:SportsRankings|main |FIFA World Rankings|FRA}} Template:FIFA World Rankings/sandbox
World Football Elo Ratings for France {{#invoke:SportsRankings|main |World Football Elo Ratings|France}} Template:World Football Elo Ratings/sandbox
FIBA World Rankings for USA {{#invoke:SportsRankings|main |FIBA World Rankings|USA}} Template:FIBA World Rankings/sandbox
List example Output
FIFA World Rankings table (1-5) {{#invoke:SportsRankings|list |FIFA World Rankings |1 |5 }}
FIFA World Rankings as of 22 December 2022.[1]
Rank Change Team Points
1 Steady File:Flag of Brazil.svg Brazil 1840.77
2 Increase 1 File:Flag of Argentina.svg Argentina 1838.38
3 Increase 1 File:Flag of France.svg France 1823.39
4 Decrease 2 File:Flag of Belgium (civil).svg Belgium 1781.3
5 Steady File:Flag of England.svg England 1774.19
FIBA World Rankings table (1-5) {{#invoke:SportsRankings|list |FIBA World Rankings |1 |5 }}
FIBA World Rankings as of 18 November 2022.[2]
Rank Change Team Points
1 Increase 1 File:Flag of Spain.svg Spain 758.6
2 Decrease 1 File:Flag of the United States.svg United States 757.5
3 Steady File:Flag of Australia (converted).svg Australia 740.3
4 Steady File:Flag of Argentina.svg Argentina 734.3
5 Steady File:Flag of France.svg France 715
FIBA Women's World Rankings table (1-5) {{#invoke:SportsRankings|list |FIBA Women's World Rankings |1 |5 }}
FIBA Women's World Rankings as of 1 October 2022.[3]
Rank Change Team Points
1 Steady File:Flag of the United States.svg United States 848.8
2 Increase 5 File:Flag of the People's Republic of China.svg China 676.5
3 Steady File:Flag of Australia (converted).svg Australia 668.3
4 Decrease 2 File:Flag of Spain.svg Spain 661
5 Decrease 1 File:Flag of Canada (Pantone).svg Canada 648.9
FIFA Women's World Rankings (1-5): {{#invoke:SportsRankings|list |FIFA Women's World Rankings |1 |5 }}
FIFA Women's World Rankings as of 9 December 2022.[4]
Rank Change Team Points
1 Steady File:Flag of the United States.svg United States 2078.5
2 Increase 1 File:Flag of Germany.svg Germany 2073.73
3 Decrease 1 File:Flag of Sweden.svg Sweden 2057.9
4 Steady File:Flag of England.svg England 2052.9
5 Steady File:Flag of France.svg France 2025.85
FIH World Rankings by confederation {{#invoke:SportsRankings|list |FIH World Rankings |1 |65 |select=AfHF |rankheader=FIH }} Lua error: expandTemplate: template "fh" does not exist.
World Football Elo Ratings(1-5): {{#invoke:SportsRankings|list |World Football Elo Ratings |1 |5 }}
World Football Elo Ratings as of 18 December 2022.[6]
Rank Change Team Points
1 Increase 2 File:Flag of Argentina.svg Argentina 2143
2 Decrease 1 File:Flag of Brazil.svg Brazil 2134
3 Decrease 1 File:Flag of France.svg France 2082
4 Increase 8 File:Flag of the Netherlands.svg Netherlands 2073
5 Increase 3 File:Flag of Portugal.svg Portugal 1999
UEFA Coefficient Rankings (+/-2): {{#invoke:SportsRankings|list2 |UEFA Coefficient Rankings |Luxembourg |2 }}
UEFA Coefficient Rankings as of 23 October 2018.[7]
Rank Change Team Points
41 Increase 2 File:Flag of Lithuania.svg Lithuania 6.75
42 Decrease 2 File:Flag of Latvia.svg Latvia 5.625
43 Increase 5 File:Flag of Luxembourg.svg Luxembourg 5.25
44 Increase 2 Template:Country data Armenia 5.25
45 Increase 2 File:Flag of Malta.svg Malta 5.125
IIHF World Rankings (1-5)

(with optional caption parameter):
{{#invoke:SportsRankings|list |IIHF World Rankings |1 |5 caption=Men's IIHF World Rankings (INSERT_UPDATE_DATE) }}
Men's IIHF World Rankings (21 May 2018)[8]
Rank Change Team Points
1 Steady File:Flag of Canada (Pantone).svg Canada 3990
2 Increase 1 File:Flag of Sweden.svg Sweden 3945
3 Decrease 1 File:Flag of Russia.svg Russia 3930
4 Increase 2 File:Flag of the United States.svg United States 3765
5 Decrease 1 File:Flag of Finland.svg Finland 3765
IIHF Women's World Rankings (1-5)

(with optional caption parameter):
{{#invoke:SportsRankings|list |IIHF Women's World Rankings |1 |5 caption=Women's IIHF World Rankings (INSERT_UPDATE_DATE) }} Lua error in package.lua at line 80: module 'Module:SportsRankings/data/IIHF Women's World Ranking' not found.


Usage

  1. "The FIFA/Coca-Cola World Ranking". FIFA. 22 December 2022. Retrieved 22 December 2022.
  2. "FIBA Ranking Presented by Nike". FIBA. 18 November 2022. Retrieved 18 November 2022.
  3. "FIBA Women's Ranking Presented by Nike". FIBA. 1 October 2022. Retrieved 1 October 2022.
  4. "The FIFA/Coca-Cola Women's World Ranking". FIFA. 9 December 2022. Retrieved 9 December 2022.
  5. "FIH Outdoor World Hockey Rankings". FIH. 20 December 2022. Retrieved 20 December 2022.
  6. Elo rankings change compared to one year ago. "World Football Elo Ratings". eloratings.net. 18 December 2022. Retrieved 18 December 2022.
  7. "Member Associations-UEFA Coefficients". UEFA. 23 October 2018. Retrieved 23 October 2018.
  8. "IIHF Men's World Ranking". IIHF. 21 May 2018. Retrieved 21 May 2018.