Template:Tooltip: Difference between revisions

From Songs of Syx Wiki
Jump to navigation Jump to search
(Created page with "<includeonly><!--<abbr style="border-bottom:1px dotted" title="{{#tag:nowiki|{{{2}}}}}">{{{1}}}</abbr>--><span style="border-bottom: 1px dotted; cursor: help;" title="{{{2}}}"...")
 
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!--<abbr style="border-bottom:1px dotted" title="{{#tag:nowiki|{{{2}}}}}">{{{1}}}</abbr>--><span style="border-bottom: 1px dotted; cursor: help;" title="{{{2}}}">{{{1}}}</span></includeonly>
<span id="basic-tooltip" style="border-bottom: 1px dotted;" title="{{{2}}}">{{{1}}}</span><noinclude>{{Tooltip/doc}}[[Category:Templates]]</noinclude>

Latest revision as of 01:24, 22 November 2021

{{{1}}}

Template Documentation

Description

This template allows text to provide a tooltip. To be more specific, text will have a dotted underline, and when the mouse hovers over it, it will display even more text. Note: This template may not work with some text formats. In that case, a different method of adding a tooltip will need to be used.

Syntax

{{tooltip|<TEXT>|<TOOLTIP_TEXT>}}

Examples

Typing {{tooltip|Gladiator Money|...and this is where the text is hiding.}} produces this: Gladiator Money
Typing {{tooltip|{{color|This colorful bold text.|orange}}|...is a beauty to look at, ain't it?!}} produces this: This is a color template.