This page last changed on Jun 17, 2007 by rosie@atlassian.com.

This page is outdated. Please see new page.

Layout Macros

Usage: {section} {column:width=30%}content{column} {column:width=70%}content{column} {section}
Description: Allows display content in multiple columns.
Example:
{section}
{column:width=30%}Some stuff goes here{column}
{column:width=70%}Some more stuff goes here{column}
{section}
Input: Any wiki content within columns
Output: A column display of that content.
Bundled with Confluence?: Yes

Layout macros allow you to define a {section} of the page that is divided into multiple {column}'s.

You must always define {column}s inside a {section}, or the macro will not work.

Optional parameters for the {section} macro:

  • border - use {section:border=true} to draw the columns with borders around them. The default is no border.

Option parameters for the {column} macro:

  • width - use the width parameter to determine how wide each column should be. By default, the columns are automatically resized to fit their contents.

Example:

{section}
  {column:width=30%}
    This is some _Wiki Markup_
  {column}

  {column:width=70%}
    This is some more wiki *markup*
  {column}
{section}

Produces:

This is some Wiki Markup

This is some more wiki markup

And the same with {section:border=true}

This is some Wiki Markup

This is some more wiki markup

Document generated by Confluence on Dec 20, 2007 18:51