From The Mana World
(Creating template to allow creating a text in the box that appears in the mouse-over effect)
 
m (Fixed newline)
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
<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


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>
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>
<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>

Revision as of 22:19, 20 May 2014

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.