Template:Hover: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
No edit summary
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:{{{1}}}|"|&#34;}}">{{{2}}}</span></includeonly><noinclude>
This template creates underlined text with a hover box. The first parameter is the hover text and the second is the underlined text.


</noinclude><includeonly>{{#ifeq:{{{link}}}|yes|[[{{{2}}}|<span title="{{{1}}}" {{#ifeq:{{{dotted|yes}}}|no||style="border-bottom:1px dotted"}}>{{{3|{{{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>

Revision as of 16:24, March 13, 2021

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