If ViewHelper <f:if> 

This ViewHelper implements an if/else condition.

Go to the source code of this ViewHelper: IfViewHelper.php (GitHub).

Arguments of the <f:if> ViewHelper 

condition

condition
Type
boolean
Default
false
Condition expression conforming to Fluid boolean rules

else

else
Type
mixed
Value to be returned if the condition if not met.

then

then
Type
mixed
Value to be returned if the condition if met.