Column Macro

Last modified by Andreea Popescu on 2024/07/05 17:59

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

Jerome

Rating
0 Votes
LicenseGNU Lesser General Public License 2.1

Installable with the Extension Manager

Description

Since XE 2.5M2, the same purpose is achieved by the container macro, with appropriate parameters.

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