Template:Hover/Documentation

From Dream Cancel Wiki
< Template:Hover
Revision as of 17:15, 26 August 2022 by Franck Frost (talk | contribs) (Created page with "==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== <pre><div>Kula's {{Hover|dp+C|623C}} is trash.</div></pre> Results in <div>Kula's {{Hover|dp+C|623C}} is trash.</div> <br> :: Note that the '''<nowiki><div> ... </div></nowiki>''' tags are needed for it to display properly. Without them, there's...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.