Template:Abbr/doc

From Guild of Archivists
< Template:Abbr
Revision as of 07:10, 30 November 2024 by Pharap (talk | contribs) (Mark 'shortform' parameter as required.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A template for simplifying the marking of abbreviations and providing their unabbreviated forms as hover text.

Note: Despite behaving similarly to the {{hover text}} template, the order of the parameters differs due to the two templates having different intended uses. The {{hover text}} template is intended to be used wherever hover text might be stylistically desired, whereas the {{abbr}} template is specifically for use with abbreviations.

Examples:

  • {{abbr|n.|noun}}n.
  • {{abbr|v.|verb}}v.
  • {{abbr|adj.|adjective}}adj.
  • {{abbr|adc.|adverb}}adc.
  • {{abbr|DRC|D'ni Restoration Council}}DRC

Template Data[edit source]

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Abbreviation1 shortform

The abbreviation that will be included directly into the page text.

Example
DRC
Stringrequired
Full Text2 longform

The full text of which the abbreviation is a shortened form. The text that shall appear when the abbreviation in the page text is hovered over.

Example
D'ni Restoration Council
Stringrequired