Template:Abbr

From PZwiki
Notebook.pngTemplate Documentation

This template provides a shorthand way of using the HTML <abbr> tag. The <abbr> tag defines an abbreviation or an acronym. The <abbr> tag will show the full version of the abbreviation/acronym when you mouse over it.

LightBulbYellow.png
Do not use {{Abbr}} or <abbr>...</abbr> to mark up material other than abbreviations (including acronyms). Using it to generate tooltips elsewhere is a misuse of the underlying HTML and causes accessibility problems. For general-purpose tooltips, use {{Tooltip}} instead.

Usage

Parameters

1 Required
The term to be explained; displays as text.
2 Required
The tooltip/pop-up.

Examples

{{Abbr|example|this is an example}} -> example

How to translate

This template doesn't need to/shouldn't be translated, but you can translate the documentation of this template with the following steps:

  1. Create a subpage of this template with the language code of the language you want to translate to.
  2. Copy the code wrapped in the <noinclude> tag in this template into the page you created.
    {{Translation guide}} template should be removed from the translated documentation.
  3. Translate the page according to the translation requirements of normal pages.

See also

Editors can experiment in this template's sandbox.