...
There is also an option in the macro for expanding or collapsing all children.
Example
Here's my favorite macro expression which I use on my wikis. The root=@self parameter sets the root at the current page. You can substitute a page name for @self here instead if you want. If you don't specify a root, it sets the home page as root by default.
Code Block |
---|
{pagetree:root=@self|expandCollapseAll=true} |
...
Screenshot of rendered {pagetree} macro
Macro parameters
Here are all the macro parameters you can control:
...