Skip to the content
Documentation

sequence

No ratings yet

Summary

Creates a sequence that can be iterated.

Usage

{sequence name=name loop=loop}

Parameters

Name Type Description Required
name string The name of the target namespace. Yes.
loop array The iteration elements (as an array). Yes.

Description

This function allows the creation of a sequence which can be iterated. If the number of iterations exceed the length of the sequence, the contents of the sequence will be wrapped and thus repeated. It is typically useful when it comes to the creation of lists / tables with alternating colors. Both the name and the elements (which will be iterated) must be defined.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.