Column

Last modified by Jim Bach on 2026/07/01 12:24

Description

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.

Parameters

ParameterNameDescription
widthWidthThe 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%).

Examples

Simple column

{{column width="350px"}}
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.
{{/column}}

Failed to execute the [include] macro. Cause: [Current user [null] doesn't have view rights on document [xwiki:Licenses.Code.VelocityMacros]]. Click on this message for details.

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.

Columns usage in Section

{{section border="true"}}

{{column width="250px"}}
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.
{{/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}}

Failed to execute the [include] macro. Cause: [Current user [null] doesn't have view rights on document [xwiki:Licenses.Code.VelocityMacros]]. Click on this message for details.

Failed to execute the [include] macro. Cause: [Current user [null] doesn't have view rights on document [xwiki:Licenses.Code.VelocityMacros]]. Click on this message for details.

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.

Failed to execute the [include] macro. Cause: [Current user [null] doesn't have view rights on document [xwiki:Licenses.Code.VelocityMacros]]. Click on this message for details.

Content in the column 2

Failed to execute the [include] macro. Cause: [Current user [null] doesn't have view rights on document [xwiki:Licenses.Code.VelocityMacros]]. Click on this message for details.

Content in the column 3

Failed to execute the [include] macro. Cause: [Current user [null] doesn't have view rights on document [xwiki:Licenses.Code.VelocityMacros]]. Click on this message for details.

Content in the column 4