{| class="wikitable infobox" style="max-width:250px;" |+'''{{{name|{{PAGENAME}}}}}''' |- | colspan="2" align="center"| {{#if:{{{image|}}} |{{{image}}} |[[Special:Upload|Please add
an image!]]}} |- !Level | align="center"| {{#if:{{{level|}}} |{{{level}}} |Unknown [{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]}} |- ![[Spellbook]] | align="center" | {{#switch:{{lc:{{{spellbook|}}}}} |normal = [[Standard spells|Normal]] |ancient = [[Ancient Magicks|Ancient]] |lunar = [[Lunar spells|Lunar]] |arceuus = [[Arceuus spellbook|Arceuus]] |all = [[Standard spells|Normal]]
[[Lunar spells|Lunar]]
[[Ancient Magicks|Ancient]]
[[Arceuus spellbook|Arceuus]] |#default = Unknown [{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]}} |- !Type | align="center" | {{#switch:{{lc:{{{type|}}}}} |combat = [[Combat spells|Combat]] |teleport = [[Teleportation spells|Teleport]] |skilling = [[Alchemy spells|Skilling]] |enchantment = [[Enchantment spells|Enchantment]] |#default = Unknown [{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]}} |- ![[Experience]] | align="center"| {{#if:{{{exp|}}} |{{{exp}}} |Unknown [{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]}} |- {{#ifeq:{{lc:{{{type}}}}}|combat |{{#switch:{{lc:{{{spellbook}}}}}|normal|ancient= {{!}}- {{#ifeq:{{{element|}}}|N/A|| ![[Attack style|Element]] {{!}} align="center"{{!}} {{#if:{{{element|}}} |[[{{{element}}} spells{{!}}{{{element}}}]] |Unknown [{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]}} {{!}}- ![[Magic Damage|Damage]] {{!}} align="center"{{!}} {{#if:{{{damage|}}} |{{{damage}}} |Unknown [{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]}} {{!}}- }} }} }} ![[Runes]] | align="center"| {{#if:{{{cost|}}} |{{{cost}}} |Unknown [{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]}} |- {{#if:{{{quest|}}}{{#switch:{{{spellbook}}}|Ancient|Lunar|}}| ![[Quest]] {{!}} align="center"{{!}} {{#if:{{{quest|}}} |{{{quest|}}}{{#switch:{{{spellbook}}}|Ancient=
(plus [[Desert Treasure]])|Lunar=
(plus [[Lunar Diplomacy]])}} |{{#switch:{{{spellbook}}}|Ancient=[[Desert Treasure]]|Lunar=[[Lunar Diplomacy]]|}}}} {{!}}- }} {{#if:{{{lectern|}}}| ![[Lectern]] {{!}} align="center"{{!}} {{{lectern}}} {{!}}- }} {{#ifeq:{{lc:{{{anim}}}}}|no|| {{!}}- {{!}}colspan="2" style="text-align:center;"{{!}}{{#if:{{{anim|}}}| {{#if:{{{animresize|}}}|{{#iferror:{{#expr:{{#replace:{{{animresize|}}}|px}}}}|{{{anim}}}|{{Gifresize|{{{anim}}}|{{{animresize}}}}}}}
'''Click animation for full size'''|[[File:{{#replace:{{{anim}}}|File:}}]]}}|{{Mainonly|[[Special:Upload|Please add an animation!]]}}}}}} |} {{mainonly|[[Category:Spells]]}}[[Template:Infobox spell|[view]]]
{{PreloadPage}}{{mainonly|{{#if:{{{image|}}}||[[Category:Needs image]]}}{{ifincl|standard|{{lc:{{{spellbook}}}}}|[[Category:Standard spells]]|}}{{ifincl|normal|{{lc:{{{spellbook}}}}}|[[Category:Standard spells]]|}}{{ifincl|lunar|{{lc:{{{spellbook}}}}}|[[Category:Lunar spells]]|}}{{ifincl|necromancy|{{lc:{{{spellbook}}}}}|[[Category:Necromancy spells]]|}}{{ifincl|ancient|{{lc:{{{spellbook}}}}}|[[Category:Ancient Magicks]]|}}}} {{/doc}}