Template:SpellHoverLink: Difference between revisions
Created page with "<includeonly><span class="ih spellhover">[[{{{1}}}|{{{2|{{{1}}}}}}]]</span></includeonly><noinclude> Creates a spell link that uses the existing AjaxHoverHelper hover pipeline. Usage: <pre> {{SpellHoverLink|Smite}} {{SpellHoverLink|Complete Heal|CH}} </pre> This intentionally uses the existing <code>ih</code> hover class so spell hovers reuse the item hover behavior. Category:Templates </noinclude>" |
No edit summary Tag: Manual revert |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#if:{{{1|}}}|{{#invoke:SpellHover|link|{{{1}}}|{{{2|}}}|class={{{class|}}}}}| }}</includeonly><noinclude> | ||
Creates a spell link | 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 | 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 12: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.