Kontent qismiga oʻtish

Modul:SportsRankings/doc

Vikipediya, ochiq ensiklopediya

Bu sahifa Modul:SportsRankings uchun hujjat sahifasidir

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:

  • 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}} Andoza:FIFA World Rankings/sandbox
World Football Elo Ratings for France {{#invoke:SportsRankings|main |World Football Elo Ratings|France}} Andoza:World Football Elo Ratings/sandbox
FIBA World Rankings for USA {{#invoke:SportsRankings|main |FIBA World Rankings|USA}} Andoza: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 20 July 2023.[1]
Rank Change Team Points
1  Argentina 1843.73
2  Fransiya 1843.54
3  Braziliya 1828.27
4  Angliya 1797.39
5  Belgiya 1788.55
FIBA World Rankings table (1-5) {{#invoke:SportsRankings|list |FIBA World Rankings |1 |5 }} Lua xatosi in package.lua at line 80: module 'Module:SportsRankings/data/FIBA World Rankings' not found.
FIBA Women's World Rankings table (1-5) {{#invoke:SportsRankings|list |FIBA Women's World Rankings |1 |5 }} Lua xatosi in package.lua at line 80: module 'Module:SportsRankings/data/FIBA Women's World Rankings' not found.
FIFA Women's World Rankings (1-5): {{#invoke:SportsRankings|list |FIFA Women's World Rankings |1 |5 }} Lua xatosi in package.lua at line 80: module 'Module:SportsRankings/data/FIFA Women's World Rankings' not found.
FIH World Rankings by confederation {{#invoke:SportsRankings|list |FIH World Rankings |1 |65 |select=AfHF |rankheader=FIH }} Lua xatosi in package.lua at line 80: module 'Module:SportsRankings/data/FIH World Rankings' not found.
World Football Elo Ratings(1-5): {{#invoke:SportsRankings|list |World Football Elo Ratings |1 |5 }}
World Football Elo Ratings as of 27 March 2024.[2]
Rank Change Team Points
1  Argentina 2139
2 1  Fransiya 2085
3 Decrease 1  Braziliya 2028
4 1  Ispaniya 2019
5  Portugaliya 2013
UEFA Coefficient Rankings (+/-2): {{#invoke:SportsRankings|list2 |UEFA Coefficient Rankings |Luxembourg |2 }} Lua xatosi in package.lua at line 80: module 'Module:SportsRankings/data/UEFA Coefficient Rankings' not found.
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) }} Lua xatosi in package.lua at line 80: module 'Module:SportsRankings/data/IIHF World Ranking' not found.
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 xatosi 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 (2023-yil 20-iyul). Qaraldi: 2023-yil 20-iyul.
  2. Elo rankings change compared to one year ago. „World Football Elo Ratings“. eloratings.net (2024-yil 27-mart). Qaraldi: 2024-yil 27-mart.