Difference between revisions of "Template:RechargeBar"

From DDO Compendium
 
Line 12: Line 12:
|parameter3name = In Table
|parameter3name = In Table
|parameter3description = Send in a value here if this is already in a table, otherwise leave it blank.
|parameter3description = Send in a value here if this is already in a table, otherwise leave it blank.
}}</noinclude><onlyinclude>{{#if: {{{3|}}}||<table class="background-color" style="width:100%">}}
}}</noinclude><onlyinclude>{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#if: {{{3|}}}||<table class="background-color" style="width:100%">}}
<tr style="background-color:green; color:white; text-align:center;text-shadow:-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000;"><td colspan=2><b>{{{1}}} / {{{1}}} Charges{{#if: {{{2|}}}|(Recharged/Day: {{{2}}})}}</b></td></tr>
<tr style="background-color:green; color:white; text-align:center;text-shadow:-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000;"><td colspan=2><b>{{{1}}} / {{{1}}} Charges{{#if: {{{2|}}}|(Recharged/Day: {{{2}}})}}</b></td></tr>
{{#if: {{{3|}}}||</table>}}</onlyinclude>
{{#if: {{{3|}}}||</table>}}}}</onlyinclude>

Latest revision as of 22:28, 14 December 2019


RechargeBar[edit]

Template is used to generate the green recharge bar.

Example Usage
{{RechargeBar|10|10}}
10 / 10 Charges(Recharged/Day: 10)

Usage[edit]

{{RechargeBar|(Charges)|(Recharge Rate)|(In Table)}}

Parameter Documentation
ChargesThis is the number of charges the item can do without a recharge.
Recharge RateThis is the number of charges that are recharged when you rest.
In TableSend in a value here if this is already in a table, otherwise leave it blank.

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.


{{{1}}} / {{{1}}} Charges