the cycle operator accepts 1 or 2 parameters, see below for details
output
the input list with the titles specified in the parameter toggled in a cyclical manner
New in: 5.1.23
The cycle operator requires at least one parameter.
[cycle[<titles>],[step-size]]
titles : a title list to toggle in the input list cyclically. If no title from the parameter is present in the input, the first title is added. If a title from the parameter is present in the input, it is replaced with the next title from the parameter. Note that all titles specified in this parameter should be unique.
step-size: (optional). Defaults to 1. Specifies the number of steps in the parameter list to move each time. Can be a negative number.
While the cycle operator interprets its first parameter as a list of titles to cycle through, the toggle Operator accepts an unlimited number of distinct parameters and offers similar functionality.