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 dotted line from 2px to 1px |
using css class instead of inline style |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude><span | <includeonly><onlyinclude><span class{{=}}"tooltip-decoration" title{{=}}"{{{2}}}">{{{1}}}</span></onlyinclude></includeonly><noinclude> | ||
{{Doc}} | |||
[[category:formatting templates]]</noinclude> | |||
Latest revision as of 22:28, 30 October 2025
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.


