From The Mana World
m (<noinclude>Category:Template documentation</noinclude>)
m (Fixed newline)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>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
<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>
 
{{Template:{{PAGENAME}}/doc}}
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.</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>
[[Category:General Template]]
 
</noinclude>
<noinclude>[[Category:Template documentation]]</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.