This template takes text input and changes its case, either to UPPERCASE, lowercase, Title Case, or Sentence case, using switch functions. Title and sentence case are limited to the first 10 words of a string. The template has three parameters:

Case has four possible values:

  • L: Makes the string lowercase
  • U: Makes the string UPPERCASE
  • S: Makes the string Sentence case
  • T: Makes the string Title Case
  • Any other value in the Case field will return the full, unaltered, string.

String can be any string, with or without punctuation.

Link is an optional field. If anything is entered here, this function turns String into a link with the display text formatted as chosen in Case.


Examples without Link

All of these examples use the same string:
"WoWWiki is an excellent source for all your WoW information needs."

  • L: wowwiki is an excellent source for all your wow information needs.
  • S: Wowwiki is an excellent source for all your wow information
  • T: Wowwiki Is An Excellent Source For All Your Wow Information
  • Z: WoWWiki is an excellent source for all your WoW information needs.

Note that the middle "W"s of WoWWiki are lowercase in both Title and Sentence case, as is the last "W" of WoW. Additionally, the string is 11 words long, so the word "needs." is truncated in Title and Sentence case.

Examples using Link

Many references to items and generic mobs (scalding whelps, for example) are normally not capitalized in a sentence, such as when an NPC is telling the player to kill 20 scalding whelps for their precious eyes. However, the game uses Title Case for all mob nameplates, so what an NPC refers to as "scalding whelp" is actually "Scalding Whelp". The Wiki page should appropriately be named "Scalding Whelp". Mentions from the quest's page or from any page referencing these whelps can be lower case, but the links would need to be Title Case. The pipe function ([[Scalding Whelp|scalding whelp]]) can be used to achieve this result, but for simplicity, this function does the work for you.