Template:Initialism/doc
From WikiAlpha
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. |
This is a documentation subpage for Template:Initialism. It contains usage information, categories and other content that is not part of the original template page. |
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 |