Template:5e Spell Data: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
(Created page with "---- '''Spell data:'''<br /> <div style="overflow:auto; width:100%; font-size:0.8em;"> {{#cargo_query: tables=5e_Spell,Pages_Info |join on=5e_Spell.Page_Name=Pages_Info.Page_N...")
 
mNo edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
----
----
'''Spell data:'''<br />
<div style="display:block; overflow:auto; max-width:90vw; padding:0 0.5em; font-size:0.75rem;">
<div style="overflow:auto; width:100%; font-size:0.8em;">
'''''Spell data ''''' <span class="mw-customtoggle-myDivision-SpellData"><sup>+</sup></span>
{{#cargo_query:
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision-SpellData>{{#cargo_query:
tables=5e_Spell,Pages_Info
tables=5e_Spell,Pages_Info
|join on=5e_Spell.Page_Name=Pages_Info.Page_Name
|join on=5e_Spell._pageName=Pages_Info._pageName
|where=5e_Spell.Spell_Name={{#if: {{{1|}}}|{{{1}}}|5e_Spell.Page_Name|}}
|where=5e_Spell.Spell_Name='{{#if: {{{1|}}}|{{{1}}}|{{PAGENAME}} }}'
|fields=CONCAT( '[[', 5e_Spell._pageName, '|', 5e_Spell.Spell_Name, ']]' )=Spell,5e_Spell.Level,5e_Spell.School,5e_Spell.Action_Type=Casting,5e_Spell.Spell_Range=Range,5e_Spell.Component=VSM,5e_Spell.Valuable_Component=VC,5e_Spell.Consumable_Component=CC,5e_Spell.Casters, 5e_Spell.Canon_Spell=Canon,Pages_Info.Sources
|fields=CONCAT( '[[', 5e_Spell._pageName, '|', 5e_Spell.Spell_Name, ']]' )=Spell,5e_Spell.Level,5e_Spell.School,5e_Spell.Action_Type=Casting,5e_Spell.Spell_Range=Range,5e_Spell.Component=VSM,5e_Spell.Valuable_Component=VC,5e_Spell.Consumable_Component=CC,5e_Spell.Casters, 5e_Spell.Canon_Spell=Canon,Pages_Info.Sources
|order by=5e_Spell.Sort_Text
|order by=5e_Spell.Sort_Text
Line 11: Line 12:
|format=table
|format=table
|more results text=More Spells
|more results text=More Spells
}}</div>
}}</div><!--collapsable--></div></div></includeonly><noinclude>
===Syntax===
<pre>{{5e Spell Data|optSpellName}}</pre>
 
'''Note:''' For spell names with an apostrophe ('), you must double the apostrophe (<nowiki>''</nowiki>).
 
===Add'l Entries===
<pre>|hid= <!--blank or true--></pre>
 
{{5e Spell Data}}
 
{{5e Spell Data|Acid Arrow}}
 
[[Category:5e Templates]]
</noinclude>

Latest revision as of 06:58, 2 November 2022

Syntax

{{5e Spell Data|optSpellName}}

Note: For spell names with an apostrophe ('), you must double the apostrophe ('').

Add'l Entries

|hid= <!--blank or true-->



Spell data +

No results



Spell data +

Spell Level School Casting Range VSM VC CC Casters Canon Sources
Acid Arrow 2 Evocation Action 90 feet V S M Eldritch Knight Wizard Yes SRD-OGL v5.1