Template:Aka: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
m (Protected "Template:Aka": Highly visible template; 1,000+ transclusions ([Edit=Require autoconfirmed or confirmed access] (indefinite))) |
(add support for "aka=y" to generate aka) |
||
Line 1: | Line 1: | ||
<abbr title="also known as">{{#if:{{{AKA|}}}{{{uc|}}}|AKA|a.k.a.}}</abbr><noinclude> |
<abbr title="also known as">{{#if:{{{aka|}}}|aka|{{#if:{{{AKA|}}}{{{uc|}}}|AKA|a.k.a.}}}}</abbr><noinclude> |
||
{{documentation}} |
{{documentation}} |
||
</noinclude> |
</noinclude> |
Revision as of 18:00, 5 February 2022
a.k.a.
This template provides the string "a.k.a." (or alternatively "AKA") marked up as an abbreviation, with a mouse-over tooltip explaining that it means "also known as". It is intended for first use of "a.k.a." or "AKA" in an article, and need not be used in subsequent cases on the same page.
Usage
Example:
...funded by ARPA {{aka}} DARPA.
gives:
...funded by ARPA a.k.a. DARPA.
Parameters
|uc=y
(for "uppercase") or|AKA=y
– Will change the "a.k.a." output to read "AKA". This should not be used in contexts which contain a lot of acronyms. However, it is useful in contexts that already have a lot of periods (full points).
|aka=y
– Will change the "a.k.a." output to read "aka".
There is no parameter to output "A.K.A.", which is recommended against by the WP:Manual of Style.