Child pages
  • Working with Tables
Skip to end of metadata
Go to start of metadata

You can use Confluence wiki markup or the Rich Text editor to create tables. Below are some guidelines on using wiki markup to create tables.

Confluence allows you to create two types of tables.

Table Type 1

Allows you to create a simple table with an optional header row. You cannot set the width of the columns in this table.
Use double bars for a table heading row.

What you need to type:

||heading 1||heading 2||heading 3||
|cell A1|cell A2|cell A3|
|cell B1|cell B2|cell B3|

What you will get:

heading 1

heading 2

heading 3

cell A1

cell A2

cell A3

cell B1

cell B2

cell B3

You can also use a vertical header.

What you need to type:

||heading 1|col A1|col A2|col A3| 
||heading 2|col B1|col B2|col B3| 

What you will get:

heading 1

col A1

col A2

col A3

heading 2

col B1

col B2

col B3

Table Type 2

This method allows you to specify the width of the columns in the table.

What you need to type

{section:border=true}

{column:width=30%}
Text for this column goes here. This is  the smaller column with a width of only 30%.
{column}

{column:width=70%}
Text for this column goes here. This is  the larger column with a width of 70%.
{column}

{section}


What you will get

Text for this column goes here. This is the smaller column with a width of only 30%.

Text for this column goes here. This is the larger column with a width of 70%.

(info) For more details please see the Column Macro and the Section Macro.

Advanced Formatting

Colour and Other Formatting

To add colour and other formatting to your tables, you can use the Panel Macro within columns.
More table-formatting options may be available if your Confluence administrator has installed additional macros.

Lists

Here's an example of how to embed lists in a table:

What you need to type

||Heading 1||Heading 2||
|* Item 1
* Item 2
* Item 3|# Item 1
# Item 2
# Item 3|

What you will get

Heading 1

Heading 2

  • Item 1
  • Item 2
  • Item 3
  1. Item 1
  2. Item 2
  3. Item 3

Notes

  • Currently, Confluence does not support nested tables.
  • In Confluence it is not possible to add a cell that spans more than one column. If you are interested in this feature, you can watch and vote for the feature request: CONF-3808.
RELATED TOPICS

Working with Tables in the Rich Text Editor
Working with Macros

Take me back to Wikis Help Guide

  • No labels