Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

There is also an option in the macro for expanding or collapsing all children.

Example

Using the Macro

To use the macro, edit a page and select the wiki markup tab. You can simply paste the {pagetree} macro anywhere in the page where you want the page browser to appear. The macro takes several parameters outlined below. The root Here's my favorite macro expression which I use on my wikis. The root=@self parameter sets the root at the current specified 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. In addition, the expandCollapseAll parameter provides expand/collapse all links which are handy.

Code Block
{pagetree:root=@self|expandCollapseAll=true}

...

For more detailed documentation, see the official Pagetree Macro Docs.

Related macros

  • {children}