Open main menu
Home
Random
Donate
Recent changes
Special pages
Community portal
Preferences
About Stockhub
Disclaimers
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:SportsRankings/doc
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Module rating |alpha<!-- Values: pre-alpha β’ alpha β’ beta β’ release β’ protected -- If a rating not needed/relevant, delete this template call -->}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> 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''' {{div col}} <ul class="listify">{{Special:Prefixindex/Module:SportsRankings/data/ |hideredirects=1 |stripprefix=0}}</ul> {{Div col end}} '''Templates for single country rank (with flag and change):''' {{col-begin|width=100%}} {{col-2}} *FIBA World Rankings: {{tl|FIBA World Rankings}} *FIBA Women's World Rankings: {{tl|FIBA Women's World Rankings}} *FIFA Women's World Rankings: {{tl|FIFA Women's World Rankings}} *FIFA World Rankings: {{tl|FIFA World Rankings}} *FIH Women's World Rankings: {{tl|FIH Women's World Rankings}} *FIH World Rankings: {{tl|FIH World Rankings}} *IIHF World Rankings: {{tl|IIHF World Ranking}} {{col-2}} *IIHF Women's World Rankings: {{tl|IIHF Women's World Ranking}} *UEFA Coefficient Rankings: {{tl|UEFA Coefficient Rankings}} *World Football Elo Ratings: {{tl|World Football Elo Ratings}} *BSWW World Rankings: {{t|BSWW World Ranking}} {{col-end}} '''Template to generate rankings table:''' * {{tl|Sports rankings table}} == Usage == *Show ranking of named country with change:<br/> <code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|main|''country''|''mdy''}}</code> *List ranking from start ranking to end ranking (default: 1-10):<br/> <code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|list|FIFA World Rankings|''first''|''last''}}</code> *List ranking from for names country with number of countries above and below:<br/> <code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|list2|FIFA World Rankings|''country name''|''number to display above and below named country''}}</code> *Show ranking of a confederation:<br /> <code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|list|FIH World Rankings|''first''|''last''|select=''confederation''|rank_header=FIH}}</code> '''Country examples:''' {| class="wikitable" |- ! Country examples !!Code!! Output |- |FIFA World Rankings for France |<code><nowiki>{{#invoke:SportsRankings|main |FIFA World Rankings|FRA}}</nowiki></code> |{{FIFA World Rankings/sandbox|FRA}} |- |World Football Elo Ratings for France |<code><nowiki>{{#invoke:SportsRankings|main |World Football Elo Ratings|France}}</nowiki></code> |{{World Football Elo Ratings/sandbox|France}} |- |FIBA World Rankings for USA |<code><nowiki>{{#invoke:SportsRankings|main |FIBA World Rankings|USA}}</nowiki></code> |{{FIBA World Rankings/sandbox|USA}} |- !'''List example''' !! Output |- |FIFA World Rankings table (1-5) |<code><nowiki>{{#invoke:SportsRankings|list |FIFA World Rankings |1 |5 }}</nowiki></code> |{{#invoke:SportsRankings|list|FIFA World Rankings|1|5}} |- |FIBA World Rankings table (1-5) |<code><nowiki>{{#invoke:SportsRankings|list |FIBA World Rankings |1 |5 }}</nowiki></code> |{{#invoke:SportsRankings|list|FIBA World Rankings|1|5}} |- |FIBA Women's World Rankings table (1-5) |<code><nowiki>{{#invoke:SportsRankings|list |FIBA Women's World Rankings |1 |5 }}</nowiki></code> |{{#invoke:SportsRankings|list|FIBA Women's World Rankings|1|5}} |- |FIFA Women's World Rankings (1-5): |<code><nowiki>{{#invoke:SportsRankings|list |FIFA Women's World Rankings |1 |5 }}</nowiki></code> |{{#invoke:SportsRankings|list|FIFA Women's World Rankings|1|5}} |- |FIH World Rankings by confederation |<code><nowiki>{{#invoke:SportsRankings|list |FIH World Rankings |1 |65 |select=AfHF |rankheader=FIH }}</nowiki></code> |{{#invoke:SportsRankings|list|FIH World Rankings|1|65|select=AfHF|rank_header=FIH}} |- |World Football Elo Ratings(1-5): |<code><nowiki>{{#invoke:SportsRankings|list |World Football Elo Ratings |1 |5 }}</nowiki></code> |{{#invoke:SportsRankings|list|World Football Elo Ratings|1|5}} |- |UEFA Coefficient Rankings (+/-2): |<code><nowiki>{{#invoke:SportsRankings|list2 |UEFA Coefficient Rankings |Luxembourg |2 }}</nowiki></code> |{{#invoke:SportsRankings|list2|UEFA Coefficient Rankings|Luxembourg|2}} |- |IIHF World Rankings (1-5) <br/><br/> (with optional caption parameter): |<code><nowiki>{{#invoke:SportsRankings|list |IIHF World Rankings |1 |5 caption=Men's IIHF World Rankings (INSERT_UPDATE_DATE) }}</nowiki></code> |{{#invoke:SportsRankings|list|IIHF World Ranking|1|5|caption=Men's IIHF World Rankings (INSERT_UPDATE_DATE)}} |- |IIHF Women's World Rankings (1-5) <br/><br/> (with optional caption parameter): |<code><nowiki>{{#invoke:SportsRankings|list |IIHF Women's World Rankings |1 |5 caption=Women's IIHF World Rankings (INSERT_UPDATE_DATE) }}</nowiki></code> |{{#invoke:SportsRankings|list|IIHF Women's World Ranking|1|5|caption=Women's IIHF World Rankings (INSERT_UPDATE_DATE)}} |} Usage {{reflist}} <includeonly>{{Sandbox other|| <!-- Categories below this line; interwikis at Wikidata --> [[Category:Sports modules]] }}</includeonly>
Summary:
Please note that all contributions to Stockhub may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Stockhub:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Cite web
(
edit
)
Template:Col-2
(
edit
)
Template:Col-begin
(
edit
)
Template:Col-end
(
edit
)
Template:Div col
(
edit
)
Template:Div col end
(
edit
)
Template:FIBA World Rankings/sandbox
(
edit
)
Template:FIFA World Rankings/sandbox
(
edit
)
Template:Main other
(
edit
)
Template:Module rating
(
edit
)
Template:Reflist
(
edit
)
Template:Reflist/styles.css
(
edit
)
Template:Refn
(
edit
)
Template:T
(
edit
)
Template:Tl
(
edit
)
Template:World Football Elo Ratings/sandbox
(
edit
)
Module:Check for unknown parameters
(
edit
)
Module:SportsRankings
(
edit
)
Module:SportsRankings/data/FIBA Women's World Rankings
(
edit
)
Module:SportsRankings/data/FIBA World Rankings
(
edit
)
Module:SportsRankings/data/FIFA Women's World Rankings
(
edit
)
Module:SportsRankings/data/FIFA World Rankings
(
edit
)
Module:SportsRankings/data/FIH World Rankings
(
edit
)
Module:SportsRankings/data/IIHF Women's World Ranking
(
edit
)
Module:SportsRankings/data/IIHF World Ranking
(
edit
)
Module:SportsRankings/data/UEFA Coefficient Rankings
(
edit
)
Module:SportsRankings/data/World Football Elo Ratings
(
edit
)