Section Macro

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. 

This macro is great for situations where:

  • you need more than three columns, or
  • you need your columns to be a specific width. 

On this page:

Screenshot: page with a four column layout using the Section and Column macros. 

Want a simpler way to lay out your page? Try a page layout instead.

Add this macro to your page

To add the Section macro to a page:

  1. Unable to render {include} The included page could not be found.
  2. Choose Section from the Formatting category.
  3. Choose Insert

You can then start typing into the macro body, add some Column macros, then publish your page to see the macro in action. 

Screenshot: section and column macros in the editor

Change the macro parameters

Error rendering macro 'excerpt-include'

User 'null' does not have permission to view the page.

Here's a list of the parameters available in this macro. 

Parameter

Default

Description

Show Border
(border)

false

Select this option to draw a border around the section and columns.

Note: Without a Column macro , the border will not be displayed correctly.

Error rendering macro 'excerpt-include'

User 'null' does not have permission to view the page.

Other ways to add this macro

Add this macro as you type

Unable to render {include} The included page could not be found.

Add this macro using wiki markup

Unable to render {include} The included page could not be found.

Macro name: section

Macro body: Rich text, consisting of one or more Column macros.

{section:border=true}
{column:width=100px}
This is the content of *column 1*.
{column}
{column}
This is the content of *column 2*.
{column}
{section}
Last modified on May 13, 2020

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.