Module:DartsRankings/doc

MyWikiBiz, Author Your Legacy — Monday November 11, 2024
Jump to navigationJump to search

This is the documentation page for Module:DartsRankings


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

Module Data

Template:Div col

Template: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:

{{#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}} Lua error: expandTemplate: template "refn" does not exist.
PDC OOM Ranking for Peter Wright from template {{PDC Rankings|Peter Wright}} Template:PDC Rankings
WDF Ranking for Larry Butler from template {{WDF Rankings|Larry Butler|mdy=mdy}} Template:WDF Rankings
WDF Ranking for Fallon Sherrock from template {{WDF Women's Rankings|Fallon Sherrock}} Template:WDF Women's Rankings
PDC Ranking only for Gary Anderson from template {{PDC Rankings|Gary Anderson|nochange=1|nodate=1}} Template:PDC Rankings
Flag & link for José de Sousa from template {{PDCFlag|Jose de Sousa}} Template:PDCFlag
PDC Ranking & flag for Simon Whitlock from template {{PDCFlag|Simon Whitlock}} {{PDC Rankings|Simon Whitlock|nochange=1|nodate=1|par=1}} Template:PDCFlag Template:PDC Rankings
PDC Rankings table (1-5) {{#invoke:DartsRankings|list |PDC Rankings |1 |5 }} Lua error: expandTemplate: template "refn" does not exist.
PDC Rankings table (16-20) {{#invoke:DartsRankings|list |PDC Rankings |16 |20 }} Lua error: expandTemplate: template "refn" does not exist.
PDC Pro Tour table (1-5) {{#invoke:DartsRankings|list |PDC Pro Tour Rankings |1 |5 }} Lua error: expandTemplate: template "refn" does not exist.