From The Mana World
m (correcting category, needs documentation) |
Nelson6e65 (talk | contribs) (add: doc) |
||
Line 1: | Line 1: | ||
{{#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>{{#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:General Template]]</noinclude> | <noinclude> | ||
{{Template:{{PAGENAME}}/doc}} | |||
[[Category:General Template]] | |||
</noinclude> |
Revision as of 06:27, 12 March 2015
This template allows creating a text in the box of the mouse-over effect. Check http://en.wikiversity.org/wiki/Help:Mouse-over and http://en.wikiversity.org/wiki/Template:H:title. It takes two parameters (link=yes/no and dotted=yes/no), and creates underlined text with a hover box for many modern browsers supporting CSS.
Usage:
Copy the following code into your page:
-
{{H:title|link=no|dotted=yes|This is the mouse-over text|Hover here}}
This will create:
Hover here
.