Difference between revisions of "Template:Hover"

From Dream Cancel Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{HoverImage|no|{{{1|qcf+A}}}|{{{2|236A}}}}}
{{#if:{{{style|}}}|<div style="{{{style}}}">}}
<noinclude>
<div class="hoverbox">
<div class="hoveritem selected">
{{{1}}}</div>
<div class="hoveritem">
{{{2}}}</div></div>{{#if:{{{style|}}}|</div>}}<noinclude>
==Usage==
==Usage==
Calls to [[Template:HoverImage]] to display something then the next thing when the mouse hovers over the former. Mostly meant to switch between numpad and qcf notations and satisfy both sides.
A more general version of [[Template:HoverImage]] where both items displayed are anything at all rather than strictly images. Mostly meant to switch between numpad and qcf notations and satisfy both needs.


==Examples==
==Examples==

Revision as of 17:12, 26 August 2022

{{{1}}}
{{{2}}}

Usage

A more general version of Template:HoverImage where both items displayed are anything at all rather than strictly images. Mostly meant to switch between numpad and qcf notations and satisfy both needs.

Examples

<div>Kula's {{Hover|dp+C|623C}} is trash.</div>

Results in

Kula's
dp+C
623C
is trash.


Note that the <div> ... </div> tags are needed for it to display properly. Without them, there's unwanted indentation :

Kula's

dp+C
623C

is trash.

Best is to put those tags around the entire text instead of going over each instance of using the template.