Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Tooltip: Difference between revisions

Template page
(Created page with "<onlyinclude><span class='tooltip'>{{{1}}}<div class='tooltiptext'>{{{2}}}</div></span></onlyinclude> <!-- Taken from https://tgstation13.org/wiki --> == Usage == This allows to show a tooltip when user mouse hovers the text: <pre> {{Tooltip|bread|Yes this is bread File:Baguette.png.}} </pre> Which will render like: {{Tooltip|bread|Yes this is bread File:Baguette.png.}} Category:Templates")
 
No edit summary
Line 1: Line 1:
<onlyinclude><span class='tooltip'>{{{1}}}<div class='tooltiptext'>{{{2}}}</div></span></onlyinclude>
<onlyinclude><div class='tooltip' style="display:inline;">{{{1}}}<div class='tooltiptext' style="background: #1b1b1f; z-index:200; top:15px; left:10px; padding: 3px; display:inline;">{{{2}}}</div></div></onlyinclude>
<!-- Taken from https://tgstation13.org/wiki -->
<!-- Taken from https://paradisestation.org/wiki -->


== Usage ==
== Usage ==

Revision as of 16:12, 3 December 2023

{{{1}}}
{{{2}}}

Usage

This allows to show a tooltip when user mouse hovers the text:

{{Tooltip|bread|Yes this is bread [[File:Baguette.png]].}}

Which will render like:

bread
Yes this is bread .