Creating Tables | ||||||||||||
Tables are often needed for organizing information. Tiki has a simple syntax for defining a table. 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. Both use the pipe symbol (|, above the \ on most PC keyboards) to separate table columns. A double pipe (||) starts and ends the table in both types of syntax. if || is the row delimiter, then table rows are separated by double pipes (||), just as at the beginning and end of the table: ||row1-column1|row1-column2||row2-column1|row2-column2|| produces
||row1-column1|row1-column2
produces
|
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|| or ||row1-column1|row1-column2|row1-column3
produces
|
Line Breaks | |||||||||
||Sample Table
or ||Sample Table||row1-col1|row1-col2%%%second line%%%third line|row1-col3||row2-col1|row2-col2|row2-col3%%%second line|| produces:
|
Centering Table Text | |||||||||
::This text is centered.:: produces: This text is centered.
produces:
|
Centered Tables | ||||||
{BOX(align=>center)}||row1-col1|row1-col2
to produce:
|
Alternative: | ||||||
To center a table, you could simply the CENTER tag: Copy to clipboard
|
))Right-Aligned(( Tables | |||||||||
{DIV(class=>class, type=>div, align=>right, float=>right)}||::Sample Table::
to produce:
|
Help! | |
Try It Out
Visit the SandBox and try it! |