Template:Allcaps: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Komusou
(quick-and-dirty ==Usage== and ==See also== plus {{pp-semi-protected| small=yes | reason=No need for such template to be anon-editable. }})
meta>Komusou
(updating what it does and subst non-usage)
Line 3: Line 3:
==Usage==
==Usage==


<CODE><NOWIKI>{{Allcaps|your text}}</NOWIKI></CODE> will display your text in full upper case.
<CODE><NOWIKI>{{Allcaps|your text}}</NOWIKI></CODE> will display your text in full upper case. Your source text is not altered (a cut-n-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:''' <CODE><NOWIKI>{{Allcaps|The ''Name'' of the Game}}</NOWIKI></CODE>
: '''In:''' <CODE><NOWIKI>{{Allcaps|The ''Name'' of the Game}}</NOWIKI></CODE>
: '''Out:''' {{Allcaps|The ''Name'' of the Game}}
: '''Out:''' {{Allcaps|The ''Name'' of the Game}}


Use preferably <CODE><NOWIKI>{{subst:Allcaps|your text}}</NOWIKI></CODE> for a quick local uppercase, especially when the source text isn't a variable or magic word, but static text that needs to be processed only once and for all.
'''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==
==See also==

Revision as of 02:22, 20 September 2007

{{{1}}}

Usage

{{Allcaps|your text}} will display your text in full upper case. Your source text is not altered (a cut-n-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

Template:Pp-semi-protected