Template:SpellEffect: Difference between revisions
Jump to navigation
Jump to search
ShinyUmbreon (talk | contribs) No edit summary |
ShinyUmbreon (talk | contribs) No edit summary |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>|- | ||
| style="border:none; padding:1px 4px;" | {{{1|}}}: {{{2|}}}</includeonly> | |||
</includeonly> | |||
<noinclude> | <noinclude> | ||
Helper template for individual spell effects inside {{[[Template:Spell|Spell]]}}. | Helper template for individual spell effects inside {{[[Template:Spell|Spell]]}}. | ||
== Usage == | == Usage == | ||
Each <nowiki>{{SpellEffect}}</nowiki> call creates one effect line. The first parameter is the effect number and the second is the description: | |||
<pre> | <pre> | ||
{{SpellEffect|1|Increase STR by 2}} | {{SpellEffect|1|Increase STR by 2}} | ||
{{SpellEffect|2|Increase | {{SpellEffect|2|Increase DEX by 2}} | ||
{{SpellEffect|3|Increase AGI by 2}} | |||
</pre> | </pre> | ||
This would display as: | |||
: 1: Increase STR by 2 | |||
: 2: Increase DEX by 2 | |||
: 3: Increase AGI by 2 | |||
* '''First parameter''' — Effect number | |||
* '''Second parameter''' — Effect description | |||
</noinclude> | </noinclude> | ||
Latest revision as of 20:22, 15 March 2026
Helper template for individual spell effects inside {{Spell}}.
Usage
Each {{SpellEffect}} call creates one effect line. The first parameter is the effect number and the second is the description:
{{SpellEffect|1|Increase STR by 2}}
{{SpellEffect|2|Increase DEX by 2}}
{{SpellEffect|3|Increase AGI by 2}}
This would display as:
- 1: Increase STR by 2
- 2: Increase DEX by 2
- 3: Increase AGI by 2
- First parameter — Effect number
- Second parameter — Effect description