There are no accepted versions of this page.
ParserFunctions
-
- Last edited 7 months ago by MLR
-
-
- This page is first draft
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 free |
Dependencies: | MediaWiki |
License: | GPL v2+ |
Activated: | Yes |
Category: | Rich Articles |
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) }}