Difference between revisions of "Template:Clickie"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(32 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>{{TemplateDocumentation | ||
|name = Clickie | |name = Clickie | ||
|description = This template is used on equipment for the Clickie enchantment. Clickies allow spells to be cast without any spellcasting ability. | |description = This template is used on equipment for the Clickie enchantment. Clickies allow spells to be cast without any spellcasting ability. | ||
|category=Item Enchantment Template | |||
|example1 = <nowiki>{{Clickie|Bless|1|3|3}}</nowiki> | |example1 = <nowiki>{{Clickie|Bless|1|3|3}}</nowiki> | ||
|example1output = {{Clickie|Bless|1|3|3}} | |example1output = {{Clickie|Bless|1|3|3}} | ||
|example2 = <nowiki>{{Clickie|Alluring Elixer|1|3|3}}</nowiki> | |||
|example2output = {{Clickie|Alluring Elixer|1|3|3}} | |||
|parameter1name = Spell | |parameter1name = Spell | ||
|parameter1description = This is the spell that will be cast. | |parameter1description = This is the spell that will be cast. | ||
Line 16: | Line 19: | ||
|parameter4description = This is the number of charges that are recharged when you rest. | |parameter4description = This is the number of charges that are recharged when you rest. | ||
|parameter4values = | |parameter4values = | ||
|parameter5name = Icon | |||
|parameter5description = Icon to show for the spell, if different than the spells | |||
}} | }} | ||
</noinclude><onlyinclude | </noinclude><onlyinclude>{{#dplvar:set|spellicon|{{{5|}}}}}{{EnchTitle|{{{1}}}|{{{1}}} (CL {{{2|}}}) - {{{3}}}/{{{4}}}|||True}}{{#ifeq: {{#dplvar:enhview}}|titleonly||<table class="background-color" style="width:100%"> | ||
{{#if: {{{1|}}}|{{#DPL: | |||
|title={{{1}}} | |||
|uses=Template:Spell | |||
|mode=userformat | |||
|format=,<tr style="vertical-align:top">,</tr>, | |||
|noresultsheader={{IconImage|Spell_{{{1}}}|{{{5|}}}}} Spell Not Defined - '''[[{{{1}}}]]'''{{EnchCat|Clickie|Clickie Items with Spell Missing}} | |||
|include={Spell¦SpellOnItemDPL} | |||
}}|<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>}}{{EnchCat|Clickie|Clickie Items with {{{1}}}|Clickie Items}}{{#dplvar:set|spellicon|}}</onlyinclude> | ||
<tr><td colspan=2>Caster Level: {{{2}}}</td></tr> | |||
</table> | |||
Latest revision as of 00:27, 27 April 2022
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}} |
| ||||||
{{Clickie|Alluring Elixer|1|3|3}} |
|
Usage[edit]
{{Clickie|(Spell)|(Caster level)|(Charges)|(Recharge Rate)|(Icon)}}
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. |
Icon | Icon to show for the spell, if different than the spells |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
Spell Name Missing |