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
(Added icon parameter)
(Replaced with simple browser tooltip using title attribute. Use Template:Tooltip2 for hoverbox that can handle HTML content.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span class="hoverbox c-tooltip"><span class="hoverbox__activator c-tooltip__activator">{{{1}}} {{#switch: {{{icon}}}
<span class="tooltip {{{class|}}}" {{#if:{{{id|}}}|id="{{{id}}}"}} title="{{#tag:nowiki|{{{2|}}}}}">{{{1|}}}</span><noinclude>
  |help = [[File:Help.svg|14px|link=|class=hoverbox__icon]]
{{Documentation}}
}}</span><span class="hoverbox__display c-tooltip__display">{{{2}}}</span></span><noinclude>
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 17:46, 20 March 2025

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

This template is used to show text with a pop up tip on the meaning or context of that text.

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. The documentation on Wikipedia may be helpful in understanding this template.