User:Toancaro/Ranger/Template:ExtraSpellTable/Row: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><nowiki
<includeonly><nowiki
/>{{#arraydefine:arr_classes|{{{classes|}}}|,|sort=asc}}<nowiki
/>{{#arraydefine:arr_classes|{{{classes|}}}|,|sort=asc}}<nowiki
/>{{#arraydefine:gloomStalkerSpells|Disguise Self}}<nowiki
/>{{#arraydefine:gloomStalkerSpells|Disguise Self,Misty Step,Fear}}<nowiki
/>{{#vardefine: subclassName
/>{{#vardefine: subclassName
     | {{#arraysearch: gloomStalkerSpells|{{{name}}}|0|Gloom Stalker|
     | {{#arraysearch: gloomStalkerSpells|{{{name}}}|0|Gloom Stalker|
       }}
       }}
   }}<nowiki
   }}<nowiki
/><nowiki
/>{{#vardefine:saveShort|{{#switch: {{{save|{{!}}}}}
/>{{#vardefine:saveShort|{{#switch: {{{save|{{!}}}}}
     | STR
     | STR
Line 23: Line 22:
   }} }}<nowiki
   }} }}<nowiki
/><tr>
/><tr>
     <td>{{SAI|{{{spell}}}|{{{name}}}|w=30|c={{#if:{{{conc|}}}| 20 | }}|r={{#if:{{{ritual|}}}|16}}}}</td>
     <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|{{#var:subclassName|}}}}</td>
     <td>{{User:Toancaro/Template:Class|{{#var:subclassName|}}}}</td>
     <td>{{User:Toancaro/Template:SpellSchool|{{{spell school|}}}}}</td>
     <td>{{User:Toancaro/Template:SpellSchool|{{{spell school|}}}}}</td>
     <td>{{#if: {{{classes|}}} | {{#arrayprint:arr_classes|<br/>|@|{{User:Toancaro/Template:Class|@}}}} | <div style="text-align:center"></div> }}</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: {{{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: {{{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>{{#if: {{{save|}}} | [[{{{save}}}|{{#var:saveShort}}]] | }}</td>
Line 47: Line 49:
       |  
       |  
     }}</td>
     }}</td>
     <td>{{#if: {{{damage|}}} | {{DamageType|{{{damage}}} }} | }}</td>
     <td>{{#if: {{{damage|}}} | {{DamageIcon|{{{damage}}} }} | }}</td>
     <td>{{{description}}}</td>
     <td>{{{description}}}</td>
   </tr>
   </tr>

Latest revision as of 08:32, 13 January 2024


Name Subclass Spell School Classes C C R A Saving Throw Icon.png Range Icon.png D Description
Disguise Self Disguise Self Gloom Stalker Gloom Stalker Evocation School Evocation Bard Bard
Cleric Cleric
Druid Druid
Paladin Paladin
Ranger Ranger
0m Heal a creature you can touch.