Editing User:Toancaro/Bard/Template:ExtraSpellTable/Row
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#arraydefine:arr_classes|{{{classes|}}}|,|sort=asc}} | {{#arraydefine:arr_classes|{{{classes|}}}|,|sort=asc}} | ||
{{#arraydefine:lifeSpells|Bless,Cure Wounds,Aid,Lesser Restoration,Revivify,Beacon of Hope,Guardian of Faith,Death Ward,Greater Restoration,Mass Cure Wounds}} | |||
{{#arraydefine:lightSpells|Light,Burning Hands,Faerie Fire,Flaming Sphere,Scorching Ray,Daylight,Fireball,Guardian of Faith,Wall of Fire,Destructive Wave,Flame Strike}} | |||
{{#arraydefine:trickerySpells|Charm Person,Disguise Self,Mirror Image,Pass Without Trace,Bestow Curse,Fear,Dimension Door,Polymorph,Dominate Person,Seeming}} | |||
{{#arraydefine:knowledgeSpells|Command,Sleep,Calm Emotions,Hold Person,Slow,Speak with Dead,Confusion,Otiluke's Resilient Sphere,Otiluke's Resilient Sphere,Dominate Person,Telekinesis}} | |||
{{#arraydefine:natureSpells|Poison Spray,Produce Flame,Shillelagh,Thorn Whip,Speak with Animals,Animal Friendship,Barkskin,Spike Growth,Plant Growth,Sleet Storm,Dominate Beast,Grasping Vine,Insect Plague,Wall of Stone}} | |||
{{#arraydefine:tempestSpells|Thunderwave,Fog Cloud,Gust of Wind,Shatter,Call Lightning,Sleet Storm,Freedom of Movement,Ice Storm,Destructive Wave,Insect Plague}} | |||
{{#arraydefine:warSpells|Divine Favour,Shield of Faith,Magic Weapon,Spiritual Weapon,Spirit Guardians,Crusader's Mantle,Crusader's Mantle,Freedom of Movement,Stoneskin,Flame Strike,Hold Monster}} | |||
{{#vardefine: domainName | |||
| {{#arraysearch: lifeSpells|{{{name}}}|0|Life| | |||
{{#arraysearch: lightSpells|{{{name}}}|0|Light| | |||
{{#arraysearch: trickerySpells|{{{name}}}|0|Trickery| | |||
{{#arraysearch: knowledgeSpells|{{{name}}}|0|Knowledge| | |||
{{#arraysearch: natureSpells|{{{name}}}|0|Nature| | |||
{{#arraysearch: tempestSpells|{{{name}}}|0|Tempest| | |||
{{#arraysearch: warSpells|{{{name}}}|0|War| | |||
}} | |||
}} | |||
}} | |||
}} | |||
}} | |||
}} | |||
}} | |||
}} | |||
{{#vardefine:saveShort|{{#switch: {{{save|{{!}}}}} | {{#vardefine:saveShort|{{#switch: {{{save|{{!}}}}} | ||
| STR | | STR | ||
Line 17: | Line 41: | ||
}} }} | }} }} | ||
<tr> | <tr> | ||
<td>{{ | <td>{{SAI|{{{spell}}}|{{{name}}}|w=30|c={{#if:{{{conc|}}}| 20 | }}|r={{#if:{{{ritual|}}}|16}}}}</td> | ||
<td> | <td>{{User:Toancaro/Template:Class|{{#var:domainName|}}}}</td> | ||
<td>{{User:Toancaro/Template:Class|{{{spell school|}}}}}</td> | <td>{{User:Toancaro/Template:Class|{{{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: {{{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 49: | Line 71: | ||
<noinclude> | <noinclude> | ||
{{User:Toancaro/ | {{User:Toancaro/Cleric/Template:ExtraSpellTable/Header}} | ||
{{User:Toancaro/ | {{User:Toancaro/Cleric/Template:ExtraSpellTable/Row|name=Otiluke's Resilient Sphere|spell=Otiluke's Resilient Sphere|classes=Bard, Cleric, Druid, Paladin, Ranger|spell school=Evocation|description=Heal a creature you can touch.|range=self}} | ||
{{User:Toancaro/ | {{User:Toancaro/Cleric/Template:ExtraSpellTable/Footer}} | ||
</noinclude> | </noinclude> |