Column Macro

Last modified by slauriere on 2024/12/16 00:08

cogCreate columns in the content of a page
TypeJAR
Category
Developed by

Jerome

Active Installs32
Rating
0 Votes
LicenseGNU Lesser General Public License 2.1

Installable with the Extension Manager

Description

The Column macro has been obsoleted by the more powerful Container Macro, which offers additional capabilities such as controlling column widths and enabling advanced layout customization.

Usage

{{column}} macros must be wrapped in a {{section}} macro. You can have as many columns as you want under a section. {{section}} has only one parameter : justify, that indicates if its columns must be justified (default is false). {{column}} has no parameter.

{{section justify="true"}}
{{column}}
content of column 1
{{/column}}

{{column}}
Content of column 2
{{/column}}
{{/section}}

It's mandatory that all the columns in the section are interpreted as block macros, not inline macros. Thus the empty line between the two columns.

Example result

screenshot.png

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager).

You can also use the manual method which involves dropping the JAR file and all its dependencies into the WEB-INF/lib folder and restarting XWiki.

Release Notes

v1.0

Initial release

Get Connected