IfElseIf

(:if alpha:)
alpha true
(:elseif beta:)
alpha false, beta true
(:elseif gamma:)
alpha false, beta false, gamma true
(:else:)
alpha, beta, gamma all false
(:if:)

alpha, beta, gamma all false

This page sets conditions for 'alpha', 'beta', 'gamma', 'delta', and 'epsilon' based upon the corresponding arguments in the url. Try the links below and see how the output of the (:if:)/(:elseif:) conditions changes above.

Sandbox

(:if foo:)
    foo
(:if ! foo:)
    ! foo
(:if !:)
    !
(:if :)
    null
(:if:)

(:if alpha:)
    alpha
(:if ! alpha:)
    ! alpha
(:if !:)
    !
(:if :)
    null
(:if:)
    foo
    ! foo
    !
    null

    ! alpha
    !
    null

Feel free to experiment with the (:else:) markup here.

Peak memory: 1,484,760 bytes