{{{1}}} {{{2}}}
Contents |
Template:Tooltip is used for creating tooltips that display text when hovered over. It can take any HTML or wiki markup when hovered over, and can be used within tables or templates. The JavaScript is based on dev:Tooltips.
The Tooltip template should be used sparingly in articles, as it is a JavaScript-based template that does not function on mobile. However, it use uses within tables or templates such as infobox templates, to display more data than can fit in fields on desktop.
Usage
{{tooltip|display text|text when hovered over}}
outputs as as:
display text
text when hovered over
Full use:
{{tooltip|text= |tip= |style= }}
Parameters
The basic text to be displayed by the tooltip template. Hovering over this will reveal the tooltip.
The text, HTML, or wiki markup to be displayed when hovering over the tooltip text.
The style attribute for any inline styles that modify the display text.