Template:SpellCost

From DDO Compendium

SpellCost[edit]

This template is used to nicely format the spell point cost for a spell

Example Usage
{{SpellCost|s|10}}Cost (Spell Points): 10
{{SpellCost|SP|4|Wiz|2|Sor|1|Brd}}Cost (Spell Points): 4 (Wizard), 2 (Sorcerer), 1 (Bard)
{{SpellCost|h|4|R1|2|R2|1|R3}}Cost (Hit Points): 4 (Rank 1), 2 (Rank 2), 1 (Rank 3)
{{SpellCost|s|15|{{SpellCostClassGroup|15|Art|Clr|FvS|Pal|Sor|Wiz|Wlk}}|10|Rgr}}Cost (Spell Points): 15 (Artificer, Cleric, Favored Soul, Paladin, Sorcerer, Wizard, Warlock), 10 (Ranger)

Usage[edit]

{{SpellCost|(Unit)|(Cost)|(Class)}}

Parameter Documentation
UnitWhat does this spell cost
Possible Values:
  • S or SP - Spell Points (Default)
  • H or HP - Hit Points
  • Anything else is the label
CostThe number of spell points the spell costs, this an the next can be repeated 10 times.
ClassThe class this time is specific to
Possible Values:
  • Art
  • Brd
  • Clr
  • Drd
  • Fvs
  • Pal
  • Rgr
  • Sor
  • Wlk
  • Wiz
  • R1 - SLA Rank 1
  • R2 - SLA Rank 2
  • R3 - SLA Rank 3
  • Template:SpellCostClassGroup to group multiple classes with the same cost

Template

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


Cost ({{{1}}}):