Line 12: | Line 12: | ||
</pre> | </pre> | ||
== | ==Examples== | ||
<pre>{{Tooltip|text=Test|hovertext=Hovertext}}</pre> | <pre>{{Tooltip|text=Test|hovertext=Hovertext}}</pre> | ||
{{Tooltip|text=Text|hovertext=Hovertext}} | {{Tooltip|text=Text|hovertext=Hovertext}} |
Latest revision as of 19:54, 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)
Examples
{{Tooltip|text=Test|hovertext=Hovertext}}
Text
{{Tooltip|text=[[File:Umvc3_spencer_face.jpg]]|hovertext=The face of a man with a bionic arm.|dotted=no}}
The above documentation is transcluded from Template:Tooltip/Documentation/doc. (edit | history)