Difference between revisions of "Template:SpellCooldownClass"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 33: | Line 33: | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{#ifeq: {{lc:{{{3|}}}}}|true|{{#ifeq: {{#dplvar: fromdpl}} |true|<br>|, }}}}{{#if: {{{2|}}}||{{{1}}}}}{{#switch: {{lc:{{{2|}}}}} | <onlyinclude>{{#ifeq: {{lc:{{{3|}}}}}|true|{{#ifeq: {{#dplvar: fromdpl}} |true|<br>|, }}}}{{#if: {{{2|}}}||{{{1}}}}}{{#switch: {{lc:{{{2|}}}}} | ||
|art|brd|clr|drd|fvs|pal|rgr|sor|wiz|wlk|r1|r2|r3={{{1}}} ({{SpellClassNameFromAbbr|{{{2}}}|True}}) | |art|brd|clr|drd|fvs|pal|rgr|dd|sor|wiz|wlk|r1|r2|r3={{{1}}} ({{SpellClassNameFromAbbr|{{{2}}}|True}}) | ||
|#default={{#if: {{{2|}}}| {{{2}}}}} | |#default={{#if: {{{2|}}}| {{{2}}}}} | ||
}}</onlyinclude> | }}</onlyinclude> |
Latest revision as of 00:06, 4 March 2025
SpellCooldownClass[edit]
This is a helper template is used to nicely format the class and cooldown for a single entry called by the SpellCooldown template
Example Usage | |
{{SpellCooldownClass|5|dd}} | 5 (Dragon Disciple) |
{{SpellCooldownClass||{{SpellCooldownClassGroup|25|Art|Clr|FvS|Pal|Sor|Wiz}}|true}} | , 2 (Bard, Wizard, Warlock) |
{{SpellCooldownClass|10}} | 10 |
Usage[edit]
{{SpellCooldownClass|(cooldown)|(Class)|(comma)}}
Parameter Documentation | |
cooldown | The actual cooldown for this group |
Class | The spell abbreviation for the class Possible Values:
|
comma | Should there potentially be a comma before this entry, use True if there should be |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
{{{1}}}