Please note that some information on this wiki is still based on the demo version.
If you notice any errors, feel free to correct them.

Template:Tooltip: Difference between revisions

From Super Fantasy Kingdom Official Wiki
wgg>Cadaei
cat
using css class instead of inline style
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly><onlyinclude><span style{{=}}"cursor: help; border-bottom: 1px dotted #397d75;" title{{=}}"{{{2}}}">{{{1}}}</span></onlyinclude></includeonly><noinclude>
<includeonly><onlyinclude><span class{{=}}"tooltip-decoration" title{{=}}"{{{2}}}">{{{1}}}</span></onlyinclude></includeonly><noinclude>
{{Doc}}
{{Doc}}
[[category:formatting templates]]</noinclude>
[[category:formatting templates]]</noinclude>

Latest revision as of 22:28, 30 October 2025

File:Template-info.svg Documentation Edit this documentation at Template:Tooltip/doc.
(edit • history • purge)

Template to easily add a tooltip

Usage

{{Tooltip|Text shown normally|Text shown on hover}}

Example

{{Tooltip|Bread is a good food|It gives 3 XP for all units}}.

Result

Bread is a good food.