Template:Tooltip/Documentation: Difference between revisions

Template page
(Added documentation)
 
No edit summary
Line 6: Line 6:
==Usage==
==Usage==
<pre>
<pre>
{{Tooltip|Text to hover over|hovertext=Text you want to appear on hover}}
Arguments
|text = Text or files (including images) you want to have a hovering tooltip.
|hovertext = The text you wish to appear on mouse hover
|dotted = Should the text be underlined? (yes/no) (Optional)
</pre>
</pre>



Revision as of 19:51, 1 August 2022


Purpose

Creates a popup tooltip on mouse hover.

Usage

Arguments
|text = Text or files (including images) you want to have a hovering tooltip.
|hovertext = The text you wish to appear on mouse hover
|dotted = Should the text be underlined? (yes/no) (Optional)

Example

{{Tooltip|text=Test|hovertext=Hovertext}}

Text