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
from https://ark.wiki.gg/wiki/Template:Tooltip
 
wgg>Cadaei
dotted line from 2px to 1px
Line 1: Line 1:
<includeonly><onlyinclude><span style{{=}}"cursor: help; border-bottom: 2px dotted #397d75;" title{{=}}"{{{2}}}">{{{1}}}</span></onlyinclude></includeonly><noinclude>{{Doc}}</noinclude>
<includeonly><onlyinclude><span style{{=}}"cursor: help; border-bottom: 1px dotted #397d75;" title{{=}}"{{{2}}}">{{{1}}}</span></onlyinclude></includeonly><noinclude>{{Doc}}</noinclude>

Revision as of 16:23, 9 July 2023

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.