Template:Spell list table row: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) mNo edit summary |
HiddenDragon (talk | contribs) (icon -> controller icon) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<tr> | <tr> | ||
<td>{{IconLink|{{{icon}}}|{{{spell}}}|{{{name}}}}}{{#if:{{{conc|}}}|{{Nbts}}{{Icon|Concentration Icon.png|20px|link=Concentration|caption=}}|}}{{#if:{{{ritual|}}}|{{Nbts}}{{Icon|Ritual_Spell_Icon.png|16px|link=Ritual Spells|caption=}}|}}</td> | <td>{{IconLink|{{{controller icon}}}|{{{spell}}}|{{{name}}}}}{{#if:{{{conc|}}}|{{Nbts}}{{Icon|Concentration Icon.png|20px|link=Concentration|caption=}}|}}{{#if:{{{ritual|}}}|{{Nbts}}{{Icon|Ritual_Spell_Icon.png|16px|link=Ritual Spells|caption=}}|}}</td> | ||
<td style="text-align:right;">{{#switch:{{{level|}}} | <td style="text-align:right;">{{#switch:{{{level|}}} | ||
| 0 = <span class="bg3wiki-help-tooltip" aria-label="Cantrip">C</span> | | 0 = <span class="bg3wiki-help-tooltip" aria-label="Cantrip">C</span> | ||
Line 44: | Line 44: | ||
<pre> | <pre> | ||
{{Spell list table row | {{Spell list table row | ||
| icon=Flame Blade Icon.webp | | controller icon=Flame Blade Icon.webp | ||
| level=Cantrip | | level=Cantrip | ||
| spell=Flame Blade (Spell) | | spell=Flame Blade (Spell) | ||
Line 54: | Line 54: | ||
{{Spell list table row | {{Spell list table row | ||
| spell=Blade Ward | | spell=Blade Ward | ||
| icon=Blade Ward Icon.webp | | controller icon=Blade Ward Icon.webp | ||
| name=Blade Ward | | name=Blade Ward | ||
| level=Cantrip | | level=Cantrip | ||
Line 65: | Line 65: | ||
{{Spell list table row | {{Spell list table row | ||
| spell=Firebolt? | | spell=Firebolt? | ||
| icon=Fire Bolt Icon.webp | | controller icon=Fire Bolt Icon.webp | ||
| name=Firebolt? | | name=Firebolt? | ||
| level=Cantrip | | level=Cantrip | ||
Line 81: | Line 81: | ||
{{Spell list table row/header}} | {{Spell list table row/header}} | ||
{{Spell list table row | {{Spell list table row | ||
| icon=Flame Blade Spell Icon.webp | | controller icon=Flame Blade Spell Icon.webp | ||
| level=Cantrip | | level=Cantrip | ||
| spell=Flame Blade (Spell) | | spell=Flame Blade (Spell) | ||
Line 91: | Line 91: | ||
{{Spell list table row | {{Spell list table row | ||
| spell=Blade Ward | | spell=Blade Ward | ||
| icon=Blade Ward Icon.webp | | controller icon=Blade Ward Icon.webp | ||
| name=Blade Ward | | name=Blade Ward | ||
| level=0 | | level=0 | ||
Line 102: | Line 102: | ||
{{Spell list table row | {{Spell list table row | ||
| spell=Firebolt? | | spell=Firebolt? | ||
| icon=Fire Bolt Icon.webp | | controller icon=Fire Bolt Icon.webp | ||
| name=Firebolt? | | name=Firebolt? | ||
| level=0 | | level=0 | ||
Line 114: | Line 114: | ||
{{Spell list table row | {{Spell list table row | ||
| spell=Ensnaring Strike (Ranged) | | spell=Ensnaring Strike (Ranged) | ||
| icon=Ensnaring Strike Ranged Icon.webp | | controller icon=Ensnaring Strike Ranged Icon.webp | ||
| name=Ensnaring Strike | | name=Ensnaring Strike | ||
| level=1 | | level=1 | ||
Line 129: | Line 129: | ||
{ | { | ||
"params": { | "params": { | ||
"icon": { | "controller icon": { | ||
"description": "File name of the spell's icon.", | "description": "File name of the spell's icon.", | ||
"type": "string" | "type": "string" | ||
Line 257: | Line 257: | ||
"level", | "level", | ||
"upcastable", | "upcastable", | ||
"icon", | "controller icon", | ||
"conc", | "conc", | ||
"ritual", | "ritual", |
Revision as of 20:45, 16 April 2024
Example:
{{Spell list table row | controller icon=Flame Blade Icon.webp | level=Cantrip | spell=Flame Blade (Spell) | name=Flame Blade | area=2/7 | save=DEX | damage=Acid }} {{Spell list table row | spell=Blade Ward | controller icon=Blade Ward Icon.webp | name=Blade Ward | level=Cantrip | casttime={{action}} | duration=2 | range=self | conc=required | attack=no }} {{Spell list table row | spell=Firebolt? | controller icon=Fire Bolt Icon.webp | name=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 | |
---|---|---|---|---|---|---|---|
Cantrip | - |
{{{range}}}m / ft 2m / 7ft (Radius) |
Acid | ||||
C | 2 turns | Self | -
|
- |
|||
C | 2 turns | Self | -
|
- |
|||
1 | 10 turns | Weapon Range | - |
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 |
controller icon | controller icon | File name of the spell's icon. | 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 |