Help:Extension:ParserFunctions

The extension provides ten additional parser functions to supplement those already present in MediaWiki. All the parser functions provided by this extension take the form:
 *  

#if:

 *  

This function tests whether the first parameter is 'nonzero'. It evaluates to false if the test string is empty or contains only whitespace characters (space, newline, etc).


 *   &rarr;
 *   &rarr;
 *   &rarr;
 *   &rarr;

The test string is always interpreted as pure text, so mathematical expressions are not evaluated:


 *   &rarr;

Either or both the return values may be ommitted:


 *   &rarr;
 *  </tt> &rarr;
 *  </tt> &rarr;