Help & Information
Click for here for the quick reference guide, or here for a list of HowTo pages...
The Help wiki currently has 26 pages. The last time a page was edited in this wiki was July 1, 2020 at 10:18. To link to pages in this wiki from other wikis use the wiki reference [help:page_name]. The full reference for any page can be found at the top of that page. This wiki can be sent to you as a wiki book.
All Help related pages | List all categories | Get wiki book |
Did you know about...
Contents [show] |
Tables
Tables can be used to display tabular data, or to format text into columns.
Syntax
| column | column
|| column span
|\ row span
The first | must be the first character on a new line.
Complex formatting can be achieved using the column span (| followed by an extra | for every column joined) and row span (| followed by \ for every row joined). The | character is known as the 'pipe' character.
Examples
- Wiki Text -
| a table cell | another cell | | the second row | another cell | |\ a cell spanning rows | another cell | | another cell | || spanning columns |
- Formatted Text -
a table cell | another cell |
the second row | another cell |
a cell spanning rows | another cell |
another cell | |
spanning columns |
- Wiki Text -
| tables without borders | column 2 | row 2 column 1 | text here is aligned to the previous line
- Formatted Text -
tables without borders | column 2 |
row 2 column 1 | text here is aligned to the previous line |
- Wiki Text -
|`yellow' black text on yellow |`yellow' `blue blue text on yellow' |
- Formatted Text -
black text on yellow | blue text on yellow |
Details
Tables are always stretched to be the width of the page. They cannot be placed inside a paragraph. Even though the examples on this page have their columns aligned, this is not necessary and has only been done to enhance readability.
Apart from displaying tabular data, tables can also be used to align text into multiple columns on the page, when used without borders.
Formatting cells
You can change the background colour of cells in a table by enclosing the colour in and ' and placing it immediately after the | character.
See also
Categories: Help | Syntax
Does this page need editing? Maybe the contents or references
need updating, there might be spelling or grammatical errors,
or you might be able to improve the formatting or add your
own expertise.
If so,
please update Tables!