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

From bg3.wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(87 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
</tr>
    | CON
</includeonly>
    | Constitution = CON
    | INT
    | Intelligence = INT
    | WIS
    | Wisdom = WIS
    | CHAR
    | Charisma = CHA
    | #default =
  }} }}<nowiki
  />{{#arraydefine:arr_classes|{{{classes|}}}|,|sort=asc}}<nowiki
  /><tr>
    <td>{{Icon|{{#replace:{{#replace:{{#replace:{{#replace:{{{spell}}}|:|}}|/|<nowiki/> <nowiki/>}}|(|<nowiki/> <nowiki/>}}|)|<nowiki/> <nowiki/>}} Icon.webp|link={{{spell}}}|w=40}}</td>
    <td>[[{{{name}}}]]</td>
    <td>{{User:Toancaro/Template:Class|{{{spell school|}}}}}</td>
    <td>{{#if: {{{classes|}}} | {{#arrayprint:arr_classes|<br/>|@|{{User:Toancaro/Template:Class|@}}}} | <div style="text-align:center"></div> }}</td>
    <td>{{#if: {{{casttime|}}} | {{Action icon|{{{casttime}}} }} | }}</td>
    <td>{{#if: {{{conc|}}} | {{Icon|Concentration Icons.png|link=Concentration|w=20}} | }}</td>
    <td>{{#if: {{{ritual|}}} | {{Icon|Ritual Spell Icon.png|link=Ritual|w=16}} | }}</td>
    <td>{{#if: {{{attack|}}} | <span style="display:inline-block">[[File:Attack Roll Icon.png|25px|alt=Attack roll|link=Attack roll]]</span> | }}</td>
    <td>{{#if: {{{save|}}} | [[{{{save}}}|{{#var:saveShort}}]] | }}</td>
    <td>{{#switch: {{{range|{{!}}}}}
      | self
      | Self = 0
      | melee
      | Melee
      | touch
      | Touch = 1.5m
      | weapon
      | Weapon = Weapon Range
      | short ranged = 15m
      | ranged = 18m
      | #default = {{#explode: {{{range}}} |/|0 }}m
    }}</td>
    <td>{{#if: {{{area|}}}
      | {{#explode: {{{area}}} |/|0 }}m
      |
    }}</td>
    <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.