Tables

Tables are used to display tabular data. The Wiki syntax supports simple tables, where each cell contains simple text, and complex tables, where each cell can contain any type of element, including paragraphs, lists, etc.

Simple Tables

To create a simple table, start a line with a “vertical line” (|) followed by a space. The text after the vertical line will be displayed in the first cell of the first row of the table. To add another cell to the first row, the line must contain another vertical line with a space on either side. The text after the second vertical line will be displayed in the second cell of the first row of the table. This can be repeated for any number of cells.

To end the first row, the line must end with a vertical line. To add another row to the table, simply create another row of cells in the same fashion on the next line in the Wiki document.

| top-left | top | top-right |
| left | middle | right |
| bottom-left | bottom | bottom-right |
top-left top top-right
left middle right
bottom-left bottom bottom-right

If a line that starts a table row doesn’t end with a vertical line, the next line will continue that same row.

| 1,1 | 2,1
| 3,1 |
| 1,2 | 2,2 | 3,2 |
1,1 2,1 3,1
1,2 2,2 3,2

Complex Tables

Each cell of a complex table is divided from the others by a line that consists only of vertical lines and spaces (and any optional special attributes). To start a new table, create a line with four vertical lines (representing the entire table) followed by a space and three vertical lines (representing the first row) followed by a space and two vertical lines (representing the first cell). All Wiki text that follows will be formatted normally and added to the first cell of the first row of the table.

To advance to the next cell of the row, create a line with two vertical lines (representing the next cell).

To advance to the next row, create a line with three vertical lines (representing the next row) followed by a space and two vertical lines (representing the first cell of the new row).

To stop the table, create a line with only four vertical lines.

|||| ||| ||
This is the top-left cell.
* It has an
* unordered list.
||
This is the top-right cell.
#. It has an
#. ordered list.
||| ||
This is the bottom-left cell.

It has two paragraphs.
||
This is the bottom-right cell.
||||

This is the top-left cell.

  • It has an
  • unordered list.

This is the top-right cell.

  1. It has an
  2. ordered list.

This is the bottom-left cell.

It has two paragraphs.

This is the bottom-right cell.

[Document heading rows, heading cells, column span, and row span.]

Heading Rows and Cells

Heading rows and cells are created by adding an asterisk (*) immediately after the vertical bars.

|||| |||* ||
x
||
1
||
2
||
3
||| ||*
1
||
1
||
2
||
3
||| ||*
2
||
2
||
4
||
6
||| ||*
3
||
3
||
6
||
9
||||

x

1

2

3

1

1

2

3

2

2

4

6

3

3

6

9

Column Span and Row Span

Column span is indicated with a number in parentheses immediately after the double-vertical-line for a cell (e.g. (2)). Column span and row span can be specified by separating the numbers with a comma. To specify only row span, use 1 for the column span or omit it entirely.

|||| ||| ||
x
||
x
||
x
||(,4)
(,4)
||| ||
x
||(2,2)
(2,2)
||| ||
x
||| ||(3)
(3)
||||

x

x

x

(,4)

x

(2,2)

x

(3)



Logos Bible Software Wiki

Welcome, Guest! (sign in)