Render a [[#if]] conditional element.
[[#if]]
The condition is treated as a string: values "false", "null", "", and "0" are falsy; everything else is truthy. The selected branch's elements are rendered with trailing whitespace trimmed.
"false"
"null"
""
"0"
The current render context.
If-condition data with condition string and then/else branches.
Render a
[[#if]]conditional element.The condition is treated as a string: values
"false","null","", and"0"are falsy; everything else is truthy. The selected branch's elements are rendered with trailing whitespace trimmed.