Location: PHPKode > projects > SithTemplate > SithTemplate-1.1/docs/examples/stdlib/00_tag_cycle.html
{% for entry in entries %}
 {% cycle "red" "blue" "green" %}
{% endfor %}

{% cycle "red" "blue" "green" as rgbCycle %} {# => red #}
{% cycle rgbCycle %}                         {# => blue #}
{% cycle rgbCycle %}                         {# => green #}
{% cycle rgbCycle %}                         {# => red #}
Return current item: SithTemplate