Template:Tooltip
(Redirected from Template:H:title)
Jump to navigation
Jump to search
{{{2}}}
This template assigns an HTML title attribute to a given block of text. This causes a tooltip to be displayed when the user hovers over the text with their cursor. Previously known as {{H:title}}
(still functional), working alternatives: {{hint}}
, {{infotip}}
, {{tip}}
.
Warning
May not work for some viewers (especially mobile ones).
Usage
{{tooltip |title (mandatory; displayed when hovering over text) |text (mandatory) |link=yes/no (optional; defaults to "no") |dotted=yes/no (optional; defaults to "yes") }}
Examples
- {{tooltip|Hello|example|}} produces example.
- {{tooltip|Hello|example|link=yes}} produces example.
- {{tooltip|Hello|example|link=no}} produces example.
- {{tooltip|Hello|example|dotted=yes}} produces example.
- {{tooltip|Hello|example|dotted=no}} produces example.
- {{tooltip|Hello|example|link=yes|dotted=no}} produces example.