Template:Caps/doc

This template returns the uppercase or lowercase version of a letter.

Usage
This template is supposed to be used in other templates, mainly to display the first letter of an automatic text in either case, as chosen by the user.

Simply add the following code to any template, replacing the X by a default letter.

Here are other examples:

Parameters
This template by default uses the parameters  and   from the other template.


 *  : Unless it is empty or omitted, returns the default letter in the opposite case.
 *  : If equal to the opposite case of the default letter, the opposite case is returned by.

Examples
Here are some hypotheses, possibly true if the piece of code " " exists in Template:obsolete spelling of:


 * returns:
 * Obsolete spelling of ameba.
 * returns:
 * obsolete spelling of ameba.
 * returns:
 * obsolete spelling of ameba.