The
Value parameters list has the same syntax as the parameters list for the
Value tag: see
The {{Value}} Tag. However, note that the parameters list must result in a
TRUE/FALSE result, and must therefore contain a
MATCH operation.
The definition of
content includes both HTML/XML and replacement tags.
No special flow layout is implied by this tag: the
While and
EndWhile tags can be on one line, or can span multiple lines. These blocks can also be nested.
A
While block must be completely enclosed within another
While block, or the true or false section of an If block. It is not permissible to use an If block to conditionally render an
EndWhile tag unless the
While tag is in the same block.
If the
While /
EndWhile tag is the last tag on a line, a newline will be added. If this tag is the only tag on the line, a blank line will be output.
To avoid this, place a comment tag at the end of the line. For example,
{{ EndWhile }}{{//}}.