{{{2}}}

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

Adhbhar - Purpose

deasaich

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.

Ùsaid - Usage

deasaich
{{Hover title
 |spantitle
 |label
 |link=yes/no (defaults to "no")
 |dotted=yes/no (defaults to "yes")
}}

wikimarkup except linking may be used within label, but not within spantitle.

Eisimpleirean - Examples

deasaich
  • {{Hover title|Hello|example}} produces example.
  • {{Hover title|Hello|example|link=yes}} produces example.
  • {{Hover title|Hello|example|dotted=no}} produces example.
  • {{Hover title|Hello|example|link=yes|dotted=no}} produces example.
  • {{Hover title|Hello|ex'''amp'''le}} produces example.
  • {{enUici|example|{{Hover title|Hello|text}}}} produces text.

Accessibility issue

deasaich

This template uses a hover attribute, which is discouraged by Wikipedia:Manual of Style (accessibility)#Text.

For marking abbreviations specifically, please use {{abbr}} instead, because it is accessible to screen reader users.