Sjabloon:Allcaps

Uit informatiestandaarden
Versie door Ahenket (overleg | bijdragen) op 18 jul 2013 om 08:00 (Nieuwe pagina aangemaakt met '<span class="allcaps" style="text-transform:uppercase;">{{{1}}}</span><noinclude> <!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --> {{docum...')
(wijz) ← Oudere versie | Huidige versie (wijz) | Nieuwere versie → (wijz)
Naar navigatie springen Naar zoeken springen

{{{1}}}

[bewerken] [purge] Template documentation

{{Allcaps}} will display text in all capital letters.

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, or use "{{subst:uc: ...text...}}" to store uppercase text into the page.

See also

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

  • {{Nocaps}} – lower case display
  • {{Smallcaps}} – small caps display
  • {{Allcaps}} – upper case display
  • {{Fixcaps}} – capitalizes words {{fixcaps|pLAy/tHE/GamE}} → Play the Game

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