History: WikiTables
Preview of version: 7
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, if || table mode is enabled.
- WikiSyntax doesn't provide a way to put line breaks in a cell (without causing a new row to appear) without using HTML . If you are allowed to use HTML, do it with the following:
- Allow HTML (check the box)
- Instead of a line break, put <br>
Example : ||r1c1l1|r1c2l1<br>r1c2l2||
Visit the SandBox and try it!