Dashboard > Confluence User Guides and Documents > ... > Guide to Confluence Macros > (outdated) Layout Macros
(outdated) Layout Macros Log In   View a printable version of the current page.

Added by cmiller, last edited by rosie@atlassian.com on Jun 18, 2007  (view change)
Labels: 

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

DEMONSTRATION LICENSE - This Confluence site is for demonstration purposes only. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.6.1 Build:#916 Nov 09, 2007) - Bug/feature request - Contact Administrators