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:
<nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|main|''country''|''mdy''}}
<nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|list|FIFA World Rankings|''first''|''last''}}
<nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|list2|FIFA World Rankings|''country name''|''number to display above and below named country''}}
<nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|list|FIH World Rankings|''first''|''last''|select=''confederation''|rank_header=FIH}}
Country examples:
Country examples | Code | Output |
---|---|---|
FIFA World Rankings for France | <nowiki>{{#invoke:SportsRankings|main |FIFA World Rankings|FRA}}</nowiki> | |
World Football Elo Ratings for France | <nowiki>{{#invoke:SportsRankings|main |World Football Elo Ratings|France}}</nowiki> | |
FIBA World Rankings for USA | <nowiki>{{#invoke:SportsRankings|main |FIBA World Rankings|USA}}</nowiki> | |
List example | Output | |
FIFA World Rankings table (1-5) | <nowiki>{{#invoke:SportsRankings|list
|FIFA World Rankings
|1
|5
}}</nowiki> | |
FIBA World Rankings table (1-5) | <nowiki>{{#invoke:SportsRankings|list
|FIBA World Rankings
|1
|5
}}</nowiki> | |
FIBA Women's World Rankings table (1-5) | <nowiki>{{#invoke:SportsRankings|list
|FIBA Women's World Rankings
|1
|5
}}</nowiki> | |
FIFA Women's World Rankings (1-5): | <nowiki>{{#invoke:SportsRankings|list
|FIFA Women's World Rankings
|1
|5
}}</nowiki> ||-|FIH World Rankings by confederation| |-|World Football Elo Ratings(1-5):| | |
UEFA Coefficient Rankings (+/-2): | <nowiki>{{#invoke:SportsRankings|list2
|UEFA Coefficient Rankings
|Luxembourg
|2
}}</nowiki> ||-|IIHF World Rankings (1-5) |-|IIHF Women's World Rankings (1-5) Usage |