item_ids required default (none)Long or short id of the tree root - the item whose subtree you want. Pass several ids separated by a dash to walk more than one root; their ids are merged and de-duplicated. The root id is always included in the result.
relation_field optional default relation........The relation field that links a parent item to its child items. Defaults to relation........ - change it only when your tree is built on a different relation field.
reverse optional default (empty = forward)Set to 1 for a reverse tree, where the relation field points from child to parent (each item names its parent) instead of parent to child. A reverse tree is limited to the slice of the root id.
sort_string optional default (none)Orders the items within the tree, in the same format as a view sort (for example sort[0][headline........]=a). It currently takes effect only for reverse trees.
slices optional default (all slices)Dash-separated list of slice ids the walk is allowed to enter. Items in other slices are skipped. Leave empty to follow the relation into any slice.
{tree:1a2b3c4d5e6f70819293a4b5c6d7e8f9:relation........:::sliceid1-sliceid2}
{view:12345:{tree:1a2b3c4d5e6f70819293a4b5c6d7e8f9}}
{tree:a65d19971986e750761f0efcd9a16b1b}
[{tree:}]
{count:{tree:a65d19971986e750761f0efcd9a16b1b}}
{tree:a65d19971986e750761f0efcd9a16b1b-4f3362a62847fe1f8c59ba28a92d42c0}
{ifeq:{tree:a65d19971986e750761f0efcd9a16b1b}:{tree:a65d19971986e750761f0efcd9a16b1b:relation........}:same:different}
{tree:a65d19971986e750761f0efcd9a16b1b-a65d19971986e750761f0efcd9a16b1b}
{tree:1a2b3c4d5e6f70819293a4b5c6d7e8f9}
{tree:1a2b3c4d5e6f70819293a4b5c6d7e8f9:relation.......1}
{tree:1a2b3c4d5e6f70819293a4b5c6d7e8f9:relation........:1}