Template:H:title/doc View history

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This is a documentation subpage for Template:H:title.
It contains usage information, categories and other content that is not part of the original template page.

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.

Usage

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

Examples

  • {{H:title|Hello|example|link=yes}} produces example.
  • {{H:title|Hello|example|dotted=no}} produces example.
  • {{H:title|Hello|example|link=yes|dotted=no}} produces example.

Accessibility issue

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

For marking abbreviations specifically, please use Template:T instead, because it is accessible to screen reader users.

See also