Template:H:title View history

Revision as of 06:02, 16 July 2014 by Kentsmith9 (talk | contribs) (created template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{{2}}}

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

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

{{H:titleS}}, the simpler version.

The above documentation is transcluded from Template:H:title/doc.
Please add categories to the /doc subpage.
Subpages of this template.