Skabelon:H:title

Fra Wikipedia, den frie encyklopædi
Gå til: navigation, søg

{{{2}}}

Documentation icon Skabelon dokumentation[vis] [rediger] [se historik] [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[redigér | redigér wikikode]

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

Examples[redigér | redigér wikikode]

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

Accessibility issue[redigér | redigér wikikode]

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

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

See also[redigér | redigér wikikode]