(use span instead of div to avoid weird line breakages in-text) |
mNo edit summary |
||
Line 1: | Line 1: | ||
<span class='tooltip'>{{{1}}}<span class='tooltiptext' style="z-index:200; top:18px; left:10px; padding: 3px; display:inline;>{{{2}}}</span></span><noinclude> | <span class='tooltip'>{{{1}}}<span class='tooltiptext' style="z-index:200; top:18px; left:10px; padding: 3px; display:inline;">{{{2}}}</span></span><noinclude> | ||
<!-- Taken from https://tgstation13.org/wiki --> | <!-- Taken from https://tgstation13.org/wiki --> | ||
Latest revision as of 09:51, 25 December 2023
{{{1}}}{{{2}}}
Usage
This allows to show a tooltip when user mouse hovers the text:
{{Tooltip|Bread|Microwave 1 Dough}}
Which will render like:
BreadMicrowave 1 Dough