Template:Spell list table row: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
<td>{{#if: {{{image|}}} | <td>{{#if: {{{image|}}} | ||
| [[File:{{{image}}}|frameless|upright=0.1|link=Acid Splash]] | | [[File:{{{image}}}|frameless|upright=0.1|link=Acid Splash]] | ||
| [[File:{{{spell}}} Icon | | [[File:{{{spell}}} Icon.png|frameless|upright=0.1|link={{{spell}}}]] | ||
}} [[{{{ spell }}}]] {{#ifeq: {{{const|}}} | required | {{SmallIcon|Concentration Icons.png|link=Concentration}} | }}</td> | }} [[{{{ spell }}}]] {{#ifeq: {{{const|}}} | required | {{SmallIcon|Concentration Icons.png|link=Concentration}} | }}</td> | ||
Revision as of 09:26, 13 July 2023
{{SpellListTableRow | image= -> File name, auto-generated as "{{spell}} Icon.png" if not provided. | spell= -> Required, name of the spell | casttime= -> {{template:Action}} Default: {{Action}} | duration= -> Values is placed in {{Duration|<value>}} Default: Instant | range= -> {{template:Range}} Default: melee | area= -> {{template:AOE}} Default: - | attack= -> yes or no Default: yes | save= -> Does spell requires a saving throw against its DC, Values: DEX,STR,WIS etc. Default - | effect= -> {{template:DamageType}} Default: - }}
Template to fill the rows of the Spell list table. It is intended to use inside wikitable with appropriate columns.
Example:
{| class=wikitable style="width: 100%;" ! | Name ! | Casting Time ! | Duration ! | Range / Area ! | Attack / Save ! | Damage / Effect |- {{SpellListTableRow | image=Acid Splash Icon 2.png | spell=Acid Splash | area={{AOE|radius|m=2|ft=7}} | save=DEX | effect={{DamageType|Acid}} }} {{SpellListTableRow | spell=Blade Ward | casttime={{action}} | duration=2 | range={{Range|self}} | const=required | attack=no }} |}
Result:
Name | Casting Time | Duration | Range / Area | Attack / Save | Damage / Effect |
---|---|---|---|---|---|
File:Acid Splash Icon 2.png Acid Splash | Action | Instant | Melee: 1.5 m / 5 ft AoE: 2 m / 7 ft (Radius) |
Attack roll Dexterity saving throw |
Acid |
Blade Ward | Action | Duration: 2 turns | Range: Self | - | - |