Template:SpellBox: Difference between revisions

From Melvor Idle
(Center align icon)
(Remove dependency on Variables extension)
Line 3: Line 3:
Based on [[Template:Spell]], but pulling data from [[Module:Magic/data]] filtered through [[Module:Magic]]
Based on [[Template:Spell]], but pulling data from [[Module:Magic/data]] filtered through [[Module:Magic]]


<onlyinclude><includeonly>{{#vardefine:spell|{{{1|{{PAGENAME}}}}}}}{| class="wikitable infobox"
<onlyinclude><includeonly>{| class="wikitable infobox"
|-  
|-  
! {{#var:spell}}
! {{{1|{{PAGENAME}}}}}
|-
|-
| style="text-align:center;" | {{#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>

Revision as of 23:25, 7 October 2022

Surge III
Surge III
Aurora ID: melvorF:SurgeIII
Requirements:
Error creating thumbnail: File missing
Level 65

Book of Eli Equipped
Description:
+15% Ranged Evasion
-0.3s Attack Interval
Runes:
5Air Rune3Light Rune

Based on Template:Spell, but pulling data from Module:Magic/data filtered through Module:Magic