Template:Nocaps/doc

From Wikipedia, the free encyclopedia
Jump to: navigation, search

{{Nocaps}} will display text in full lower case.

Usage[edit]

The source text will not be altered (copying/pasting the text will be presented in its original form), only in its browser display. You can use this template to control the display of the variable output of magic words and of other templates. Instead of HELLO you would have hello

Example[edit]

Code 
{{Nocaps|thE ''NaMe'' oF thE GAME}}
Result 
thE NaMe oF thE GAME

Note[edit]

Substitution (subst:) of this template is not recommended. The result will not create lower case source text but only an appearance thereof; the original text will wrapped in an HTML tag in the page source. Because of this, it would be more effective to simply edit the original text as lower-case, or use "{{subst:lc: ...text...}}" to store text as all lower-case into the page.

See also[edit]

Templates that change the display (copying/pasting will present the original text):

  • {{Nocaps}} – displays text in lower case (minuscule)
  • {{Allcaps}} – displays text in capital letters (Upper case)
  • {{Smallcaps}} – displays text in small capital letters
  • {{Fixcaps}} – capitalizes words {{fixcaps|pLAy/tHE/GamE}} → Play the Game

Magic words that rewrite the output (copying/pasting will present the text as displayed):

  • {{lc:}} – lower case output of the full text
  • {{uc:}} – upper case output of the full text
  • {{lcfirst:}} – lower case output of the first character only
  • {{ucfirst:}} – upper case output of the first character only