Template:Spell list table row: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 30: | Line 30: | ||
| spell= -> Required, name of the spell | | spell= -> Required, name of the spell | ||
| casttime= -> {{template:Action}} Default: {{Action}} | | casttime= -> {{template:Action}} Default: {{Action}} | ||
| duration= -> {{ | | duration= -> Values is placed in {{Duration|<value>}} Default: Instant | ||
| range= -> {{template:Range}} Default: melee | | range= -> {{template:Range}} Default: melee | ||
| area= -> {{template:AOE}} Default: - | | area= -> {{template:AOE}} Default: - |
Revision as of 09:25, 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 |
File:Blade Ward Icon 2.png Blade Ward | Action | Duration: 2 turns | Range: Self | - | - |