Template:Omission/doc

From HandWiki
< Template:Omission
Revision as of 11:41, 11 March 2022 by imported>John of Reading (Typo/general fixes, replaced: ommission → omission)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Error: no shortcuts were specified and the |msg= parameter was not set.

This template provides the string "..." (or alternatively "[...]") marked up as an abbreviation, with a mouse-over tooltip provided text omitted from a quote.

Usage

Example:
Lorem ipsum {{om|dolor sit amet,}} consectetur adipiscing elit. gives:
Lorem ipsum ... consectetur adipiscing elit.

Example:
Lorem ipsum {{om|sub=dolor|dolor sit amet,}} consectetur adipiscing elit. gives:
Lorem ipsum [dolor] consectetur adipiscing elit.

Parameters

  • |br=yes (for brackets).
  • |sub=text (optional) omission text i.e. [this]

Source

Code and documentation borrowed from {{aka}}.