Template:Hover: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{{link}}}|yes|[[{{{2}}}|<span title="{{{1}}}" {{#ifeq:{{{dotted|yes}}}|no||style="border-bottom:1px dotted"}}>{{{ | <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> | <noinclude> | ||
Line 11: | Line 11: | ||
:''Syntax:'' <nowiki>{{Hover|This is mouse-over text|Hover here}}</nowiki> | :''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| | {{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| | :''Syntax:'' <nowiki>{{Hover|link=yes|This link will take you to the Status Effects Page|Status Effects|linkname=Test}}</nowiki> | ||
</noinclude> | </noinclude> |
Revision as of 21:55, 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}}