TemplateDoc:Acronym

Acronym templates
{| width=100%
 * style="vertical-align:top;" width=50%|

Generating titles and names

 * Long title
 * Short (standard) title
 * Shortest possible title
 * Associated page/article name (for links)
 * style="vertical-align:top;" width=50%|

Links

 * Standard link
 * Long link
 * Short link
 * Shortest possible link
 * }

Specific types

 * Official acronyms
 * Game acronyms
 * Novel, novella and anthology acronyms
 * Comic and graphic novel acronyms
 * Artbooks, reference books, guides and miscellaneous print acronyms
 * Film and TV acronyms
 * Marketing and ARG acronyms

Usage
This template is used to sanitise Halopedia acronyms before they are used in other templates. It does not guarantee that an acronym is valid, as the correct response to an invalid acronym will vary between templates that call this one. However, it guarantees that what it returns will be in lower case and that, if it was a valid acronym, it will have been replaced with the primary acronym for that topic. For instance,  will have been replaced with. This allows template pages to only have to consider the primary acronym cases, while still providing support for the secondary acronyms.

Usually, if no acronym match is found, the template will simply return exactly what was passed to it, albeit in lower case. However, by setting the  parameter to , the template can be made to output nothing if the acronym does not exist.

Error states
This template has no error states.

Examples
Here are some examples of what the template will output, when used: