Editing User:Toancaro/Druid/Template:ExtraSpellTable

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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><nowiki
<includeonly><nowiki
/>{{#arraydefine: allSubclassSpells | Animate Dead,Barkskin,Blight,Blindness,Blur,Bone Chill,Call Lightning,Cloudkill,Cone of Cold,Confusion,Conjure Elemental,Conjure Minor Elemental,Contagion,Darkness,Daylight,Detect Thoughts,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: allSubclassSpells | Disguise Self,Misty Step,Fear}}<nowiki


/>{{#arrayslice: subclassSpell1 | allSubclassSpells | 0 | 25}}<nowiki
/>{{#arrayslice: subclassSpell1 | allSubclassSpells | 0 | 25}}<nowiki
Line 6: Line 6:
/>{{#vardefine: spellNamesQuery1 | {{#replace:{{#var: query1}} | OR | <nowiki/> <nowiki/>OR<nowiki/> <nowiki/>}}}}<nowiki
/>{{#vardefine: spellNamesQuery1 | {{#replace:{{#var: query1}} | OR | <nowiki/> <nowiki/>OR<nowiki/> <nowiki/>}}}}<nowiki


/>{{#arrayslice: subclassSpell2 | allSubclassSpells | 25 | 25}}<nowiki
/>{{#vardefine: spellNamesQuery | {{#var: spellNamesQuery1}} }}<nowiki
/>{{#vardefine: query2 | {{#arrayprint: subclassSpell2 | OR | @ | _pageName = "@" }}}}<nowiki
/>{{#vardefine: finalQuery | ({{#var: spellNamesQuery}}) AND classes HOLDS NOT "Ranger" AND {{#if: {{{where|}}} | {{{where}}} | TRUE}} }}<nowiki
/>{{#vardefine: spellNamesQuery2 | {{#replace:{{#var: query2}} | OR | <nowiki/> <nowiki/>OR<nowiki/> <nowiki/>}}}}<nowiki
 
/>{{#vardefine: spellNamesQuery | {{#var: spellNamesQuery1}} OR {{#var: spellNamesQuery2}} }}<nowiki
/>{{#vardefine: finalQuery | ({{#var: spellNamesQuery}}) AND classes HOLDS NOT "Druid" AND {{#if: {{{where|}}} | {{{where}}} | TRUE}} }}<nowiki


/>{{#cargo_query:
/>{{#cargo_query:
Line 17: Line 13:
| fields=_pageName=spell, name, classes, description, spell_school, action_type=casttime, damage_type=damage, is_concentration=conc, is_ritual=ritual, spell_level=level, can_upcast=upcastable, spell_range=range, aoe, aoe_size=area, has_attack_roll=attack, damage_save=save, condition_duration=duration
| fields=_pageName=spell, name, classes, description, spell_school, action_type=casttime, damage_type=damage, is_concentration=conc, is_ritual=ritual, spell_level=level, can_upcast=upcastable, spell_range=range, aoe, aoe_size=area, has_attack_roll=attack, damage_save=save, condition_duration=duration
| where={{#var: finalQuery }}
| where={{#var: finalQuery }}
| intro={{User:Toancaro/Druid/Template:ExtraSpellTable/Header}}
| intro={{User:Toancaro/Ranger/Template:ExtraSpellTable/Header}}
| outro={{User:Toancaro/Druid/Template:ExtraSpellTable/Footer}}
| outro={{User:Toancaro/Ranger/Template:ExtraSpellTable/Footer}}
| format=template
| format=template
| template=User:Toancaro/Druid/Template:ExtraSpellTable/Row
| template=User:Toancaro/Ranger/Template:ExtraSpellTable/Row
| named args=yes
| named args=yes
}}</includeonly><noinclude>{{User:Toancaro/Druid/Template:ExtraSpellTable}}</noinclude>
}}</includeonly><noinclude>{{User:Toancaro/Ranger/Template:ExtraSpellTable}}</noinclude>
Contributions are considered to be licensed under CC BY-NC-SA 4.0 and (where possible) CC BY-SA 4.0. See Copyrights for details. Per our Content Rules, you are promising that any new text you add was written by yourself, or is available under a license that permits its inclusion in bg3.wiki. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)