RikuloRikulo

The while tag

[:while condition] ... [/while]

Specifies the while statement. For example,

[:while user.hasMoreRoles]
  do something with it
[/while]

As shown, it must be closed with [/while].