condition optionalThe value tested. It is trimmed of leading and trailing whitespace, then compared for exact string equality to the one-character string 1. Anything other than 1 (including 0, empty, 01, 1.0 or true) takes the else branch. Typically a checkbox or boolean field-getter, which prints 1 when set and nothing when unset.
text optionalThe text returned when the condition equals 1.
else_text optionalThe text returned when the condition is not 1. Optional - defaults to empty, so a two-argument call prints nothing on the false branch.
{if1:1:published:draft}
{if1:0:published:draft}
[{if1:0:visible}]
[{if1::yes:no}]
{if1: 1 :yes:no}
{if1:01:yes:no}
{if1:1.0:yes:no}
{if1:{item:5726c2c6b035d7aab450d1794e9e90d7:_#SOLD_OUT}:Sold out:Registration open}
{if1:1:{if1:0:A:B}:C}