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

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
No edit summary
Tag: Manual revert
mNo edit summary
 
(45 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly><nowiki
   {{#arraydefine:arr_classes|{{{classes|}}}|,|sort=asc}}
  />{{#vardefine:saveShort|{{#switch: {{{save|{{!}}}}}
   <tr>
    | STR
     <td>{{SAI|{{{spell}}}|{{{name}}}|w=40|c={{#if:{{{conc|}}}| 20 | }}|r={{#if:{{{ritual|}}}|16}}}}</td>
    | Strength = STR
     <td>{{{spell_school|}}}</td>
    | DEX
     <td>{{#if: {{{classes|}}} | {{#arrayprint:arr_classes|<br/>|@|{{Class|@}}}} | <div style="text-align:center"></div> }}</td>
    | Dexterity = DEX
     <td>{{#if: {{{damage|}}} | {{DamageType|{{{damage}}} }} | <div style="text-align:center"></div> }}</td>
    | CON
    | 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>
     <td>{{{description}}}</td>
   </tr>
   </tr>
</includeonly>
</includeonly><noinclude>
 
{{User:Toancaro/Template:SpellTable/Header}}
<noinclude>
{{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}}
<table class="wikitable sortable" style="width:100%;">
{{User:Toancaro/Template:SpellTable/Footer}}
<tr>
  <th style="min-width: 150px">Name</th>
  <th>Spell School</th>
  <th style="min-width: 90px">Classes</th>
  <th>Damage Type</th>
  <th>Description</th>
</tr>
{{User:Toancaro/Template:SpellTable/Row|name=Acid Splash|spell=Acid Splash|description=Throw a bubble of acid that damages each creature it hits.|classes=Sorcerer, Wizard|damage=Acid}}
</table>
</noinclude>
</noinclude>

Latest revision as of 03: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.