Difference between revisions of "Template:Aka/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Thnidu
(→‎Parameters: copyedit)
m (7 revisions imported)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 +
{{Template shortcut|a.k.a.|AKA|also known as}}
 
This template provides the string "<samp>a.k.a.</samp>" (or alternatively "<samp>AKA</samp>") marked up as an abbreviation, with a mouse-over tooltip explaining that it means "<samp>also known as</samp>". 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.
 
This template provides the string "<samp>a.k.a.</samp>" (or alternatively "<samp>AKA</samp>") marked up as an abbreviation, with a mouse-over tooltip explaining that it means "<samp>also known as</samp>". 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 ==
 
== Usage ==
 
Example:<br />
 
Example:<br />
{{in5}}<code>...funded by ARPA {{tlx|aka}} DARPA.</code>
+
{{in5}}<code>...funded by ARPA {{tlf|aka}} DARPA.</code>
 
gives:<br />
 
gives:<br />
 
{{in5}}...funded by ARPA {{aka}} DARPA.
 
{{in5}}...funded by ARPA {{aka}} DARPA.
Line 12: Line 13:
 
* {{para|uc|y}} (for "uppercase") or {{para|AKA|y}} – Will change the "<samp>a.k.a.</samp>" output to read "<samp>AKA</samp>". 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).
 
* {{para|uc|y}} (for "uppercase") or {{para|AKA|y}} – Will change the "<samp>a.k.a.</samp>" output to read "<samp>AKA</samp>". 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).
  
There is no parameter to output the substandard "<samp>aka</samp>", which is not a word in English, and is not recommended by style guides in any dialect. Even British English, which eschews full points (periods) for abbreviations that begin and end with the same letters as the full word (e.g. "Dr" rather than "Dr." for "Doctor") still uses them for acronyms that are given in lower case ("r.s.v.p.", "i.e.", "e.g.") and which have not been assimilated into English as words (as "scuba", "laser", and "radar" have been).  One of the intended uses of this template is to replace instances of <code>aka</code> in article leads with {{tnull|aka}}.
+
There is no parameter to output the substandard "<samp>aka</samp>".
  
 
There is no parameter to output "<samp>A.K.A.</samp>", an obsolete style of treating all-uppercase acronyms and initialisms, which is recommended against by the [[WP:Manual of Style]].
 
There is no parameter to output "<samp>A.K.A.</samp>", an obsolete style of treating all-uppercase acronyms and initialisms, which is recommended against by the [[WP:Manual of Style]].
Line 18: Line 19:
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 +
[[Category:Abbreviation templates]]
 
[[Category:Typing-aid templates]]
 
[[Category:Typing-aid templates]]
  
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 08:00, 19 October 2020

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).

There is no parameter to output the substandard "aka".

There is no parameter to output "A.K.A.", an obsolete style of treating all-uppercase acronyms and initialisms, which is recommended against by the WP:Manual of Style.