History: PluginSplit
Preview of version: 8
This plugin can be used to generate an html table. At the difference of a wiki table, it preserves the line breaks.
To split a page in two or more columns, use --- as the separator:
Example:
{SPLIT()} -=hey=- one two three --- -=hoy=- foo bar test {SPLIT}
Produces:
one two three |
foo bar test |
If you want to do another row, use @@@:
Example:
{SPLIT()} -=hey=- one
two
three --- -=hoy=- foo bar test @@@ next --- next{SPLIT}
Produces:
two three | onefoo bar test |
next line | next line |
The complete list of parameters is:
joincols=> y|n|0|1 : if it is true 'colspan' attribute will be generated if column missed - default 'y'
fixedsize=> y|n|0|1 : 'width' attribute will be generated for TDs - default 'y'
colsize=>size1|size2|...: are the size in percent of each TDs
In 1.10:
first=> col|line : col is the editorial way: the column is filled first, line is the html way, the row is filled first
padding? - does the split plugin use a cellpadding parameter? currently it seems there is no way to keep text in the columns from running together.
{SPLIT(first=col)}r1c1---r2c1---r3c1@@@r1c2---r2c2{SPLIT}
{SPLIT(first=>line)}r1c1---r1c2@@@r2c1---r2c2{SPLIT}
If you want to use the horizontal rule in a split cell ---, you have to use more than 2 dashes ----