Difference between revisions of "Template:Tip"
Jump to navigation
Jump to search
If you find a typo, inconsistency, or error, please sign up and help out the wiki! We can't do it without your help! :D Thank you!
(Created page with "<span class="tip-text" style="border-bottom: 1px dotted gray; cursor: help;" title="{{{tiptext|{{{2|{{{1|Tip.}}}}}}}}}">{{{text|{{{1|''Text.''}}}}}}</span><noinclude> == Usage...") |
|||
Line 1: | Line 1: | ||
− | <span class="tip-text" style="border-bottom: 1px dotted gray; cursor: help;" title="{{{tiptext|{{{2|{{{1|Tip.}}}}}}}}}">{{{text|{{{1|''Text.''}}}}}}</span><noinclude> | + | <includeonly><span class="tip-text" style="border-bottom: 1px dotted gray; cursor: help;" title="{{{tiptext|{{{2|{{{1|Tip.}}}}}}}}}">{{{text|{{{1|''Text.''}}}}}}</span></includeonly><noinclude> |
− | + | {{Documentation}} | |
− | + | <!-- Put categories/interwiki on the documentation page. --> | |
− | + | </noinclude> | |
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 18:18, 7 July 2023
{{Tip}} allows text to have a tooltip that is shown when hovering the cursor over it (note: it doesn't work on touch devices).
Usage
To use this template, simply type {{Tip|Visible text|Tooltip text}}
, where Visible text
and Tooltip text
are the visible text and the text displayed on hover respectively.
Example
A short example of its use is:
{{Tip|Wood|This is a block that can be mined with an axe.}}
- which generates
- Wood