Changes

MyWikiBiz, Author Your Legacy — Friday November 01, 2024
Jump to navigationJump to search
Pywikibot 6.4.0
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->

Module to display ranking tables and individual rankings for ranked PDC darts players.

'''Module Data'''

{{div col}}
<ul class="listify">{{Special:Prefixindex/Module:DartsRankings/data/ |hideredirects=1 |stripprefix=1}}</ul>
{{Div col end}}

Rankings can be updated above and will display for all OOM instances and rankings on individual pages.

This can possibly later include WDF rankings when they have a new system in place.

'''Template for individual rankings'''

Rank & move w/date: {{[[Template:PDC Rankings]]}}

== Usage ==


*List ranking from start ranking to end ranking:<br/>
<code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|list|PDC Rankings|''first''|''last''}}</code>

Examples:
{| class="wikitable"
|-
! Player examples !!Code!! width=370px|Output
|-
|PDC OOM Ranking for Michael van Gerwen
|<code><nowiki>{{#invoke:DartsRankings|main |PDC Rankings|Michael van Gerwen}}</nowiki></code>
|{{#invoke:DartsRankings|main |PDC Rankings|Michael van Gerwen}}
|-
|PDC OOM Ranking for Peter Wright from template
|<code><nowiki>{{PDC Rankings|Peter Wright}}</nowiki></code>
|{{PDC Rankings|Peter Wright}}
|-
|WDF Ranking for Larry Butler from template
|<code><nowiki>{{WDF Rankings|Larry Butler|mdy=mdy}}</nowiki></code>
|{{WDF Rankings|Larry Butler|mdy=mdy}}
|-
|WDF Ranking for Fallon Sherrock from template
|<code><nowiki>{{WDF Women's Rankings|Fallon Sherrock}}</nowiki></code>
|{{WDF Women's Rankings|Fallon Sherrock}}
|-
|PDC Ranking only for Gary Anderson from template
|<code><nowiki>{{PDC Rankings|Gary Anderson|nochange=1|nodate=1}}</nowiki></code>
|{{PDC Rankings|Gary Anderson|nochange=1|nodate=1}}
|-
| Flag & link for José de Sousa from template
|<code><nowiki>{{PDCFlag|Jose de Sousa}}</nowiki></code>
|{{PDCFlag|Jose de Sousa}}
|-
|PDC Ranking & flag for Simon Whitlock from template
|<code><nowiki> {{PDCFlag|Simon Whitlock}} {{PDC Rankings|Simon Whitlock|nochange=1|nodate=1|par=1}}</nowiki></code>
|{{PDCFlag|Simon Whitlock}} {{PDC Rankings|Simon Whitlock|nochange=1|nodate=1|par=1}}
|-
|-!'''List example''' !! Code !! Output
|-
|PDC Rankings table (1-5)
|<code><nowiki>{{#invoke:DartsRankings|list
|PDC Rankings
|1
|5
}}</nowiki></code>
|{{#invoke:DartsRankings|list|PDC Rankings|1|5}}
|-
|PDC Rankings table (16-20)
|<code><nowiki>{{#invoke:DartsRankings|list
|PDC Rankings
|16
|20
}}</nowiki></code>
|{{#invoke:DartsRankings|list|PDC Rankings|16|20}}

|-
|PDC Pro Tour table (1-5)
|<code><nowiki>{{#invoke:DartsRankings|list
|PDC Pro Tour Rankings
|1
|5
}}</nowiki></code>
|{{#invoke:DartsRankings|list|PDC Pro Tour Rankings|1|5}}

|-
|}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->

}}</includeonly>

Navigation menu