[All Adaptavist Apps]
This macro required Theme Builder 3 or above
* rootpage - The root of the pagetree (defaults to @space) o SPACEKEY:pagename - a specific page in a specific space o o pagename - a specific page in the current space o @self - the current page o @parent - the parent of the current page o @space - the currently viewed space showing all top-level pages and also news items o @root - same as @space o @home - the homepage of currently viewed space (does not include news items) o @dashboard - the Confluence dashboard showing all spaces the user has access to * space - the space that should be used for the root of this pagetree (optional) * page - the name of the page that should be use for the root of this pagetree (optional) * target - the target window that the pages should open into (eg. _blank or _self) * showIcons - whether to show icons in the tree (default true) * selectionMode - the default click selection mode: node (default) or row * autoCollapse - automatically collapse other nodes when a node is expanded: false (default) or true * indent - indent each layer of the tree: true (default) or false * showRoot - display the root node: true (default) or false * branchStyle - the branch style (may be deprecated in future release) o plus-lines: +/- buttons, dotted lines o plus-nolines: +/- buttons, no lines o ball-lines: yellow sphere buttons, dotted lines o ball-nolines: yellow sphere buttons, no lines o arrow: green arrow buttons, no lines * iconStyle - the icon style: o computer - computer style icons o website - website style icons o builder - Adaptavist's Builder style icons o bookshelf - bookshelf style icons * class - the css class to attach to the pagetree * openpage - open the selected page on click: true (default) or false * allowdrag - allow pages to be moved in the space/site by dragging and dropping in the tree: false (default) or true * treename - the name of the tree (used with pagepanel macro) * titletip - use the page title as the tooltip * initialDepth - restrict the expansion at startup to x levels