Jump to content

Template:Abbr

From Wikidata

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

This template provides an easy way to leverage the HTML semantic markup property title=, which indicates with a dotted underline that more information about a text string is available as a tooltip when the mouse cursor hovers over it.

Usage

{{Abbr|annotated text|tooltip text}}

Example

The code {{Abbr|WD|Wikidata}} results in WD.

TemplateData

[edit]
This is the TemplateData documentation for this template used by VisualEditor and other tools.

Abbr

Add an annotation tooltip to a text string, e.g. for an abbreviation, using the HTML semantic markup property 'title='.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Annotated text1

The page text to add an annotation tooltip to, e.g. an acronym, that will benefit from clarification. It will appear with a dotted underline to signal the availability of the tooltip.

Example
M.U.B.A.R.
Linerequired
Tooltip annotation2

The annotation that will appear as a tooltip when the mouse cursor hovers over it.

Example
Messed Up Beyond All Recognition
Linerequired

See also

[edit]