(Copied from Russian wiki (ru:Шаблон:Всплывающий текст).) |
m (I do see a need for it. -Added documentation) |
||
Line 1: | Line 1: | ||
− | <includeonly><span style="border-bottom: 1px dotted; cursor: help" title="{{{2}}}">{{{1}}}</span></includeonly |
+ | <includeonly><span style="border-bottom: 1px dotted; cursor: help" title="{{{2}}}">{{{1}}}</span></includeonly> |
+ | <noinclude>{{/doc}} |
||
+ | [[Category:Formatting templates|{{PAGENAME}}]]</noinclude> |
Revision as of 11:38, 5 September 2014
[purge]
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more informationThis template is used for tooltips which appear when hovering over a specific piece of text.
Keep in mind that tooltips do not work on mobile; consider using alternative methods to display key information instead of putting them inside tooltips.
Setting |minetip=1
will produce a tooltip with Minecraft style.
Usage:
{{Tooltip|text|tooltip text}} {{Tooltip|minetip=1|text|tooltip text (Minecraft Style)}}
Example: text
text