Skip to main content
4 votes
Accepted

Is it possible to do basic transformation of text in a MediaWiki template?

For lower case use {{lc:...}} parser function. For replacement in the string, use {{#replace:(string)|<nowiki> </nowiki>|-}}. Note that the space as parser function parametre has to be ...
Alexander Mashin's user avatar
4 votes
Accepted

How do I create a simple template that adds a category in a Mediawiki template?

Square brackets instead of braces. <noinclude>This is a template to mark articles that needs an update. All these articles are listed under [[:Category:Articles that needs update]]</...
Rob Kam's user avatar
  • 156

Only top scored, non community-wiki answers of a minimum length are eligible