History: WikiTables
Preview of version: 6
In Wiki pages and other contexts that support Wiki formatting (including articles, forums, and blogs), you can create simple tables. A table can be entered using two alternative syntaxes; your administrator chooses which one is enabled.
Quick Reference
- || as delimiter (default)
||row1-column1|row1-column2||row2-column1|row2-column2||
- newline as delimiter
||row1-column1|row1-column2 row2-column1|row2-column2||
Result:
row1-column1 | row1-column2 | |
row2-column1 | row2-column2 |
Spanning Across Columns
You can span across multiple columns (colspan) in a row with the following syntax:
||row1-column1|row1-column2|row1-column3||row2-columns123||row3-column1|row3-columns23||
Result:
::row1-column1 | row1-column2 | row1-column3 |
row2-columns123 | ||
row3-column1 | row3-columns23 |
Note that partial colspanning only occurs in the last columns of a table. For instance, there is no way to span across the first two columns of a three column table.
Help!
- If you see the WikiSyntax for your table instead of your table, check for newlines. Pressing Enter in the middle of a table will cause the table to break up, unless newline table mode is enabled.
- If you want to create a cell with more text with linebreaks you must do the following:
- setup || as new row delimiter in admin->wiki
- create/edit a page and allow HTML (check the box)
- create/edit the table in ONE STREAM (without any linebreak, cr/lf or something)
- then insert at the positions you need a <BR>, this will break the lines inside the cell
- IMPORTANT: the whole table must be A STREAM (one long line)
Visit the SandBox and try it!