Template:Hover title

From project-imas.com wiki
Jump to: navigation, search

{{{2}}}

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

Purpose

This template assigns an HTML title attribute to a given block of text. This causes a wikipedia:tooltip to be displayed when the user hovers over the text with their cursor.

Usage

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

Examples

  • {{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.

Accessibility issue

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