Template:SpellHoverLink: Difference between revisions
m Maergoth moved page Template:Spellhoverlink to Template:SpellHoverLink |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{1|}}}| | <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> | ||
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.