Template:Spell list table row: Difference between revisions
Jump to navigation
Jump to search
(add bg3wiki-help-tooltip to cantrips) |
(add dash if both saving throw and atk roll are missing. center dash) |
||
Line 19: | Line 19: | ||
| longrest = Long Rest | | longrest = Long Rest | ||
| #default = {{{duration}}} turns | | #default = {{{duration}}} turns | ||
}} | - }}</td> | }} | <div style="text-align:center">-</div> }}</td> | ||
<td>{{SmallIcon|Range Icon.png}}{{nbts}}{{#switch: {{{range|{{!}}}}} | <td>{{SmallIcon|Range Icon.png}}{{nbts}}{{#switch: {{{range|{{!}}}}} | ||
Line 38: | Line 38: | ||
}}</td> | }}</td> | ||
<td>{{#ifeq: {{{attack|}}} | yes | {{Attack Roll}} | | <td>{{#ifeq: {{{attack|}}} | yes | {{Attack Roll}} | {{#if:{{{save|}}}||-}} }} | ||
{{#if: {{{save|}}}|<div>{{short saving throw | {{{save}}} }}</div> }} | |||
</td> | |||
<td>{{#if: {{{damage|}}} | {{DamageType|{{{damage}}} }} | - }}</td> | <td>{{#if: {{{damage|}}} | {{DamageType|{{{damage}}} }} | <div style="text-align:center">-</div> }}</td> | ||
</tr> | </tr> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Line 105: | Line 105: | ||
| ritual=true | | ritual=true | ||
| attack=no | | attack=no | ||
}} | |||
{{Spell list table row | |||
| spell=Ensnaring Strike (Ranged) | |||
| level=1 | |||
| casttime={{action}} | |||
| duration=10 | |||
| range=weapon | |||
| save=Dexterity | |||
| attack=yes | |||
}} | }} | ||
{{Spell list table row/footer}} | {{Spell list table row/footer}} |
Revision as of 21:56, 17 October 2023
Example:
{{Spell list table row | image=Acid Splash Icon.png | level=Cantrip | spell=Acid Splash | area=2/7 | save=DEX | damage=Acid }} {{Spell list table row | spell=Blade Ward | level=Cantrip | casttime={{action}} | duration=2 | range=self | conc=required | attack=no }} {{Spell list table row | spell=Firebolt? | level=Cantrip | upcastable=yes | casttime={{action}} | duration=2 | range=self | ritual=true | attack=no }}
Result:
Name | Level | Cast time | Duration | Range/Area | Attack/Save | Damage/Effect | |
---|---|---|---|---|---|---|---|
C | - |
{{{range}}}m / ft 2m / 7ft (Radius) |
Acid | ||||
C | 2 turns | Self | - | - |
|||
C | 2 turns | Self | - | - |
|||
1 | 10 turns | Weapon Range | Attack roll | - |
template data
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 |
level | level | The level of the spell.
| Unknown | optional |
upcastable | upcastable | If specified, adds the upcastable marker next to the level. | Boolean | optional |
image | image | File name, auto-generated as "{{spell}} Icon.png" if not provided. | String | optional |
conc | conc | If specified, marks spell as requiring concentration.
| Boolean | optional |
ritual | ritual | If specified, marks spell as ritual. | Boolean | 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 |