| Column A | Column B | Column C |
| Entry for row 1, Column A | Entry for row 1, Column B | Entry for row 1, Column C |
| Entry for row 2, Column A | Entry for row 2, Column B | Entry for row 2, Column C |
| Spanning entry | Entry for row 3, Column C | |
| More spanning | ||
The above table is achieved with the following:
||'''Column A'''||'''Column B'''||'''Column C'''|| ||Entry for row 1, Column A||Entry for row 1, Column B||Entry for row 1, Column C|| ||Entry for row 2, Column A||Entry for row 2, Column B||Entry for row 2, Column C|| ||||Spanning entry|| Entry for row 3, Column C || ||||||More spanning||
Currently there is no way to align text left or right within a table cell. Text is always centered.
If the centering is driving you mad, you can easily make it align left instead. change your wiki.pl. Near line 1718 (on my version; yours may vary), there is code like this:
s/^((\|\|)+)(.*)\|\|\s*$/"$3<\/TD><\/TR>\n"/e) {
change the ALIGN='CENTER' to ALIGN='LEFT' and all your tables will be left-aligned (This doesn't give user control on a per-table basis)
Install the TableFormatting wiki patch to refine this feature, including allowing full user control of justifying/centering.
Comments
You can still use the table tags, but you must place the code within an block, and you must enable the use of inline raw HTML code in the wiki.pl code.
wiki.pl:
...
$RawHtml = 1; # around line 120
...
Your wiki page:
header1 header2
col1 col2