From The Mana World
m (correcting category, needs documentation)
m (Fixed newline)
 
(One intermediate revision by one other user not shown)
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>
<noinclude>[[Category:General Template]]</noinclude>
{{Template:{{PAGENAME}}/doc}}
[[Category:General Template]]
</noinclude>

Latest revision as of 23:37, 14 April 2015

50px-Template-info.png Template documentation:

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.