Difference between revisions of "Template:Hover"
Jump to navigation
Jump to search
Franck Frost (talk | contribs) m (Franck Frost moved page Template:Switch to Template:Hover: Better name) |
Franck Frost (talk | contribs) |
||
Line 5: | Line 5: | ||
==Examples== | ==Examples== | ||
<pre><div>Kula's {{ | <pre><div>Kula's {{Hover|dp+C|623C}} is trash.</div></pre> | ||
Results in | Results in | ||
<div>Kula's {{ | <div>Kula's {{Hover|dp+C|623C}} is trash.</div> | ||
<br> | <br> | ||
:: Note that the '''<nowiki><div> ... </div></nowiki>''' tags are needed for it to display properly. Without them, there's unwanted indentation : | :: Note that the '''<nowiki><div> ... </div></nowiki>''' tags are needed for it to display properly. Without them, there's unwanted indentation : | ||
Kula's {{ | Kula's {{Hover|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. | :: Best is to put those tags around the entire text instead of going over each instance of using the template. | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 17:05, 26 August 2022
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.
Examples
<div>Kula's {{Hover|dp+C|623C}} is trash.</div>
Results in
Kula's
is trash.
- Note that the <div> ... </div> tags are needed for it to display properly. Without them, there's unwanted indentation :
Kula's
is trash.
- Best is to put those tags around the entire text instead of going over each instance of using the template.