Parser functions

All contents goes to the real page

This page demonstrates on how to use parser functions.

See this page on how to use them in templates.

#expr
That parser functions is used to answer a mathematical equation.

Example:

If you type:

It will become:

Others:

Output:

It means, of course, that the blank space is equal to zero.

#if
This function looks/test whether the parameter is blank or not.

Example:

If you type:

It will become:

Even white spaces declare it "blank", but any character will declare it "not blank" Example:

It will become:

This parser function is often used in templates.

#ifeq
This function tests whether the first parameter is identical to the second parameter.

Examples:

Becomes:

Becomes:

This parser function is used in templates to identify if the parameter is same to something else

#iferror
This parser function indicates whether the string has an object that has an error or not. This can be a bit confusing.

Example:

If you put  it will result as  right? The  can change the text for that, as well as make a text if the test string is correct.

If you put  in the test string, like  this:

The output will be:

But if like this:

The output will be:

#ifexpr
This parser function will identify a mathematical equation if it's correct or wrong.

Example:

The output will be:

But:

Results in:

#ifexist
This parser function tells whether a page exists or not.

Example:

Results:

But:

Results:

#switch
This function inputs a string against several cases, and