Difference between revisions of "Template:SpellCooldownClass"

From DDO Compendium
Line 3: Line 3:
|description = This is a helper template is used to nicely format the class and cooldown for a single entry called by the SpellCooldown template
|description = This is a helper template is used to nicely format the class and cooldown for a single entry called by the SpellCooldown template
|category=Spell and Feat Templates
|category=Spell and Feat Templates
|example1 = <nowiki>{{SpellCooldownClass|10|Art}}</nowiki>
|example1 = <nowiki>{{SpellCooldownClass|10|Art|5|dd}}</nowiki>
|example1output = {{SpellCooldownClass|10|Art}}
|example1output = {{SpellCooldownClass|10|Art}}
|example2 = <nowiki>{{SpellCooldownClass||{{SpellCooldownClassGroup|25|Art|Clr|FvS|Pal|Sor|Wiz}}|true}}</nowiki>
|example2 = <nowiki>{{SpellCooldownClass||{{SpellCooldownClassGroup|25|Art|Clr|FvS|Pal|Sor|Wiz}}|true}}</nowiki>

Revision as of 00:05, 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|10|Art|5|dd}}10 (Artificer)
{{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
cooldownThe actual cooldown for this group
ClassThe spell abbreviation for the class
Possible Values:
  • Art
  • Brd
  • Clr
  • Drd
  • Fvs
  • dd
  • Pal
  • Rgr
  • Sor
  • Wiz
  • Wlk
  • R1
  • R2
  • R3
commaShould 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}}}