Template:Hover: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Categorizing)
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>This template takes two parameters (link=yes/no and dotted=yes/no), and creates underlined text with a hover box for many modern browsers supporting CSS.
<includeonly><span class="explain" title="{{#replace:{{{2|}}}|"|&#34;}}">{{{1}}}</span></includeonly><noinclude>
This template creates underlined text with a hover tooltip. The first parameter is the main text and the second parameter is the hover text.


</noinclude><includeonly>{{#ifeq:{{{link}}}|yes|[[{{{2}}}|<span title="{{{1}}}" {{#ifeq:{{{dotted|yes}}}|no||style="border-bottom:1px dotted"}}>{{{2}}}</span>]]|<span title="{{{1}}}" {{#ifeq:{{{dotted|yes}}}|no||style="border-bottom:1px dotted"}}>{{{2}}}</span>}}</includeonly><noinclude>[[Category:Formatting templates]]</noinclude>
[[Category:Formatting templates]]</noinclude>

Latest revision as of 11:26, September 16, 2022

This template creates underlined text with a hover tooltip. The first parameter is the main text and the second parameter is the hover text.