FANDOM


{{ Info1 }} Template documentation: Abbr [edit] [purge]

This documentation is transcluded from Template:Abbr/doc.

The template {{Abbr}} is used to write an abbreviation with its meaning. It is a wrapper for the HTML element tag, the element used by most web browsers to create a tooltip indicating the meaning of an abbreviation or acronym.

Usage

The template {{abbr}} takes two unnamed parameters, in order:

  • abbreviation: The abbreviation; shows as text.
  • meaning: The meaning; shows as the tooltip.

Optional named parameters:

  • class: Adds a CSS class.
  • id: Adds a HTML id; this must be unique on the entire page.
  • style: Adds a style attribute.

Examples

{{abbr|MSRP|Manufacturer's Suggested Retail Price}} yields → MSRP

When hovering over the text "MSRP", something like Manufacturer's Suggested Retail Price will appear as a tooltip in most browsers. Popular screen readers, used by visually impaired readers, give the meaning in a different way.

{{abbr|SMAP|Suggested Minimum Advertised Price}} yields → SMAP
Community content is available under CC-BY-SA unless otherwise noted.