Template:Tooltip/doc

From Songs of Syx Wiki
Revision as of 00:19, 22 November 2021 by Zippy (talk | contribs) (Created page with "{{documentation |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.'' |<code><nowiki>{{tooltip|<TEXT>|<TOOLTIP_TEXT>}}</nowiki></code> |Typing <code><nowiki>{{tooltip|Gladiator Money|...and this is where the text is hidin...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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
Other templates can be used inside a tooltip template, therefore {{tooltip|{{color|This colorful bold text.|orange}}|...is a beauty to look at, ain't it?!}}
...produces this: This colorful bold text.