Section

Zuletzt geändert von xwikiadmin am 2023/10/26 09:30

Description

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, and provides more flexibility than page layouts.

Parameters

ParameterNameDescriptionDefault value
borderShow BorderSelect this option to draw a border around the columns, when they exist.false

Examples

Simple section without border

{{section}}
Content of a simple section, without border.
{{/section}}

Content of a simple section, without border.

Simple section with border, no column

No border is added, because the borders are applied on columns, when they exist.

{{section border="true"}}
Content of a simple section, with border.
{{/section}}

Content of a simple section, with border.

Simple section with border and column

{{section border="true"}}
{{column}}
Content of a simple section, with border.
{{/column}}
{{/section}}

Content of a simple section, with border.

Section with 4 columns

{{section border="true"}}

{{column width="250px"}}
Content in the column 1
{{/column}}

{{column width="300px"}}
Content in the column 2
{{/column}}

{{column width="300px"}}
Content in the column 3
{{/column}}

{{column width="250px"}}
Content in the column 4
{{/column}}

{{/section}}

Content in the column 1

Content in the column 2

Content in the column 3

Content in the column 4