791
editsMore actions
User:Toancaro/Cleric/Template:ExtraSpellTable (edit)
Revision as of 04:19, 6 January 2024
, 6 Januaryno edit summary
(Created page with "<includeonly>{{#cargo_query: tables = spells | fields=_pageName=spell,name,classes,description,spell_school,damage_type=damage | where={{{where|spell_level="0"}}} | intro= <table class="wikitable sortable" style="width:100%;"> <tr> <th style="min-width: 150px">Name</th> <th style="min-width: 120px">Spell School</th> <th style="min-width: 80px">Classes</th> <th>Damage Type</th> <th>Description</th> </tr> | outro=</table> | format=template | template=User:Toancar...") |
mNo edit summary |
||
Line 17: | Line 17: | ||
| named args=yes | | named args=yes | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{User:Toancaro/Cleric/Template:ExtraSpellTable}} | {{#arraydefine: extraSpells | Burning Hands, Charm Person, Disguise Self, Sleep, Speak with Animals, Animal Friendship, Poison Spray, Shillelagh, Thorn Whip, Thunderwave, Fog Cloud, Divine Favour, Shield of Faith}} | ||
{{#vardefine: query | {{#arrayprint: extraSpells | OR | @ | _pageName = "@" }}}} | |||
{{#vardefine: spellNamesQuery | {{#replace:{{#var: query}} | OR | <nowiki/> <nowiki/>OR<nowiki/> <nowiki/>}}}} | |||
{{User:Toancaro/Cleric/Template:ExtraSpellTable | |||
| where=spell_level="0" AND ({{#var: spellNamesQuery}}) | |||
}} | |||
</noinclude> | </noinclude> |