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...")
 
No edit summary
Line 9: Line 9:
   | #default = {{{level|}}}
   | #default = {{{level|}}}
   }}</td>
   }}</td>
  <td style="text-align:center;">{{#if:{{{upcastable|}}}|{{upcastable}} }}</td>
  <td>{{action icon|{{{ casttime|}}}}}</td>
  <td>{{#if: {{{duration|}}} | {{SmallIcon|Duration Icons.png}}{{nbts}}{{#switch: {{{duration}}}
    | 1 = 1 turn
    | Until Long Rest
    | Long Rest
    | longrest = Long Rest
    | #default = {{{duration}}} turns
  }} | <div style="text-align:center">-</div> }}</td>
  <td>{{SmallIcon|Range Icon.png}}{{nbts}}{{#switch: {{{range|{{!}}}}}
    | self
    | Self = Self
    | melee
    | Melee
    | touch
    | Touch = 1.5 m / 5 ft
    | weapon
    | Weapon = Weapon Range
    | short ranged = 15 m / 50 ft
    | ranged = 18 m / 60 ft
    | #default = {{#explode: {{{range}}} |/|0 }}m / {{#explode: {{{range}}} |/|1 }}ft
  }} {{#if: {{{area|}}}
    | <br>{{SmallIcon|Aoe Icon.png}}{{nbts}}{{#explode: {{{area}}} |/|0 }}m / {{#explode: {{{area}}} |/|1 }}ft {{#switch: {{{aoe|{{!}}}}} | {{!}} | radius = (Radius) | cone = (Cone) | cube = (Cube) }}
    |
  }}</td>
  <td>{{#ifeq: {{{attack|}}} | yes | {{Attack Roll}} | {{#if:{{{save|}}}||<div style="text-align:center">-</div>}} }}
  {{#if: {{{save|}}}|<div>{{short saving throw | {{{save}}} }}</div> }}
  </td>
  <td>{{#if: {{{damage|}}} | {{DamageType|{{{damage}}} }} | <div style="text-align:center">-</div> }}</td>
</tr>
</tr>
</includeonly>
</includeonly>

Revision as of 07:31, 4 January 2024