Difference between revisions of "Template:Hover"
Jump to navigation
Jump to search
Franck Frost (talk | contribs) |
Franck Frost (talk | contribs) |
||
Line 1: | Line 1: | ||
{{HoverImage|no|{{{1}}}|{{{2}}}}} | {{HoverImage|no|{{{1|qcf+A}}}|{{{2|236A}}}}} | ||
<noinclude> | <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. | 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== | |||
<pre><div>Kula's {{Switch|dp+C|623C}} is trash.</div></pre> | |||
Results in | |||
<div>Kula's {{Switch|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 unwanted indentation : | |||
Kula's {{Switch|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. | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 17:02, 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 {{Switch|dp+C|623C}} is trash.</div>
Results in
Kula's Template:Switch is trash.
- Note that the <div> ... </div> tags are needed for it to display properly. Without them, there's unwanted indentation :
Kula's Template:Switch is trash.
- Best is to put those tags around the entire text instead of going over each instance of using the template.