Difference between revisions of "Template:Hover/Documentation"

From Dream Cancel Wiki
Jump to navigation Jump to search
(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...")
 
Line 1: Line 1:
==Usage==
==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.
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.

Revision as of 17:15, 26 August 2022

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.