This page is part of a static HTML representation of the TiddlyWiki at https://tiddlywiki.com/

cycle Operator (Examples)

18th November 2020 at 5:54pm

Cycle through a list of values to add as a tag:

<$action-listops $tiddler="target" $tags="+[cycle[todo soon now maybe done ]]" />

Cycle through a list of values to add as a tag, in reverse order:

<$action-listops $tiddler="target" $tags="+[cycle[todo soon now maybe done ],[-1]]" />

These examples make use of the Days of the Week tiddler.

[list[Days of the Week]first[]] +[cycle{Days of the Week!!list}]

[list[Days of the Week]first[]] +[cycle{Days of the Week!!list},[2]]