Module:SportsRankings/doc

From blackwiki
< Module:SportsRankings
Revision as of 07:30, 28 September 2020 by Blackwikiadmin (talk | contribs) (35 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is the documentation page for Module:SportsRankings

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:Sandbox notice
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}} Lua error: expandTemplate: template "steady" does not exist.
List example Output
FIFA World Rankings table (1-5) {{#invoke:SportsRankings|list |FIFA World Rankings |1 |5 }} Lua error: expandTemplate: template "steady" does not exist.
FIBA World Rankings table (1-5) {{#invoke:SportsRankings|list |FIBA World Rankings |1 |5 }} Lua error: expandTemplate: template "steady" does not exist.
FIBA Women's World Rankings table (1-5) {{#invoke:SportsRankings|list |FIBA Women's World Rankings |1 |5 }} Lua error 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 error: expandTemplate: template "steady" does not exist.
FIH World Rankings by confederation {{#invoke:SportsRankings|list |FIH World Rankings |1 |65 |select=AfHF |rankheader=FIH }} Lua error: expandTemplate: template "steady" does not exist.
World Football Elo Ratings(1-5): {{#invoke:SportsRankings|list |World Football Elo Ratings |1 |5 }} Lua error: expandTemplate: template "steady" does not exist.
UEFA Coefficient Rankings (+/-2): {{#invoke:SportsRankings|list2 |UEFA Coefficient Rankings |Luxembourg |2 }}
UEFA Coefficient Rankings as of 23 October 2018.[6]
Rank Change Team Points
41 Increase 2  Lithuania 6.75
42 Decrease 2  Latvia 5.625
43 Increase 5  Luxembourg 5.25
44 Increase 2  Armenia 5.25
45 Increase 2  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) }} Lua error: expandTemplate: template "steady" does not exist.
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. 17 September 2020. Retrieved 17 September 2020.
  2. "FIBA Ranking Presented by Nike". FIBA. 18 September 2018. Retrieved 18 September 2018.
  3. "The FIFA/Coca-Cola Women's World Ranking". FIFA. 26 June 2020. Retrieved 26 June 2020.
  4. "FIH Men's and Women's World Ranking". FIH. 1 March 2020. Retrieved 1 March 2020.
  5. Elo rankings change compared to one year ago. "World Football Elo Ratings". eloratings.net. 16 September 2020. Retrieved 16 September 2020.
  6. "Member Associations-UEFA Coefficients". UEFA. 23 October 2018. Retrieved 23 October 2018.
  7. Jump up to: 7.0 7.1 "IIHF Men's World Ranking". IIHF. 21 May 2018. Retrieved 21 May 2018.