Zuletzt geändert von xwikiadmin am 2025/01/07 11:39

Verstecke letzte Bearbeiter
xwikiadmin 1.1 1 == Description =
2
3 This is a Confluence bridge for the Gallery macro. It uses the XWiki Gallery macro.
4
5 Only a subset of the parameters supported by the Confluence macro are supported by this bridge macro: title, exclude, include and page. The remaining parameters are ignored:
6 * columns does not make sense for the XWiki macro as the images are displayed differently
7 * excludeLabel and includeLabel are not supported since XWiki does not support attachment tags
8 * sort and reverse have not been implemented in this bridge macro
9
10 = Parameters =
11
12 |=Parameter|=Description|=Required|=Default
13 |**title**|Title of the gallery.|No|
14 |**exclude**|Excluded images (comma separated).|No|
15 |**include**|Included images (comma separated).|No|
16 |**page**|Pages containing the images to display. Current page if empty.|No|
17
18 = Examples of usage =
19
20 == All images of current page ==
21
22 {{code}}
23 {{confluence_gallery/}}
24 {{/code}}
25
26 The result is the following :
27
28 {{confluence_gallery/}}
29
30 == Exclude one image ==
31
32 {{code}}
33 {{confluence_gallery exclude="img1.png"/}}
34 {{/code}}
35
36 The result is the following :
37
38 {{confluence_gallery exclude="img1.png"/}}
39
40 == Include two images ==
41
42 {{code}}
43 {{confluence_gallery include="img1.png,img3.png"/}}
44 {{/code}}
45
46 The result is the following :
47
48 {{confluence_gallery include="img1.png,img3.png"/}}
49
50 == All images of the Sandbox page ==
51
52 {{code}}
53 {{confluence_gallery page="Sandbox" title="Sandbox images"/}}
54 {{/code}}
55
56 The result is the following :
57
58 {{confluence_gallery page="Sandbox" title="Sandbox images"/}}