ids required default (empty string - returns empty)A dash-separated list of values to randomise, usually a list of item ids (for example produced by ids). Each value is trimmed; empty segments and a bare zero are dropped before shuffling. A list with one value returns that value unchanged; an empty list returns an empty string.
limit optional default (none - returns all)Optional maximum number of values to return after shuffling. When set to a positive integer N, only the first N values of the shuffled list are returned, which turns shuffle into a random picker (limit 1 returns one random value). When omitted, zero or empty, the whole shuffled list is returned.
{count:{shuffle:0-1-2}}
{count:{shuffle:a-b-c-d-e}}
{shuffle:}
{count:{shuffle:a-b-c-d-e:2}}
{shuffle:red-green-blue-yellow:1}
{shuffle:{ids:9e1d2b9f88e3d6c3bf0eb967378610d6}:3}
{shuffle:Alpha-Beta-Gamma-Delta}
{shuffle:Alpha}
{sort:{shuffle:3-1-2}}