Template:Initialism

From WikiAlpha
Jump to: navigation, search
The below content is licensed according to Creative Commons Attribution-ShareAlike License contrary to the public domain logo at the foot of the page. It originally appeared on http://en.wikipedia.org. The original article might still be accessible here. You may be able to find a list of the article's previous contributors on the talk page.
[edit] [purge] Template documentation

This template is designed to generate small caps text for an initialism, acronym, or abbreviation. There are various options for linking and for generating the name in full.

Note: This template is used as a meta-template for several shortcut templates, including {{USSB}}, {{USMC}}, {{NDRF}}, and {{NOTS}}.

Usage

Parameters

This template requires two parameters

  • name — the full text
  • short — the initialism, initialism, acronym, or abbreviation

Optional parameters

There is one optional parameter for controlling the output:

  • first — to specify various optional output options (see examples below for options)

Examples

Example Final result
Typical usage {{initialism | name = Los Angeles Steamship Company | short = LASSCO }} LASSCO
Full name + link {{initialism | name = Los Angeles Steamship Company | short = LASSCO | first = on }} Los Angeles Steamship Company (LASSCO)
Full name + no link {{initialism | name = Los Angeles Steamship Company | short = LASSCO | first = nolink }} Los Angeles Steamship Company (LASSCO)
Short + link {{initialism | name = Los Angeles Steamship Company | short = LASSCO | first = short }} LASSCO
Full + link (no short) {{initialism | name = Los Angeles Steamship Company | short = LASSCO | first = only }} Los Angeles Steamship Company