Jump to content

Template:SpellHoverLink: Difference between revisions

From EverQuest Legends Wiki
No edit summary
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|<span class="ih spellhover">[[{{{1}}}|{{{2|{{{1}}}}}}]]</span>|&nbsp;}}</includeonly><noinclude>
<includeonly>{{#if:{{{1|}}}|{{#invoke:SpellHover|link|{{{1}}}|{{{2|}}}|class={{{class|}}}}}|&nbsp;}}</includeonly><noinclude>
Creates a spell link that reuses the existing AjaxHoverHelper hover pipeline.
Creates a spell link with an inline mouseover tooltip generated from the spell's detailed page.


Usage:
Usage:
Line 7: Line 7:
{{SpellHoverLink|Smite}}
{{SpellHoverLink|Smite}}
{{SpellHoverLink|Complete Heal|CH}}
{{SpellHoverLink|Complete Heal|CH}}
{{SpellHoverLink|Smite|class=Cleric}}
</pre>
</pre>


This intentionally uses the existing <code>ih</code> hover class so spell hovers reuse the item hover behavior.
This uses the same inline hover structure as item pages: <code>hbdiv</code> plus <code>span.hb</code>.


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 19:18, 21 May 2026

Creates a spell link with an inline mouseover tooltip generated from the spell's detailed page.

Usage:

{{SpellHoverLink|Smite}}
{{SpellHoverLink|Complete Heal|CH}}
{{SpellHoverLink|Smite|class=Cleric}}

This uses the same inline hover structure as item pages: hbdiv plus span.hb.