Code source wiki de Confluence bridge for Page Tree
Modifié par Admin le 16/10/2025 - 23:33
Afficher les derniers auteurs
| author | version | line-number | content |
|---|---|---|---|
| 1 | = Description = | ||
| 2 | |||
| 3 | This macro is a bridge for the Confluence Page Tree macro. It displays the list of pages in the specified page using the [[Document Tree Macro>>https://extensions.xwiki.org/xwiki/bin/view/Extension/Document%20Tree%20Macro]]. | ||
| 4 | |||
| 5 | = Parameters = | ||
| 6 | |||
| 7 | |=Parameter|=Description|=Accepted values|=Default value|=Mandatory | ||
| 8 | |**root**|The space to show.|**@home** (list the pages under the home page of the space), **@self **(under this page), **@none** (all the pages of the space), **@parent** (all the pages in the parent space), or the name of a space|**@home**|No | ||
| 9 | |||
| 10 | = Example of usage = | ||
| 11 | |||
| 12 | {{code}} | ||
| 13 | {{confluence_pagetree root="Main" /}} | ||
| 14 | {{/code}} | ||
| 15 | |||
| 16 | = Result = | ||
| 17 | |||
| 18 | {{confluence_pagetree root="Main"/}} |