Tables have now been setup on the message board. They are kind of complicated, but not too bad once you get use to them. Here's an example:
[TABLE="head;width=15em"]Name|cool? |old?
terry|yes|no
elvis|yes|yes
yo momma|no|yes
[/TABLE]
Which was made with the following code:
Introduction to options:
example: [table="option1;option2=value;option3='this is a long value with space';option4=value1,value2,value3"]
The whole option list should be wrapped with quotes.
Options are seperated by a semicolon
If an option has a value it is assigned with "equal to" mark. (option2)
If the value contains blanks or special characters it has to be wrapped with apostrophes. (option3)
If an option has more than one value they are seperated by a comma. (option4)
Description of options:
head
This option defines the first line as head, so the first row is shown as head of the table.
autonum=1 (equal to autonum) autonum=a autonum=A
Defines that a new first column containing a numbering should be inserted.
1 -> 1, 2, 3, 4, ... , 999, 1000, ....
a -> a, b, c, ... , aa, ab, ... , zz
A -> A, B, C, ... , AA, BB, ... , ZZ
autonumtitle=oneword autonumtitle='long value with spaces'
Defines the title of the autonum-column. Can be left empty.
width=123px width=45em width=67%
Defines the width of the table.
[TABLE="head;width=15em"]Name|cool? |old?
terry|yes|no
elvis|yes|yes
yo momma|no|yes
[/TABLE]
Which was made with the following code:
PHP:
[TABLE="head;width=15em"]Name|cool? |old?
terry|yes|no
elvis|yes|yes
yo momma|no|yes
[/TABLE]
Introduction to options:
example: [table="option1;option2=value;option3='this is a long value with space';option4=value1,value2,value3"]
The whole option list should be wrapped with quotes.
Options are seperated by a semicolon
If an option has a value it is assigned with "equal to" mark. (option2)
If the value contains blanks or special characters it has to be wrapped with apostrophes. (option3)
If an option has more than one value they are seperated by a comma. (option4)
Description of options:
head
This option defines the first line as head, so the first row is shown as head of the table.
autonum=1 (equal to autonum) autonum=a autonum=A
Defines that a new first column containing a numbering should be inserted.
1 -> 1, 2, 3, 4, ... , 999, 1000, ....
a -> a, b, c, ... , aa, ab, ... , zz
A -> A, B, C, ... , AA, BB, ... , ZZ
autonumtitle=oneword autonumtitle='long value with spaces'
Defines the title of the autonum-column. Can be left empty.
width=123px width=45em width=67%
Defines the width of the table.