User:Toancaro/Template:SpellTable/Row: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Created page with "<includeonly> <tr> <td>{{#if: {{{image|}}} | {{IconLink|{{{image}}}|{{{spell}}}|{{{name}}}}} | {{SAI|{{{spell}}}|{{{name}}}|w=40|c={{#if:{{{conc|}}}| 20 | }}|r={{#if:{{{ritual|}}}|16}}}} }}</td> <td style="text-align:right;">{{#switch:{{{level|}}} | 0 = <span class="bg3wiki-help-tooltip" aria-label="Cantrip">C</span> | #default = {{{level|}}} }}</td> <td style="text-align:center;">{{#if:{{{upcastable|}}}|{{upcastable}} }}</td> <td>{{action icon|{{{ ca...")
 
mNo edit summary
 
(89 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly><nowiki
<tr>
   />{{#vardefine:saveShort|{{#switch: {{{save|{{!}}}}}
   <td>{{#if: {{{image|}}}
    | STR
  | {{IconLink|{{{image}}}|{{{spell}}}|{{{name}}}}}
    | Strength = STR
   | {{SAI|{{{spell}}}|{{{name}}}|w=40|c={{#if:{{{conc|}}}| 20 | }}|r={{#if:{{{ritual|}}}|16}}}}
    | DEX
  }}</td>
    | Dexterity = DEX
  <td style="text-align:right;">{{#switch:{{{level|}}}
    | CON
  | 0 = <span class="bg3wiki-help-tooltip" aria-label="Cantrip">C</span>
    | Constitution = CON
  | #default = {{{level|}}}
    | INT
  }}</td>
    | Intelligence = INT
  <td style="text-align:center;">{{#if:{{{upcastable|}}}|{{upcastable}} }}</td>
    | WIS
  <td>{{action icon|{{{ casttime|}}}}}</td>
    | Wisdom = WIS
 
    | CHAR
  <td>{{#if: {{{duration|}}} | {{SmallIcon|Duration Icons.png}}{{nbts}}{{#switch: {{{duration}}}
    | Charisma = CHA
    | 1 = 1 turn
    | #default =
    | Until Long Rest
  }} }}<nowiki
    | Long Rest
  />{{#arraydefine:arr_classes|{{{classes|}}}|,|sort=asc}}<nowiki
    | longrest = Long Rest
   /><tr>
     | #default = {{{duration}}} turns
    <td>{{Icon|{{#replace:{{#replace:{{#replace:{{#replace:{{{spell}}}|:|}}|/|<nowiki/> <nowiki/>}}|(|<nowiki/> <nowiki/>}}|)|<nowiki/> <nowiki/>}} Icon.webp|link={{{spell}}}|w=40}}</td>
  }} | <div style="text-align:center">-</div> }}</td>
    <td>[[{{{name}}}]]</td>
 
    <td>{{User:Toancaro/Template:Class|{{{spell school|}}}}}</td>
  <td>{{SmallIcon|Range Icon.png}}{{nbts}}{{#switch: {{{range|{{!}}}}}
    <td>{{#if: {{{classes|}}} | {{#arrayprint:arr_classes|<br/>|@|{{User:Toancaro/Template:Class|@}}}} | <div style="text-align:center"></div> }}</td>
    | self
    <td>{{#if: {{{casttime|}}} | {{Action icon|{{{casttime}}} }} | }}</td>
    | Self = Self
    <td>{{#if: {{{conc|}}} | {{Icon|Concentration Icons.png|link=Concentration|w=20}} | }}</td>
    | melee
    <td>{{#if: {{{ritual|}}} | {{Icon|Ritual Spell Icon.png|link=Ritual|w=16}} | }}</td>
    | Melee
     <td>{{#if: {{{attack|}}} | <span style="display:inline-block">[[File:Attack Roll Icon.png|25px|alt=Attack roll|link=Attack roll]]</span> | }}</td>
    | touch
    <td>{{#if: {{{save|}}} | [[{{{save}}}|{{#var:saveShort}}]] | }}</td>
    | Touch = 1.5 m / 5 ft
    <td>{{#switch: {{{range|{{!}}}}}
    | weapon
      | self
    | Weapon = Weapon Range
      | Self = 0
    | short ranged = 15 m / 50 ft
      | melee
    | ranged = 18 m / 60 ft
      | Melee
    | #default = {{#explode: {{{range}}} |/|0 }}m / {{#explode: {{{range}}} |/|1 }}ft
      | touch
  }} {{#if: {{{area|}}}
      | Touch = 1.5m
    | <br>{{SmallIcon|Aoe Icon.png}}{{nbts}}{{#explode: {{{area}}} |/|0 }}m / {{#explode: {{{area}}} |/|1 }}ft {{#switch: {{{aoe|{{!}}}}} | {{!}} | radius = (Radius) | cone = (Cone) | cube = (Cube) }}
      | weapon
     |
      | Weapon = Weapon Range
  }}</td>
      | short ranged = 15m
 
      | ranged = 18m
  <td>{{#ifeq: {{{attack|}}} | yes | {{Attack Roll}} | {{#if:{{{save|}}}||<div style="text-align:center">-</div>}} }}
      | #default = {{#explode: {{{range}}} |/|0 }}m
  {{#if: {{{save|}}}|<div>{{short saving throw | {{{save}}} }}</div> }}
    }}</td>
   </td>
    <td>{{#if: {{{area|}}}
 
      | {{#explode: {{{area}}} |/|0 }}m
  <td>{{#if: {{{damage|}}} | {{DamageType|{{{damage}}} }} | <div style="text-align:center">-</div> }}</td>
      |  
</tr>
     }}</td>
</includeonly>
    <td>{{#if: {{{damage|}}} | {{DamageIcon|{{{damage}}} }} | }}</td>
    <td>{{{description}}}</td>
   </tr>
</includeonly><noinclude>
{{User:Toancaro/Template:SpellTable/Header}}
{{User:Toancaro/Template:SpellTable/Row|name=Acid Splash|spell=Acid Splash|classes=Sorcerer, Wizard|damage=Acid|spell school=Conjuration|show classes=yes|casttime=action|range=18/60|area=2/7|attack=yes|save=Strength|description=Throw a bubble of acid that damages each creature it hits.|conc=Yes|ritual=Yes}}
{{User:Toancaro/Template:SpellTable/Footer}}
</noinclude>

Latest revision as of 02:40, 11 January 2024

Name Spell School Classes C C R A Saving Throw Icon.png Range Icon.png D Description
Acid Splash Acid Splash Conjuration Conjuration Sorcerer Sorcerer
Wizard Wizard
Action Concentration Ritual Attack roll STR 18m 2m Damage Types Throw a bubble of acid that damages each creature it hits.