title: How can I capitalize the first letter in a string using mediawiki?
body: <p>How can I capitalize the first letter of a string (or of each word) in Mediawiki? In this case, the string is just a single word, so capitalizing every word's first letter is ok as well.</p>
  
  <p>I want to do something like</p>
  
  <pre><code>{{#capitalize:string}}
  </code></pre>
  
  <p>and get output</p>
  
  <pre><code>String
  </code></pre>
  
  <p>I already tried with</p>
  
  <pre><code>{{#titleparts:mystring}}
  </code></pre>
  
  <p>but it doesn't alter my string at all (tried at <a href="http://sv.wiktionary.org" rel="noreferrer">http://sv.wiktionary.org</a>)</p>