Jump to content

Template:SpellHoverLink: Difference between revisions

From EverQuest Legends Wiki
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
Line 1: Line 1:
<includeonly><span class="merchant-spell-prefix">Spell: </span>{{SpellHoverLink|{{{spell|}}}}}</includeonly><noinclude>
<includeonly>{{#if:{{{1|}}}|{{#invoke:SpellHover|link|{{{1}}}|{{{2|}}}|class={{{class|}}}}}|&nbsp;}}</includeonly><noinclude>
Adapter used by merchant-page JavaScript to turn merchant spell-sale links into spell hover links while preserving the visible "Spell:" merchant-list prefix.
Creates a spell link with an inline mouseover tooltip generated from the spell's detailed page.
 
Usage:
 
<pre>
{{SpellHoverLink|Smite}}
{{SpellHoverLink|Complete Heal|CH}}
{{SpellHoverLink|Smite|class=Cleric}}
</pre>
 
This uses the same inline hover structure as item pages: <code>hbdiv</code> plus <code>span.hb</code>.
 
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 13:11, 22 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.