Template:Spell list table row: Difference between revisions
Jump to navigation
Jump to search
(Added weapon range for range option) |
mNo edit summary |
||
Line 18: | Line 18: | ||
| self | | self | ||
| Self = Self | | Self = Self | ||
| melee | |||
| Melee | |||
| touch = 1.5/5 | |||
| Touch = 1.5/5 | |||
| weapon | | weapon | ||
| Weapon = Weapon Range | | Weapon = Weapon Range | ||
Line 67: | Line 71: | ||
"3", | "3", | ||
"10", | "10", | ||
"100", | |||
"longrest" | "longrest" | ||
] | ] | ||
Line 73: | Line 78: | ||
"description": "Range of the spell separated by \"/\".", | "description": "Range of the spell separated by \"/\".", | ||
"example": "9/30 to get 9m/30ft.", | "example": "9/30 to get 9m/30ft.", | ||
"default": " | "default": "18/60", | ||
"type": "string" | "type": "string", | ||
"suggestedvalues": [ | |||
"self", | |||
"melee", | |||
"touch", | |||
"weapon", | |||
"9/30" | |||
] | |||
}, | }, | ||
"area": { | "area": { | ||
Line 113: | Line 125: | ||
"description": "Type of the damage dealt by the Spell.", | "description": "Type of the damage dealt by the Spell.", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
"Slashing", | |||
"Piercing", | |||
"Bludgeoning", | |||
"Cold", | |||
"Fire", | "Fire", | ||
"Acid", | |||
"Lightning", | |||
"Force", | |||
"Poison", | "Poison", | ||
" | "Thunder", | ||
" | "Radiant", | ||
"Necrotic", | |||
"Psychic" | |||
], | ], | ||
"type": "string" | "type": "string" | ||
} | } | ||
}, | }, | ||
"description": "Template to fill the rows of the Spell list table. It is intended to use inside wikitable with appropriate columns." | "description": "Template to fill the rows of the Spell list table. It is intended to use inside wikitable with appropriate columns.", | ||
"paramOrder": [ | |||
"spell", | |||
"image", | |||
"conc", | |||
"casttime", | |||
"duration", | |||
"range", | |||
"area", | |||
"aoe", | |||
"attack", | |||
"save", | |||
"damage" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> |
Revision as of 11:17, 14 July 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
| Template | 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 2.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 |
---|---|---|---|---|---|
File:Acid Splash Icon 2.png Acid Splash | Action | - | 18m / 60ft 2m / 7ft (Radius) |
Attack roll Dexterity saving throw |
Acid |
Blade Ward | Action | 2 turns | Self | - | - |