Modul:SportsRankings/doc
Bu sahifa Modul:SportsRankings uchun hujjat sahifasidir
This module is rated as alpha. It is ready for third party input, and may be used on a few pages to see if problems arise, but should be watched. Suggestions for new features or changes in their input and output mechanisms are welcome. |
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):
- BSWW World Rankings: {{BSWW World Ranking}}
- FIBA World Rankings: {{FIBA World Rankings}}
- FIBA Women's World Rankings: {{FIBA Women's World Rankings}}
- FIFA World Rankings: {{FIFA World Rankings}}
- FIFA Women's World Rankings: {{FIFA Women's World Rankings}}
- FIH World Rankings: {{FIH World Rankings}}
- FIH Women's World Rankings: {{FIH Women's World Rankings}}
- IIHF World Rankings: {{IIHF World Ranking}}
- IIHF Women's World Rankings: {{IIHF Women's World Ranking}}
- World Football Elo Ratings: {{World Football Elo Ratings}}
Template to generate rankings table:
Usage
tahrir- 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
}}
|
| ||||||||||||||||||||||||
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
}}
|
| ||||||||||||||||||||||||
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
- ↑ „The FIFA/Coca-Cola World Ranking“. FIFA (2023-yil 20-iyul). Qaraldi: 2023-yil 20-iyul.
- ↑ Elo rankings change compared to one year ago. „World Football Elo Ratings“. eloratings.net (2024-yil 27-mart). Qaraldi: 2024-yil 27-mart.