Template:Allcaps: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Komusou
cut-n-paste --> copy-paste
meta>Maelgwn
m rm protection template on unprotected page
Line 24: Line 24:
* <NOWIKI>{{</NOWIKI>lcfirst:}} – lower case output of the first character only
* <NOWIKI>{{</NOWIKI>lcfirst:}} – lower case output of the first character only
* <NOWIKI>{{</NOWIKI>ucfirst:}} – upper case output of the first character only
* <NOWIKI>{{</NOWIKI>ucfirst:}} – upper case output of the first character only
{{pp-semi-protected| small=yes | reason=No need for such template to be anon-editable. }}


[[Category:Formatting templates]]
[[Category:Formatting templates]]


</noinclude>
</noinclude>

Revision as of 01:17, 26 December 2007

{{{1}}}

Usage

{{Allcaps|your text}} will display your text in full upper case. Your source text is not altered (a copy-paste will give it in its original form), only the way it is displayed. You can use this template to control the display of the variable output of magic words and of other templates.

In: {{Allcaps|The ''Name'' of the Game}}
Out: The Name of the Game

Preferably do not subst: it because the result will NOT be an uppercase source text but the original text wrapped in HTML code making it appear uppercase, so it is more efficient for this purpose to simply rewrite the text in uppercase once and for all.

See also

Templates that change the display (copy-paste will get the original text):

Magic words that rewrite the output (copy-paste will get 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