Code source wiki de Confluence bridge for Children
Modifié par Admin le 21/07/2025 - 08:55
Afficher les derniers auteurs
| author | version | line-number | content |
|---|---|---|---|
| 1 | = Description = | ||
| 2 | |||
| 3 | This is a Confluence bridge for the Children macro. It uses the document tree macro to display the children of a given page. | ||
| 4 | |||
| 5 | Only the page parameter is supported for now. | ||
| 6 | |||
| 7 | = Parameters = | ||
| 8 | |||
| 9 | |=Parameter|=Description|=Required|=Default | ||
| 10 | |**page**|The reference of a document|No| | ||
| 11 | |**first**|The number of children that will be displayed initially|No| | ||
| 12 | |||
| 13 | = Example Usage = | ||
| 14 | |||
| 15 | Display the children of the current page: | ||
| 16 | |||
| 17 | {{code}} | ||
| 18 | {{confluence_children/}} | ||
| 19 | {{/code}} | ||
| 20 | |||
| 21 | Display the first 10 children of a custom page: | ||
| 22 | |||
| 23 | {{code}} | ||
| 24 | {{confluence_children page="Main.WebHome" first="10"/}} | ||
| 25 | {{/code}} |