Template:Spell list table row: Difference between revisions

Jump to navigation Jump to search
add dash if both saving throw and atk roll are missing. center dash
(add bg3wiki-help-tooltip to cantrips)
(add dash if both saving throw and atk roll are missing. center dash)
Line 19: Line 19:
     | longrest = Long Rest
     | longrest = Long Rest
     | #default = {{{duration}}} turns
     | #default = {{{duration}}} turns
   }} | - }}</td>
   }} | <div style="text-align:center">-</div> }}</td>


   <td>{{SmallIcon|Range Icon.png}}{{nbts}}{{#switch: {{{range|{{!}}}}}
   <td>{{SmallIcon|Range Icon.png}}{{nbts}}{{#switch: {{{range|{{!}}}}}
Line 38: Line 38:
   }}</td>
   }}</td>


   <td>{{#ifeq: {{{attack|}}} | yes | {{Attack Roll}} |  
   <td>{{#ifeq: {{{attack|}}} | yes | {{Attack Roll}} | {{#if:{{{save|}}}||-}} }}
  {{#if: {{{save|}}}|{{#ifeq:{{{attack|}}}|yes|<br>}}{{short saving throw | {{{save}}} }} }}
  {{#if: {{{save|}}}|<div>{{short saving throw | {{{save}}} }}</div> }}
}}</td>
  </td>


   <td>{{#if: {{{damage|}}} | {{DamageType|{{{damage}}} }} | - }}</td>
   <td>{{#if: {{{damage|}}} | {{DamageType|{{{damage}}} }} | <div style="text-align:center">-</div> }}</td>
</tr>
</tr>
</includeonly><noinclude>
</includeonly><noinclude>
Line 105: Line 105:
| ritual=true
| ritual=true
| attack=no
| attack=no
}}
{{Spell list table row
| spell=Ensnaring Strike (Ranged)
| level=1
| casttime={{action}}
| duration=10
| range=weapon
| save=Dexterity
| attack=yes
}}
}}
{{Spell list table row/footer}}
{{Spell list table row/footer}}

Navigation menu