Code source wiki de Content Report Table Macro
Modifié par Admin le 16/10/2025 - 23:33
Afficher les derniers auteurs
| author | version | line-number | content |
|---|---|---|---|
| 1 | = Description = | ||
| 2 | |||
| 3 | The Content Report Table macro is a bridge between Confluence and XWiki. It provides a content report in table format, based on labels. | ||
| 4 | = Parameters = | ||
| 5 | |||
| 6 | |=Parameter|=Description|=Required|=Default | ||
| 7 | |**labels**|The labels (tags) to report on, separated by comma.|Yes| | ||
| 8 | |**spaces**|The space keys to report on, separated by a comma and a blank space (e.g: "Confluence, XWiki")|No| | ||
| 9 | |**maxResults**|Maximum Number of results (pages).|No|20 | ||
| 10 | |||
| 11 | = Example of usage = | ||
| 12 | |||
| 13 | {{code}} | ||
| 14 | {{content-report-table labels="content-report,macro" spaces="Confluence"/}} | ||
| 15 | {{/code}} | ||
| 16 | |||
| 17 | The result is the following : | ||
| 18 | |||
| 19 | {{content-report-table labels="content-report,macro" spaces="Confluence"/}} |