Module:DartsRankings/doc
Appearance
This Lua module is used on approximately 500 pages and changes may be widely noticed. Test changes in the module's /sandbox or /testcases subpages, or in your own module sandbox. Consider discussing changes on the talk page before implementing them. |
Module to display ranking tables and individual rankings for ranked PDC darts players.
Module Data
Rankings | Player library | org code | notes |
---|---|---|---|
PDC Rankings | PDC Players | — | can use PDCFlag with no org parameter |
PDC Pro Tour Rankings | |||
PDC Euro Tour Rankings | |||
BDO Rankings | WDF Players | WDF | |
WDF Rankings | |||
BDO Women's Rankings | WDF Women's | ||
WDF Women's Rankings | |||
CDC Rankings | CDC Players | CDC | |
DPA Rankings | DPA and DPNZ Players | DPA | {{PDCFlag|Kyle Anderson|org=DPA}} displays AUS flag no matter what: Kyle Anderson {{DPAFlag|Kyle Anderson}} displays state flag: Kyle Anderson
|
DPNZ Rankings | DPNZ | player list merged with DPA to reduce duplicates. | |
EADC Rankings | EADC Players | EADC | |
PDCNB Rankings | PDCNB Players | PDCNB | |
PDCAsia Rankings | PDCAsia Players | PDCAsia | Orgs are interchangeable since they use a combined player database. |
PDCChina Rankings | PDCChina | ||
PDJ Rankings | PDJ | ||
WSDT Rankings | WSDT Players | WSDT |
Rankings can be updated above and will display for all OOM instances and rankings on individual pages.
Template for individual rankings
Rank & move w/date: {{Template:PDC Rankings}}
Usage
[edit]- List ranking from start ranking to end ranking:
{{#invoke:DartsRankings|list|PDC Rankings|first|last}}
Examples:
Player examples | Code | Output | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PDC OOM Ranking for Michael van Gerwen | {{#invoke:DartsRankings|main |PDC Rankings|Michael van Gerwen}}
|
2 1 (17 November 2024)[1] | ||||||||||||||||||||||||
PDC OOM Ranking for Peter Wright from template | {{PDC Rankings|Peter Wright}}
|
17 3 (17 November 2024)[1] | ||||||||||||||||||||||||
WDF Ranking for Larry Butler from template | {{WDF Rankings|Larry Butler|mdy=mdy}}
|
150 (November 14, 2023)[2] | ||||||||||||||||||||||||
WDF Ranking for Fallon Sherrock from template | {{WDF Women's Rankings|Fallon Sherrock}}
|
(WDF W) 8 6 (5 September 2022)[3] | ||||||||||||||||||||||||
PDC Ranking only for Gary Anderson from template | {{PDC Rankings|Gary Anderson|nochange=1|nodate=1}}
|
13[1] | ||||||||||||||||||||||||
Flag & link for José de Sousa from template | {{PDCFlag|Jose de Sousa}}
|
José de Sousa | ||||||||||||||||||||||||
PDC Ranking & flag for Simon Whitlock from template | {{PDCFlag|Simon Whitlock}} {{PDC Rankings|Simon Whitlock|nochange=1|nodate=1|par=1}}
|
Simon Whitlock (57)[1] | ||||||||||||||||||||||||
PDC Rankings table (1-5) | {{#invoke:DartsRankings|list
|PDC Rankings
|1
|5
}}
|
| ||||||||||||||||||||||||
PDC Rankings table (16-20) | {{#invoke:DartsRankings|list
|PDC Rankings
|16
|20
}}
|
| ||||||||||||||||||||||||
PDC Pro Tour table (1-5) | {{#invoke:DartsRankings|list
|PDC Pro Tour Rankings
|1
|5
}}
|
|
- ^ a b c d e f "PDC Order of Merit". PDPA. 17 November 2024. Retrieved 17 November 2024.
- ^ "WDF Men's Rankings Table". WDF. November 14, 2023. Retrieved November 14, 2023.
- ^ "WDF Women's Rankings Table". WDF. 5 September 2022. Retrieved 5 September 2022.
- ^ "PDC Pro Tour Order of Merit". PDPA. 15 May 2022. Retrieved 15 May 2022.