User:Toancaro/Druid/Template:ExtraSpellTable/Row: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><nowiki | <includeonly><nowiki | ||
/>{{#arraydefine:arr_classes|{{{classes|}}}|,|sort=asc}}<nowiki | />{{#arraydefine:arr_classes|{{{classes|}}}|,|sort=asc}}<nowiki | ||
/>{{#arraydefine:sporesSpells|Bone Chill}}<nowiki | |||
/>{{#vardefine: | />{{#arraydefine:landSpells|Barkskin,Blight,Blur,Call Lightning,Cloudkill,Cone of Cold,Confusion,Conjure Elemental,Conjure Minor Elemental,Contagion,Darkness,Daylight,Dominate Beast,Freedom of Movement,Gaseous Form,Grant Flight,Grasping Vine,Greater Invisibility,Greater Restoration,Haste,Hold Person,Hypnotic Pattern,Ice Storm,Insect Plague,Invisibility,Lightning Bolt,Mass Cure Wounds,Melf's Acid Arrow,Mirror Image,Misty Step,Pass Without Trace,Plant Growth,Polymorph,Protection from Energy,Silence,Sleet Storm,Spike Growth,Stinking Cloud,Stoneskin,Vampiric Touch,Wall of Fire,Wall of Stone,Web}}<nowiki | ||
/>{{#arraydefine:sporesSpells|Animate Dead,Blight,Blindness,Bone Chill,Cloudkill,Confusion,Contagion,Detect Thoughts,Gaseous Form}}<nowiki | |||
/>{{#vardefine: hasLand|{{#arraysearch: landSpells|{{{name}}}|0|Land|}} }}<nowiki | |||
/>{{#vardefine: hasSpores|{{#arraysearch: sporesSpells|{{{name}}}|0|Spores|}} }}<nowiki | |||
/>{{#arraymerge: subclassNames|hasLand|hasSpores}}<nowiki | |||
/>{{#vardefine:saveShort|{{#switch: {{{save|{{!}}}}} | />{{#vardefine:saveShort|{{#switch: {{{save|{{!}}}}} | ||
| STR | | STR | ||
Line 23: | Line 26: | ||
/><tr> | /><tr> | ||
<td>{{SAI|{{{spell}}}|{{{name}}}|w=30|c={{#if:{{{conc|}}}| 20 | }}|r={{#if:{{{ritual|}}}|16}}}}</td> | <td>{{SAI|{{{spell}}}|{{{name}}}|w=30|c={{#if:{{{conc|}}}| 20 | }}|r={{#if:{{{ritual|}}}|16}}}}</td> | ||
<td>{{User:Toancaro/Template:Class| | <td>{{#arrayprint:subclassNames|<br/>|@|{{User:Toancaro/Template:Class|@}}}}</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> |