[dismiss]
The wiki is currently a work in progress. If you'd like to help out, please check the Community Portal and our getting started guide. Also, check out our sister project on poewiki.net.
Template:Tooltip: Difference between revisions
Jump to navigation
Jump to search
m (4 revisions imported) |
(Replaced with simple browser tooltip using title attribute. Use Template:Tooltip2 for hoverbox that can handle HTML content.) |
||
Line 1: | Line 1: | ||
<span class=" | <span class="tooltip {{{class|}}}" {{#if:{{{id|}}}|id="{{{id}}}"}} title="{{#tag:nowiki|{{{2|}}}}}">{{{1|}}}</span><noinclude> | ||
{{Documentation}} | |||
}} | |||
{{ | |||
</noinclude> | </noinclude> |
Revision as of 17:46, 20 March 2025
This template creates a tooltip for the given element.
Usage
This template may be used to offer readers supplemental information about an element in the form of a tooltip.
{{Tooltip|content element|tooltip text}}
Be aware that display of the tooltip is entirely dependent on the browser. Desktop browsers typically display the tooltip text when the user hovers their mouse over the element. Whereas mobile browsers do not usually provide any way to show the tooltip text.
Example
{{Tooltip|Undocumented|Discovered through player testing or datamining}}
→ Undocumented
See also

This template was adapted from Template:Tooltip on Wikipedia.
Adaptation is noted for reference and attribution only. This template may differ from the original in function or in usage.
Adaptation is noted for reference and attribution only. This template may differ from the original in function or in usage.
The above documentation is transcluded from Template:Tooltip/doc.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.