Wiki source code of Expand

Last modified by Frank Fock on 2025/04/04 21:18

Hide last authors
Frank Fock 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
Frank Fock 3.1 6 |**title**|Text displayed on the collaspse toggle|No|(empty)
7 |**expanded**|If selected the expand will be opened automatically when loading the page.|No|False
Frank Fock 1.1 8
Frank Fock 3.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.
Frank Fock 1.1 10
11 = Example Usage =
12
Frank Fock 3.1 13 {{expand expanded="false"}}
Frank Fock 4.1 14 Hello
Frank Fock 1.1 15 {{/expand}}