Difference between revisions of "Template:SpellCostClass"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 7: | Line 7: | ||
|example2 = <nowiki>{{SpellCostClass||{{SpellCostClassGroup|25|Art|Clr|FvS|Pal|Sor|Wiz}}|true}}</nowiki> | |example2 = <nowiki>{{SpellCostClass||{{SpellCostClassGroup|25|Art|Clr|FvS|Pal|Sor|Wiz}}|true}}</nowiki> | ||
|example2output = {{SpellCostClass||{{SpellCostClassGroup|25|Art|Clr|FvS|Pal|Sor|Wiz}}|true}} | |example2output = {{SpellCostClass||{{SpellCostClassGroup|25|Art|Clr|FvS|Pal|Sor|Wiz}}|true}} | ||
|example3 = <nowiki>{{SpellCostClass|10}}</nowiki> | |||
|example3output = {{SpellCostClass|10}} | |||
|parameter1name = cost | |parameter1name = cost | ||
|parameter1description = The actual cost for this group | |parameter1description = The actual cost for this group |
Revision as of 18:03, 1 July 2019
SpellCostClass[edit]
This is a helper template is used to nicely format the class and cost for a single entry called by the SpellCost template
Example Usage | |
{{SpellCostClass|10|Art}} | 10 (Artificer) |
{{SpellCostClass||{{SpellCostClassGroup|25|Art|Clr|FvS|Pal|Sor|Wiz}}|true}} | , 25 (Artificer, Cleric, Favored Soul, Paladin, Sorcerer, Wizard) |
{{SpellCostClass|10}} |
Usage[edit]
{{SpellCostClass|(cost)|(Class)|(comma)}}
Parameter Documentation | |
cost | The actual cost 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.