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:DartsRankings/data/PDC Rankings/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!
{{tl|Module rating |<!-- 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]]) --> == Usage == <code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|''function_name''}}</code> The template {{t1|PDC Rankings}} is meant to be used on the infoboxes of each player, which automatically updates their OoM ranking when this page is updated. The name typed in the first argument (eg <code><nowiki> {{PDC Rankings|Michael van Gerwen}}</nowiki></code> ) should match the spelling - including lack of accent marks - with the PDC website. New players should be added at [[Module:DartsRankings/data/PDC Players]] with the appropriate naming conventions. == Updating == The main template page is '''not meant''' to be updated. The rankings should be updated at [[Module:DartsRankings/data/PDC Rankings]]. To update the rankings: # Adjust the day and month (along with the year if necessary) of the '''current rankings'''. # Adjust the day and month (along with the year if necessary) of the '''previous rankings''' (the old current date). # Copy and paste the rankings from "data.rankings" to "rankingsOld" section (the lower one). # Paste in the new rankings data to the "data.rankings" section (upper one). ===Generating rankings code=== All positions can be quickly updated using a spreadsheet. For example, after copying the entire ranking list from [https://www.pdc.tv/order-of-merit/pdc-order-merit], the following formula can be used in an external spreadsheet to generate the code necessary to update the data page (given the rankings begin in cell A1): <pre>= "{ """&B1&""" , "&A1&" , """&C1&""" }," </pre> Then you can copy & past all 128+ rows into the rankings module. <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | <!-- Categories below this line, please; interwikis at Wikidata --> }}</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:T1
(
edit
)
Template:Tl
(
edit
)