Difference between revisions of "Template:SpellComponent"

From DDO Compendium
Line 5: Line 5:
|example1 = <nowiki>{{SpellComponent||M|S|V}}</nowiki>
|example1 = <nowiki>{{SpellComponent||M|S|V}}</nowiki>
|example1output = {{SpellComponent||M|S|V}}
|example1output = {{SpellComponent||M|S|V}}
|example2 = <nowiki>{{SpellComponent|Powdered Silver|M|S|V}}</nowiki>
|example2 = <nowiki>{{SpellComponent|Potion of Cure Light Wounds|M|S|V}}</nowiki>
|example2output = {{SpellComponent|Powdered Silver|M|S|V}}
|example2output = {{SpellComponent|Potion of Cure Light Wounds|M|S|V}}
|example3 = <nowiki>{{SpellComponent||S}}</nowiki>
|example3 = <nowiki>{{SpellComponent||S}}</nowiki>
|example3output = {{SpellComponent||S}}
|example3output = {{SpellComponent||S}}
|parameter1name = special
|parameter1name = special
|parameter1description = Any special component required for this spell - not normal components
|parameter1description = Any special component required for this spell - not normal components.  So this would not include any of the regular components that are used during the "Material" type, such as "Two-Headed Coin", "Pinch of Fine Sand" or "Licorice Root"
|parameter1values =  
|parameter1values =  
|parameter2name = component
|parameter2name = component

Revision as of 19:18, 20 June 2019

SpellComponent[edit]

This template is used to nicely format the components necessary for a spell.

Example Usage
{{SpellComponent||M|S|V}}Material, Somatic, Verbal
{{SpellComponent|Potion of Cure Light Wounds|M|S|V}}Material, Somatic, Verbal (Potion of Cure Light Wounds)
{{SpellComponent||S}}Somatic

Usage[edit]

{{SpellComponent|(special)|(component)}}

Parameter Documentation
specialAny special component required for this spell - not normal components. So this would not include any of the regular components that are used during the "Material" type, such as "Two-Headed Coin", "Pinch of Fine Sand" or "Licorice Root"
componentThe spell component needed, repeat up to 3 times.

Template

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