Difference between revisions of "Template:CDP"
Tag: visualeditor-wikitext |
Tag: visualeditor-wikitext |
||
(4 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: | |||
|- | |- | ||
| | | | ||
Line 13: | Line 10: | ||
|}} </nowiki> | |}} </nowiki> | ||
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. | 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. | ||
Note that use of this template is optional. There are many ways to track CDP and nothing is officially required or suggested by the Haven. However, this template offers the advantage of displaying itself on your wiki page, as well as automatically adding 2 CDP for every run AAR your character is tagged in so you only have to worry about it when you spend CDP, or are otherwise awarded additional CDP beyond the first 2. | |||
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.
|