Difference between revisions of "Template:Clickie"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 18: | Line 18: | ||
|parameter4values = | |parameter4values = | ||
}} | }} | ||
</noinclude><onlyinclude> | </noinclude><onlyinclude>{{EnchTitle|{{{1}}} - {{{3}}} (Recharged/Day: {{{4}}})|}}{{EnchBody|<table class="background-color" style="width:100%"> | ||
{{#if: {{{1|}}}|{{#DPL: | {{#if: {{{1|}}}|{{#DPL: | ||
|title={{{1}}} | |title={{{1}}} | ||
Line 24: | Line 24: | ||
|mode=userformat | |mode=userformat | ||
|format=,<tr style="vertical-align:top">,</tr>, | |format=,<tr style="vertical-align:top">,</tr>, | ||
|noresultsheader={{IconImage|Spell_{{{1}}}}} Spell Not Defined - '''[[{{{1}}}]]'''{{ | |noresultsheader={{IconImage|Spell_{{{1}}}}} Spell Not Defined - '''[[{{{1}}}]]'''{{EnchCat|Clickie|Clicky Items with Spell Missing}} | ||
|include={Spell¦SpellOnItemDPL} | |include={Spell¦SpellOnItemDPL} | ||
}}|<tr><td colspan=2>Spell Name Missing</td></tr>}} | }}|<tr><td colspan=2>Spell Name Missing</td></tr>}} | ||
{{#if: {{{2|}}}|<tr><td colspan=2>Caster Level: {{{2}}}</td></tr>}}{{#if: {{{3|}}}|{{RechargeBar|{{{3|}}}|{{{4|}}}|True}}}}</table>{{ | {{#if: {{{2|}}}|<tr><td colspan=2>Caster Level: {{{2}}}</td></tr>}}{{#if: {{{3|}}}|{{RechargeBar|{{{3|}}}|{{{4|}}}|True}}}}</table>}}{{EnchCat|Clickie|Clicky Items with {{{1}}}|Clicky Items}}</onlyinclude> |
Revision as of 15:28, 11 December 2019
Clickie[edit]
This template is used on equipment for the Clickie enchantment. Clickies allow spells to be cast without any spellcasting ability.
Example Usage | |
{{Clickie|Bless|1|3|3}} | : |
Usage[edit]
{{Clickie|(Spell)|(Caster level)|(Charges)|(Recharge Rate)}}
Parameter Documentation | |
Spell | This is the spell that will be cast. |
Caster level | This is the caster level of the spell when it is cast. |
Charges | This is the number of charges the item can do without a recharge. |
Recharge Rate | This is the number of charges that are recharged when you rest. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
[[{{{1}}} - {{{3}}} (Recharged/Day: {{{4}}})|:]]