Ad placeholder

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

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
 
(4 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
/>{{#vardefine:saveShort|{{#switch: {{{save|{{!}}}}}
    | STR
    | Strength = STR
    | DEX
    | Dexterity = DEX
    | CON
    | Constitution = CON
    | INT
    | Intelligence = INT
    | WIS
    | Wisdom = WIS
    | CHAR
    | Charisma = CHA
    | #default =
  }} }}<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: {{{damage|}}} | {{DamageType|{{{damage}}} }} | <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 = 0m
      | 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>
Line 17: Line 55:
<noinclude>
<noinclude>
{{User:Toancaro/Ranger/Template:ExtraSpellTable/Header}}
{{User:Toancaro/Ranger/Template:ExtraSpellTable/Header}}
{{User:Toancaro/Ranger/Template:ExtraSpellTable/Row|name= Disguise Self|spell= Disguise Self|classes=Bard, Cleric, Druid, Paladin, Ranger|spell school=Evocation|description=Heal a creature you can touch.}}
{{User:Toancaro/Ranger/Template:ExtraSpellTable/Row|name= Disguise Self|spell= Disguise Self|classes=Bard, Cleric, Druid, Paladin, Ranger|spell school=Evocation|description=Heal a creature you can touch.|range=self}}
{{User:Toancaro/Ranger/Template:ExtraSpellTable/Footer}}
{{User:Toancaro/Ranger/Template:ExtraSpellTable/Footer}}
</noinclude>
</noinclude>
791
edits

Navigation menu