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*$/"<TR VALIGN='CENTER' " . "ALIGN='CENTER'><TD colspan='" . (length($1)/2) . "'>$3</TD></TR>"/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.
---
In the meantime, try this patch: WikiPatches/TableRowSpan -- Michael Rienstra 2006-02-13
I designed the boxes on the [HomePage of KayakWiki], and was quite pleased with the results. This uses <TABLE> tags with STYLE attributes. I don't know what version of usemod kayakwiki uses (I am just a kayakwiki user), but I guess if kayakwiki was upgraded then the homepage would have to go back to looking drab again :-( -- HarryWood - 20th January 2005
wiki.pl: ... $RawHtml = 1; # around line 120 ... Your wiki page: <html> <table> ... </table> </html>
-- 2005-02-13