We've got tables

TerryMason

Administrator
Staff member
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:

Name|cool? |old?
terry|yes|no
elvis|yes|yes
yo momma|no|yes

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:

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.
 
Name|Cool? |Really?
Terry|yes|way cool
Jeepz|yes|of course
Me|no|not so much
Mingez | no | not until he returns
 

Food|love|like|hate
Pizza|no|yes|no
Steak|yes|yes|no
fish|no|no|no
shrimp|no|yes|no

cool stuff, thanks Terry!
 
Back
Top