Template:Spell list table row: Difference between revisions
Jump to navigation
Jump to search
m (Sky moved page Template:SpellListTableRow to Template:Spell list table row: formatting) |
HiddenDragon (talk | contribs) (Updated to use SAI template) |
||
Line 2: | Line 2: | ||
<tr> | <tr> | ||
<td>{{#if: {{{image|}}} | <td>{{#if: {{{image|}}} | ||
| | | {{IconLink|{{{image}}}|{{{spell}}}}} | ||
| {{SAI|{{{spell}}}|w=40|c={{#ifeq: {{{conc|}}} | required | 20 | }}}} | |||
}} </td> | |||
<td>{{{ casttime | {{Action}} }}}</td> | <td>{{{ casttime | {{Action}} }}}</td> |
Revision as of 17:54, 16 October 2023
Template to fill the rows of the Spell list table. It is intended to use inside wikitable with appropriate columns.
Parameter | Description | Type | Status | |
---|---|---|---|---|
spell | spell | Name of the spell | String | required |
image | image | File name, auto-generated as "{{spell}} Icon.png" if not provided. | String | optional |
conc | conc | Does spell require concentration.
| String | optional |
casttime | casttime | Casting time of the Spell
| Unknown | optional |
duration | duration | Duration of the spell.
| Unknown | optional |
range | range | Range of the spell separated by "/".
| String | optional |
area | area | AoE range of the spell separated by "/". | String | optional |
aoe | aoe | AoE type of the spell.
| String | optional |
attack | attack | Does spell require an attack roll.
| String | optional |
save | save | Does spell require a saving throw against its DC.
| String | optional |
damage | damage | Type of the damage dealt by the Spell.
| String | optional |
Example:
{| class=wikitable style="width: 100%;" ! | Name ! | Casting Time ! | Duration ! | Range / Area ! | Attack / Save ! | Damage / Effect |- {{SpellListTableRow | image=Acid Splash Icon.png | spell=Acid Splash | area=2/7 | save=DEX | damage=Acid }} {{SpellListTableRow | spell=Blade Ward | casttime={{action}} | duration=2 | range=self | conc=required | attack=no }} |}
Result:
Name | Casting Time | Duration | Range / Area | Attack / Save | Damage / Effect |
---|---|---|---|---|---|
Action | - | 18m / 60ft 2m / 7ft (Radius) |
Attack roll Dexterity saving throw |
Acid | |
Action | 2 turns | Self | - | - |