Code source wiki de Expand

Modifié par superadmin le 16/03/2025 - 00:00

Masquer les derniers auteurs
Admin 1.1 1 The expand macro is a bridge between Confluence and XWiki. It provides an expandable / collapsible section for writting content.
2
3 = Parameters =
4
5 |=Parameter|=Description|=Required|=Default
Admin 4.1 6 |**title**|Text displayed on the collaspse toggle|No|(empty)
superadmin 5.1 7 |**expanded**|If selected the expand will be opened automatically when loading the page.|No|False
Admin 1.1 8
Admin 4.1 9 Note: if no title is provided, the title of the first panel or the first header appearing in the content will be used. if there is no such header or panel title, "Click here to expand…" will be used.
Admin 1.1 10
11 = Example Usage =
12
superadmin 5.1 13 {{expand expanded="false"}}
superadmin 8.1 14 Hello
Admin 1.1 15 {{/expand}}