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 (Undo revision 161936 by Altair (talk))
(Tag: Undo)
Line 1: Line 1:
<includeonly>{{#css:
+
<includeonly><abbr title="{{{2| {{{HoverText}}} }}}">{{{1| {{{Link}}} }}}</abbr></includeonly><noinclude>
u.dotted{
+
This is the "HoverText" template. It uses <pre><abbr title= "...">...</abbr></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>

Revision as of 23:27, 16 June 2021

This is the "HoverText" template. It uses

<abbr title= "...">...</abbr>

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