Wiki source code of Layout Macro

Last modified by Mr on 2026/04/29 13:38

Hide last authors
Mr 1.1 1 The Layout macro is usually used with [[Layout Section>>Confluence.Macros.LayoutSection]] and [[Layout Cell>>Confluence.Macros.LayoutCell]] macros.
2
3 {{toc/}}
4
5 = Two equal columns =
6
7 {{code}}
8 {{layout}}
9 {{layout-section ac:type="two_equal"}}
10 {{layout-cell}}
11 Lorem Ipsum is simply dummy text of the printing and typesetting industry.
12 {{/layout-cell}}
13
14 {{layout-cell}}
15 There are many variations of passages of Lorem Ipsum available.
16 {{/layout-cell}}
17 {{/layout-section}}
18 {{/layout}}
19 {{/code}}
20
21 {{layout}}
22 {{layout-section ac:type="two_equal"}}
23 {{layout-cell}}
24 Lorem Ipsum is simply dummy text of the printing and typesetting industry.
25 {{/layout-cell}}
26
27 {{layout-cell}}
28 There are many variations of passages of Lorem Ipsum available.
29 {{/layout-cell}}
30 {{/layout-section}}
31 {{/layout}}
32
33 = Three equal columns =
34
35 {{code}}
36 {{layout}}
37 {{layout-section ac:type="three_equal"}}
38 {{layout-cell}}
39 Nemo enim ipsam voluptatem quia voluptas sit aspernatur.
40 {{/layout-cell}}
41
42 {{layout-cell}}
43 Nor again is there anyone who loves or pursues or desires to obtain pain of itself.
44 {{/layout-cell}}
45
46 {{layout-cell}}
47 To take a trivial example, which of us ever undertakes laborious physical exercise.
48 {{/layout-cell}}
49 {{/layout-section}}
50 {{/layout}}
51 {{/code}}
52
53 {{layout}}
54 {{layout-section ac:type="three_equal"}}
55 {{layout-cell}}
56 Nemo enim ipsam voluptatem quia voluptas sit aspernatur.
57 {{/layout-cell}}
58
59 {{layout-cell}}
60 Nor again is there anyone who loves or pursues or desires to obtain pain of itself.
61 {{/layout-cell}}
62
63 {{layout-cell}}
64 To take a trivial example, which of us ever undertakes laborious physical exercise.
65 {{/layout-cell}}
66 {{/layout-section}}
67 {{/layout}}
68
69 = Two columns, one behaving as sidebar on the right=
70
71 {{code}}
72 {{layout}}
73 {{layout-section ac:type="two_right_sidebar"}}
74 {{layout-cell}}
75 At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos.
76 {{/layout-cell}}
77
78 {{layout-cell}}
79 Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus.
80 {{/layout-cell}}
81 {{/layout-section}}
82 {{/layout}}
83 {{/code}}
84
85 {{layout}}
86 {{layout-section ac:type="two_right_sidebar"}}
87 {{layout-cell}}
88 At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos.
89 {{/layout-cell}}
90
91 {{layout-cell}}
92 Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus.
93 {{/layout-cell}}
94 {{/layout-section}}
95 {{/layout}}
96
97 = Two columns, one behaving as sidebar on the left=
98
99 {{code}}
100 {{layout}}
101 {{layout-section ac:type="two_left_sidebar"}}
102 {{layout-cell}}
103 At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos.
104 {{/layout-cell}}
105
106 {{layout-cell}}
107 Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus.
108 {{/layout-cell}}
109 {{/layout-section}}
110 {{/layout}}
111 {{/code}}
112
113 {{layout}}
114 {{layout-section ac:type="two_left_sidebar"}}
115 {{layout-cell}}
116 At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos.
117 {{/layout-cell}}
118
119 {{layout-cell}}
120 Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus.
121 {{/layout-cell}}
122 {{/layout-section}}
123 {{/layout}}
124
125 = Three columns, sidebar-content-sidebar =
126
127 {{code}}
128 {{layout}}
129 {{layout-section ac:type="three_with_sidebars"}}
130 {{layout-cell}}
131 On the other hand, we denounce with righteous indignation
132 {{/layout-cell}}
133
134 {{layout-cell}}
135 But in certain circumstances and owing to the claims of duty.
136 {{/layout-cell}}
137
138 {{layout-cell}}
139 On the other hand, we denounce with righteous indignation.
140 {{/layout-cell}}
141 {{/layout-section}}
142 {{/layout}}
143 {{/code}}
144
145 {{layout}}
146 {{layout-section ac:type="three_with_sidebars"}}
147 {{layout-cell}}
148 On the other hand, we denounce with righteous indignation
149 {{/layout-cell}}
150
151 {{layout-cell}}
152 But in certain circumstances and owing to the claims of duty.
153 {{/layout-cell}}
154
155 {{layout-cell}}
156 On the other hand, we denounce with righteous indignation.
157 {{/layout-cell}}
158 {{/layout-section}}
159 {{/layout}}