pc:if

Previous Next

As an element introduces script sections that execute only if a given condition applies, or does not apply.

As an attribute, subjects the execution of a directive to a condition.

collapsepc:if as an element
collapsepc:if as an attribute

See also

pc:if-then

pc:if-not-then

pc:switch