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

From Path of Exile 2 Wiki
Jump to navigation Jump to search
(Replaced with simple browser tooltip using title attribute. Use Template:Tooltip2 for hoverbox that can handle HTML content.)
No edit summary
 
Line 1: Line 1:
<span class="tooltip {{{class|}}}" {{#if:{{{id|}}}|id="{{{id}}}"}} title="{{#tag:nowiki|{{{2|}}}}}">{{{1|}}}</span><noinclude>
<span class="tooltip {{{class|}}}" {{#if:{{{id|}}}|id="{{{id}}}"}} title="{{#tag:nowiki|{{{2}}}}}">{{{1}}}</span><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 11:38, 27 March 2025

{{{1}}}

Template documentation[view] [edit] [history] [purge]


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|activator 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.