ParserFunctions

ParserFunctions
enhances the wikitext parser with helpful functions, mostly related to logic and string-handling.
Status: stable
Developer: Tim Starling
Extension type: MediaWiki
Edition: BlueSpice
Dependencies: MediaWiki
License: GPL v2+
Activated: Yes
Category: Rich Articles
Documentation on MediaWiki.org


ParserFunctions extension enhances the wikitext parser with helpful functions, mostly related to logic and string-handling.

The extension provides eleven additional parser functions to supplement the "magic words", which are already present in MediaWiki. 

Parser Functions are used for example for template programming.

Enhance exististing MagicWords by using this standard:

{{#functionname: argument 1 | argument 2 | argument 3 ... }}

You should only use them for the "template namespace". Usually you use the if-function. This is like calling up the "IF"-function in Excel.

{{#if: test string | value if test string is not empty | value if test string is empty (or only white space) }}

For more information please visit Wikipedia and MediaWiki.


Attachments

Discussions