Template:Abbr
This template provides an easy way to leverage the HTML semantic markup property
, 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.
title=
Usage
{{Abbr|annotated text|tooltip text}}
Example
The code {{Abbr|WD|Wikidata}}
results in WD.
TemplateData
[edit]Add an annotation tooltip to a text string, e.g. for an abbreviation, using the HTML semantic markup property 'title='.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Annotated text | 1 | 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.
| Line | required |
Tooltip annotation | 2 | The annotation that will appear as a tooltip when the mouse cursor hovers over it.
| Line | required |
See also
[edit]The above documentation is transcluded from Template:Abbr/doc (edit | history). Editors can experiment in this template's sandbox (create | mirror) and testcases (create) page. Please add categories to the /doc subpage. Subpages of this template. |