Welcome to the DFO World Wiki. With many major updates since the release of DFO, many items are missing. Visit Item Database Project to learn more.
Please remember to click "show preview" before saving the page.
Thanks for the updated logo snafuPop!

Difference between revisions of "Template:HoverText"

From DFO World Wiki
Jump to: navigation, search
m (Undo revision 161935 by Altair (talk))
(Tag: Undo)
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#css:
+
<includeonly><span title="{{{2| {{{HoverText}}} }}}"><u style="border-bottom: 1px dashed #999; text-decoration: none;">{{{1| {{{Link}}} }}}</u></span></includeonly><noinclude>
u.dotted{
+
This is the "HoverText" template. It uses <pre><span title= "..."><u style="border-bottom: 1px dashed #999; text-decoration: none;">...</u></span></pre> to display a hovering textbox over a designated text.
  border-bottom: 1px dashed #999;
 
  text-decoration: none;
 
} }} {{MouseoverBox
 
  |Content=<small><p>{{{2| {{{HoverText}}} }}}</p></small>
 
  |Style=max-width:300px
 
  |Trigger=<u class="dotted">{{{1| {{{Link}}} }}}</u>
 
}}</includeonly><noinclude>
 
This is the "HoverText" template. It uses [[Template:MouseoverBox]] to display a hovering textbox over a designated object/text/image/link.
 
  
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
Line 15: Line 7:
 
|-
 
|-
 
! Link
 
! Link
| The object/text/image/link you want the HoverText to display over.
+
| The text you want the HoverText to display over.
 
|-
 
|-
 
! HoverText
 
! HoverText
| The hidden text that appears when hovering over an object/text/image/link.
+
| The hidden text that appears when hovering over text.
 
|}
 
|}
 +
 +
'''Note:''' Do not surround the parameters with curly brackets, square brackets, or quotation marks.
  
 
<hr>
 
<hr>
  
 
Examples:  
 
Examples:  
 +
<pre>{{HoverText|Gaebolg Punch|And here comes the giant fist!}}</pre>
  
<pre>{{HoverText|Link={{IconLink|Gaebolg Punch}}|HoverText="And here comes the giant fist!"}}</pre>
+
{{HoverText|Gaebolg Punch|And here comes the giant fist!}}
 
 
{{HoverText|Link={{IconLink|Gaebolg Punch}}|HoverText="And here comes the giant fist!"}}
 
 
 
<pre>{{HoverText|{{IconLink|Gaebolg Punch}}|"And here comes the giant fist!"}}</pre>
 
 
 
{{HoverText|{{IconLink|Gaebolg Punch}}|"And here comes the giant fist!"}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 04:34, 28 December 2022

This is the "HoverText" template. It uses

<span title= "..."><u style="border-bottom: 1px dashed #999; text-decoration: none;">...</u></span>

to display a hovering textbox over a designated text.

Argument Description
Link The text you want the HoverText to display over.
HoverText The hidden text that appears when hovering over text.

Note: Do not surround the parameters with curly brackets, square brackets, or quotation marks.


Examples:

{{HoverText|Gaebolg Punch|And here comes the giant fist!}}

Gaebolg Punch