Template:SpellEffect: Difference between revisions

From Koada`Dal Wiki
Jump to navigation Jump to search
Created page with "<includeonly>|- | style="width:30px; border:none;" | {{{1|}}}: | style="border:none;" | {{{2|}}} </includeonly> <noinclude> Helper template for individual spell effects inside {{Spell}}. == Usage == <pre> {{SpellEffect|1|Increase STR by 2}} {{SpellEffect|2|Increase STA by 2}} </pre> </noinclude>"
 
No edit summary
Line 1: Line 1:
<includeonly>|-
<includeonly>
| style="width:30px; border:none;" | {{{1|}}}:
''{{{1|}}}:'' {{{2|}}}
| style="border:none;" | {{{2|}}}
</includeonly>
</includeonly>
```
This renders each effect as a simple italicized numbered line rather than a nested table row, which avoids the table nesting conflict entirely. On the Minor Heal page it would display as:
```
1: Increase Health by 10
```
And for Berserker Spirit:
```
1: Increase STR by 2
2: Increase DEX by 2
3: Increase AGI by 2
4: Increase STA by 2
<noinclude>
<noinclude>
Helper template for individual spell effects inside {{[[Template:Spell|Spell]]}}.
Helper template for individual spell effects inside {{[[Template:Spell|Spell]]}}.

Revision as of 18:55, 15 March 2026

```

This renders each effect as a simple italicized numbered line rather than a nested table row, which avoids the table nesting conflict entirely. On the Minor Heal page it would display as: ``` 1: Increase Health by 10 ```

And for Berserker Spirit: ``` 1: Increase STR by 2 2: Increase DEX by 2 3: Increase AGI by 2 4: Increase STA by 2

Helper template for individual spell effects inside {{Spell}}.

Usage

{{SpellEffect|1|Increase STR by 2}}
{{SpellEffect|2|Increase STA by 2}}