-The Dream Cancel Wiki has successfully upgraded it's wiki software and editing has returned. Tables for data have returned.

Template:Hover/Documentation: Difference between revisions

From Dream Cancel Wiki
Jump to navigation Jump to search
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..."
 
Franck Frost (talk | contribs)
No edit summary
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.