Template:Hover: Difference between revisions
Template page
More actions
Created page with "</noinclude><includeonly>{{#ifeq:{{{link}}}|yes|[[{{{2}}}|<span title="{{{1}}}" {{#ifeq:{{{dotted|yes}}}|no||style="border-bottom:1px dotted"}}>{{{2}}}</span>]]|<span title="{..." |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{{link}}}|yes|[[{{{2}}}|<span title="{{{1}}}" {{#ifeq:{{{dotted|yes}}}|no||style="border-bottom:1px dotted"}}>{{{linkname}}}</span>]]|<span title="{{{1}}}" {{#ifeq:{{{dotted|yes}}}|no||style="border-bottom:1px dotted"}}>{{{2}}}</span>}}</includeonly> | |||
<noinclude> | |||
This template is taken from wikipedia and is used to create popups when hovering over over text. | |||
Using: Template:Hover | |||
'''The default is a dotted underline''' | |||
{{Hover|This is mouse-over text|Hover here}} | |||
:''Syntax:'' <nowiki>{{Hover|This is mouse-over text|Hover here}}</nowiki> | |||
{{Hover|link=yes|This link will take you to the Status Effects Page|Status Effects|linkname=Test}} | |||
:''Syntax:'' <nowiki>{{Hover|link=yes|This link will take you to the Status Effects Page|Status Effects|linkname=Test}}</nowiki> | |||
</noinclude> |
Latest revision as of 22:12, 15 June 2020
This template is taken from wikipedia and is used to create popups when hovering over over text.
Using: Template:Hover
The default is a dotted underline
Hover here
- Syntax: {{Hover|This is mouse-over text|Hover here}}
- Syntax: {{Hover|link=yes|This link will take you to the Status Effects Page|Status Effects|linkname=Test}}