Wiki-Quellcode von Column

Version 2.1 von xwikiadmin am 2022/08/11 16:36

Verstecke letzte Bearbeiter
xwikiadmin 1.1 1 {{toc/}}
2
3 = Description =
4 Add the column macro to a page to organise your content in columns. This macro is used in conjunction with the Section macro, and provides more flexibility than page layouts.
5
6 = Parameters =
7
8 |=Parameter|=Name|=Description|
9 |width|Width|The width of the column. Can be specified either in pixels (for example, 400px) or as a percentage of the available page width (for example, 50%).
10
11 = Examples=
12
13 == Simple column ==
14
15 {{code}}
16 {{column width="350px"}}
17 Add the Section macro to a page to organise your content in sections and columns. This macro is used in conjunction with the Column macro.
18 {{/column}}
19 {{/code}}
20
21 {{column width="350px"}}
22 Add the Section macro to a page to organise your content in sections and columns. This macro is used in conjunction with the Column macro.
23 {{/column}}
24
25 == Columns usage in Section ==
26
27 {{code}}
28 {{section border="true"}}
29
30 {{column width="250px"}}
31 Add the Section macro to a page to organise your content in sections and columns. This macro is used in conjunction with the Column macro.
32 {{/column}}
33
34 {{column width="300px"}}
35 Content in the column 2
36 {{/column}}
37
38 {{column width="300px"}}
39 Content in the column 3
40 {{/column}}
41
42 {{column width="250px"}}
43 Content in the column 4
44 {{/column}}
45
46 {{/section}}
47 {{/code}}
48
49 {{section border="true"}}
50
51 {{column width="250px"}}
52 Add the Section macro to a page to organise your content in sections and columns. This macro is used in conjunction with the Column macro.
53 {{/column}}
54
55 {{column width="300px"}}
56 Content in the column 2
57 {{/column}}
58
59 {{column width="300px"}}
60 Content in the column 3
61 {{/column}}
62
63 {{column width="250px"}}
64 Content in the column 4
65 {{/column}}
66
67 {{/section}}