Difference between revisions of "Template:CDP"
Tag: visualeditor-wikitext |
Tag: visualeditor-wikitext |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#expr:{{#ask: [[Category:Runs]][[hasRunner::{{PAGENAME}}]][[hasDate::>2080-12-11]]|format=count}}*2 -{{{Expenses|0}}} +{{{Bonuses|0}}} }} | <includeonly>{{#expr:{{#ask: [[Category:Runs]][[hasRunner::{{PAGENAME}}]][[hasDate::>2080-12-11]]|format=count}}*2 -{{{Expenses|0}}} +{{{Bonuses|0}}} }}</includeonly><noinclude> | ||
{| cellpadding=5 cellspacing=0 style="border: gray 2px solid; width: 100%; -moz-border-radius: 20px; -webkit-border-radius: 25px; border-radius: 25px; background-color: #444" | |||
<noinclude> | |||
{| cellpadding=5 cellspacing=0 style="border: | |||
|- | |- | ||
| | | |
Latest revision as of 20:07, 2 July 2020
Useage{{CDP| |Expenses= |Bonuses= |}} This template is used to automatically counts the number of runs you have been in and calculates your CDP earned, then it modifies this stat based on your CDP expenses and bonuses from other sources. It assumes you earned 2 CDP each run, if you are awarded more than that in a run you must add that in as a bonus. When CDP is spent, note it in the Expenses section as a positive number to reduce your CDP total.
|