PowerParser Directive: :if#
This is equivalent to PHP if statements.
Simple If Conditions#
:if(condition)
<!--HTML or Other PowerParser Directive-->
:endif
If-else Conditions#
:if(condition)
<!--HTML or Other PowerParser Directive-->
:else
<!--HTML or Other PowerParser Directive-->
:endif
If-elseif-else Conditions#
:if(condition)
<!--HTML or Other PowerParser Directive-->
:elseif(condition)
<!--HTML or Other PowerParser Directive-->
:elseif(condition)
<!--HTML or Other PowerParser Directive-->
:else
<!--HTML or Other PowerParser Directive-->
:endif