Difference between revisions of "Template:SpellCost"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 45: | Line 45: | ||
|h|hp|hit points='''Cost (<span style="Color: #00eeef">Hit Points</span>):''' | |h|hp|hit points='''Cost (<span style="Color: #00eeef">Hit Points</span>):''' | ||
|s|sp|spell points='''Cost (<span style="Color: #00eeef">Spell Points</span>):''' | |s|sp|spell points='''Cost (<span style="Color: #00eeef">Spell Points</span>):''' | ||
|# | |#default='''Cost (<span style="Color: #00eeef">{{{1}}}</span>):''' | ||
}}}}{{SpellCostClass|{{{2|}}}|{{{3|}}}}}{{#if: {{{4|}}}|{{SpellCostClass|{{{4|}}}|{{{5|}}}|True}}}}{{#if: {{{6|}}}|{{SpellCostClass|{{{6|}}}|{{{7|}}}|True}}}}{{#if: {{{8|}}}|{{SpellCostClass|{{{8|}}}|{{{9|}}}|True}}}}{{#if: {{{10|}}}|{{SpellCostClass|{{{10|}}}|{{{11|}}}|True}}}}{{#if: {{{12|}}}|{{SpellCostClass|{{{12|}}}|{{{13|}}}|True}}}}{{#if: {{{14|}}}|{{SpellCostClass|{{{14|}}}|{{{15|}}}|True}}}}{{#if: {{{16|}}}|{{SpellCostClass|{{{16|}}}|{{{17|}}}|True}}}}{{#if: {{{18|}}}|{{SpellCostClass|{{{18|}}}|{{{19|}}}|True}}}}{{#if: {{{20|}}}|{{SpellCostClass|{{{20|}}}|{{{21|}}}|True}}}}</onlyinclude> | }}}}{{SpellCostClass|{{{2|}}}|{{{3|}}}}}{{#if: {{{4|}}}|{{SpellCostClass|{{{4|}}}|{{{5|}}}|True}}}}{{#if: {{{6|}}}|{{SpellCostClass|{{{6|}}}|{{{7|}}}|True}}}}{{#if: {{{8|}}}|{{SpellCostClass|{{{8|}}}|{{{9|}}}|True}}}}{{#if: {{{10|}}}|{{SpellCostClass|{{{10|}}}|{{{11|}}}|True}}}}{{#if: {{{12|}}}|{{SpellCostClass|{{{12|}}}|{{{13|}}}|True}}}}{{#if: {{{14|}}}|{{SpellCostClass|{{{14|}}}|{{{15|}}}|True}}}}{{#if: {{{16|}}}|{{SpellCostClass|{{{16|}}}|{{{17|}}}|True}}}}{{#if: {{{18|}}}|{{SpellCostClass|{{{18|}}}|{{{19|}}}|True}}}}{{#if: {{{20|}}}|{{SpellCostClass|{{{20|}}}|{{{21|}}}|True}}}}</onlyinclude> |
Revision as of 00:51, 28 October 2021
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 | |
Unit | What does this spell cost Possible Values:
|
Cost | The number of spell points the spell costs, this an the next can be repeated 10 times. |
Class | The class this time is specific to Possible Values:
|
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
Cost ({{{1}}}):