Template:SpellBox: Difference between revisions

From Melvor Idle
(Use infobox class)
(Undo revision 77405 by Ricewind (talk))
Tag: Undo
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{SpellBox|Surge III}}
{{SpellBox|Surge IV}}


Based on [[Template:Spell]], but pulling data from [[Module:Magic/data]] filtered through [[Module:Magic]]
Infobox template for all spells, pulling data from [[Module:Magic]]


<onlyinclude><includeonly>{{#vardefine:spell|{{{1|{{PAGENAME}}}}}}}{| class="wikitable infobox"
<onlyinclude><includeonly>{| class="wikitable infobox"
|-  
|-  
! {{#var:spell}}
! {{#invoke:Magic|getExpansionIcon|{{{1|{{PAGENAME}}}}}}}{{{1|{{PAGENAME}}}}}
|-
|-
| {{#invoke:Magic|getSpellStat|{{#var:spell}}|bigIcon}}
| style="text-align:center;" | {{#invoke:Magic|getSpellStat|{{{1|{{PAGENAME}}}}}|bigIcon}}
|-
|-
| '''{{#invoke:Magic|getSpellStat|{{#var:spell}}|type}} ID''': {{#invoke:Magic|getSpellStat|{{#var:spell}}|id}}
| '''{{#invoke:Magic|getSpellStat|{{{1|{{PAGENAME}}}}}|type}} ID''': {{#invoke:Magic|getSpellStat|{{{1|{{PAGENAME}}}}}|id}}
|-
|-
| '''Requirements:'''<br/>{{#invoke:Magic|getSpellStat|{{#var:spell}}|requirements}}
| '''Requirements:'''<br/>{{#invoke:Magic|getSpellStat|{{{1|{{PAGENAME}}}}}|requirements}}
{{#invoke:Magic|getOtherSpellBoxText|{{#var:spell}}}}
{{#invoke:Magic|getOtherSpellBoxText|{{{1|{{PAGENAME}}}}}}}
|-
|-
| '''Runes:'''
| '''Runes:'''
<div class="center">{{#invoke:Magic|getSpellStat|{{#var:spell}}|runes}}</div>
<div class="center">{{#invoke:Magic|getSpellStat|{{{1|{{PAGENAME}}}}}|runes}}</div>
|}{{#invoke:Magic|getSpellCategories|{{#var:spell}}}}</includeonly></onlyinclude>
|}{{#invoke:Magic|getSpellCategories|{{{1|{{PAGENAME}}}}}}}</includeonly></onlyinclude>

Latest revision as of 01:01, 11 July 2024

TotH.svg Surge IV
Surge IV
Aurora ID: melvorTotH:SurgeIV
Requirements:
Error creating thumbnail: File missing
Level 112

Book of the Ancients Equipped
Description:
+25% Ranged Evasion
-0.4s Attack Interval
Runes:
8Air Rune5Light Rune8Calamity Rune

Infobox template for all spells, pulling data from Module:Magic