Hello, you have come here looking for the meaning of the word
Template:caps/documentation. In DICTIOUS you will not only get to know all the dictionary meanings for the word
Template:caps/documentation, but we will also tell you about its etymology, its characteristics and you will know how to say
Template:caps/documentation in singular and plural. Everything you need to know about the word
Template:caps/documentation you have here. The definition of the word
Template:caps/documentation will help you to be more precise and correct when speaking or writing your texts. Knowing the definition of
Template:caps/documentation, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.
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.
{{caps|X|{{{cap|}}}|{{{nocap|}}}}}
Here are other examples:
{{caps|A|{{{cap|}}}|{{{nocap|}}}}}
{{caps|B|{{{cap|}}}|{{{nocap|}}}}}
{{caps|C|{{{cap|}}}|{{{nocap|}}}}}
Parameters
This template by default uses the parameters {{{cap}}}
and {{{nocap}}}
from the other template.
nocap=1
: Unless it is empty or omitted, {{caps}}
returns the default letter in the opposite case.
cap
: If equal to the opposite case of the default letter, the opposite case is returned by {{caps}}
.
Examples
Here are some hypotheses, possibly true if the piece of code "{{caps|O|{{{cap|}}}|{{{nocap|}}}}}bsolete spelling of
" exists in Template:obsolete spelling of:
See also
Contents, text, tables:
- caps (returns a particular letter, either in upper or lower cases)
- ordinal to word (returns "first" from 1, "second" from 2, etc.)
- navbox (generates a collapsible box)
- !! (returns two vertical pipes: ||)
- (! (returns a left brace followed by a vertical pipe: {|)
- !) (returns a vertical pipe followed by a right brace: |})
- !- (returns a vertical pipe followed by a dash: |-)
Languages, families and scripts:
Categories:
- categorize (adds a category, with language-specific sorting)
- topics (adds a topical category, with language-specific sorting)
- catlangname (adds a lexical or other category similarly named, with language-specific sorting)
Other:
- edit (generates an "edit" button)