 |
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: |
|
| 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:
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 |
Comments (9)
Jun 15, 2005
Anonymous says:
I see no bordersI see no borders
Jul 12, 2005
Andrew Ostler says:
nor do I.nor do I.
Jun 21, 2005
Anonymous says:
Can sections and columns be nested?Can sections and columns be nested?
Jul 20, 2005
Anonymous says:
content contentcontent
content
Sep 30, 2005
Guy Fraser says:
I don't know about anyone else, but borders are not workig on the Section macro ...I don't know about anyone else, but borders are not workig on the Section macro when using Confluence 1.4.1 - which version was that feature added in?
Sep 30, 2005
Guy Fraser says:
It works in 1.4.3 so it must have been added in 1.4.3 or 1.4.2 anyone know which...It works in 1.4.3 so it must have been added in 1.4.3 or 1.4.2 - anyone know which as I don't have a 1.4.2 to test on...
Dec 02, 2005
Prakash Sachania says:
It seems that nesting of "section" macro is not allowed or recognized "section" ...It seems that nesting of "section" macro is not allowed or recognized - "section" within another "section". Is that so? Is there any plan for supporting nesting?
Dec 05, 2005
Jens Schumacher says:
Nestes sections are currently not supported. One of the reasons is that the synt...Nestes sections are currently not supported. One of the reasons is that the syntax will simply become unreadable.
However, if you think this is a useful feature, please file a feature request on http://jira.atlassian.com.
Cheers,
Jens
Jan 04, 2007
Veijo Paasonen says:
It will be useful feature. I made some own macro to hande situation. macro nam...It will be useful feature. I made some own macro to hande situation.
With these three macros it is possible to make table as "nested columns" inside section. Code don't look nice as Jens told. Syntax easily become unreadable, but it works.
e.g.
{begincol} h2. part one {newcol} h2. part two {newcol} h2. part three {endcol}Add Comment