Template:Spell list table row: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
(Undo revision 92446 by Sky (talk) : Doesn't work)
Tag: Undo
mNo edit summary
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
  <includeonly>
  <includeonly>
<tr>
<tr>
   <td>{{#if: {{{image|}}}
   <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>
  | {{IconLink|{{{image}}}|{{{spell}}}}}
  | {{SAI|{{{spell}}}|w=40|c={{#if:{{{conc|}}}| 20 | }}|r={{#if:{{{ritual|}}}|16}}}}
  }}</td>
   <td style="text-align:right;">{{#switch:{{{level|}}}
   <td style="text-align:right;">{{#switch:{{{level|}}}
   | cantrip
   | 0 = <span class="bg3wiki-help-tooltip" aria-label="Cantrip">C</span>
  | Cantrip = <span class="bg3wiki-help-tooltip" aria-label="Cantrip">C</span>
   | #default = {{{level|}}}
   | #default = {{{level|}}}
   }}</td>
   }}</td>
Line 34: Line 30:
     | #default = {{#explode: {{{range}}} |/|0 }}m / {{#explode: {{{range}}} |/|1 }}ft
     | #default = {{#explode: {{{range}}} |/|0 }}m / {{#explode: {{{range}}} |/|1 }}ft
   }} {{#if: {{{area|}}}
   }} {{#if: {{{area|}}}
     | <br>{{SmallIcon|Aoe Icon.png}}{{nbts}}{{#explode: {{{area}}} |/|0 }}m / {{#explode: {{{area}}} |/|1 }}ft {{#switch: {{{aoe|{{!}}}}} | {{!}} | radius = (Radius) | cone = (Cone) | cube = (Cube) }}
     | <br>{{SmallIcon|Aoe Icon.png}}{{nbts}}{{#explode: {{{area}}} |/|0 }}m / {{#explode: {{{area}}} |/|1 }}ft {{#switch: {{lc:{{{aoe|{{!}}}}}}} | {{!}} | radius = (Radius) | cone = (Cone) | cube = (Cube) }}
     |  
     |  
   }}</td>
   }}</td>


   <td>{{#ifeq: {{{attack|}}} | yes | {{Attack Roll}} | {{#if:{{{save|}}}||<div style="text-align:center">-</div>}} }}
   <td>{{#ifeq: {{{attack|}}} | 1 | {{Attack Roll}} | {{#if:{{{save|}}}||<div style="text-align:center">-</div>}} }}
   {{#if: {{{save|}}}|<div>{{short saving throw | {{{save}}} }}</div> }}
   {{#if: {{{save|}}}|<div>{{short saving throw | {{{save}}} }}</div> }}
   </td>
   </td>


   <td>{{#if: {{{damage|}}} | {{DamageType|{{{damage}}} }} | <div style="text-align:center">-</div> }}</td>
   <td>{{#if: {{{damage|}}}{{{damage type|}}} | {{DamageText|{{{damage}}}|{{{damage type}}} }}{{#if: {{{extra damage|}}}{{{extra damage type|}}} | <br>{{DamageText|{{{extra damage}}}|{{{extra damage type}}} }}}} | <div style="text-align:center">-</div> }}</td>
</tr>
</tr>
</includeonly><noinclude>
</includeonly><noinclude>
Line 48: Line 44:
<pre>
<pre>
{{Spell list table row
{{Spell list table row
| image=Acid Splash Icon.png
| controller icon=Flame Blade Icon.webp
| level=Cantrip
| level=Cantrip
| spell=Acid Splash
| spell=Flame Blade (Spell)
| name=Flame Blade
| area=2/7
| area=2/7
| save=DEX
| save=DEX
| damage=Acid
| damage=2d6
| damage type=Acid
}}
}}
{{Spell list table row
{{Spell list table row
| spell=Blade Ward
| spell=Blade Ward
| controller icon=Blade Ward Icon.webp
| name=Blade Ward
| level=Cantrip
| level=Cantrip
| casttime={{action}}
| casttime={{action}}
Line 66: Line 66:
{{Spell list table row
{{Spell list table row
| spell=Firebolt?
| spell=Firebolt?
| controller icon=Fire Bolt Icon.webp
| name=Firebolt?
| level=Cantrip
| level=Cantrip
| upcastable=yes
| upcastable=yes
Line 80: Line 82:
{{Spell list table row/header}}
{{Spell list table row/header}}
{{Spell list table row
{{Spell list table row
| image=Acid Splash Icon.png
| controller icon=Flame Blade Spell Icon.webp
| level=Cantrip
| level=Cantrip
| spell=Acid Splash
| spell=Flame Blade (Spell)
| name=Flame Blade
| area=2/7
| area=2/7
| save=DEX
| save=DEX
| damage=Acid
| damage=2d6
| damage type=Acid
}}
}}
{{Spell list table row
{{Spell list table row
| spell=Blade Ward
| spell=Blade Ward
| level=Cantrip
| controller icon=Blade Ward Icon.webp
| name=Blade Ward
| level=0
| casttime={{action}}
| casttime={{action}}
| duration=2
| duration=2
Line 98: Line 104:
{{Spell list table row
{{Spell list table row
| spell=Firebolt?
| spell=Firebolt?
| level=Cantrip
| controller icon=Fire Bolt Icon.webp
| name=Firebolt?
| level=0
| upcastable=y
| upcastable=y
| casttime={{action}}
| casttime={{action}}
Line 105: Line 113:
| ritual=true
| ritual=true
| attack=no
| attack=no
| damage=1d10
| damage type=Piercing
| extra damage=2d8
| extra damage type=Fire
}}
}}
{{Spell list table row
{{Spell list table row
| spell=Ensnaring Strike (Ranged)
| spell=Ensnaring Strike (Ranged)
| controller icon=Ensnaring Strike Ranged Icon.webp
| name=Ensnaring Strike
| level=1
| level=1
| casttime={{action}}
| casttime={{action}}
Line 121: Line 135:
{
{
"params": {
"params": {
"image": {
"controller icon": {
"description": "File name, auto-generated as \"{{spell}} Icon.png\" if not provided.",
"description": "File name of the spell's icon.",
"type": "string"
"type": "string"
},
},
Line 249: Line 263:
"level",
"level",
"upcastable",
"upcastable",
"image",
"controller icon",
"conc",
"conc",
"ritual",
"ritual",

Navigation menu