PDA

View Full Version : How to add a Table to your Posts


Peter Walker
09-21-2009, 02:33
How To Add a Table to your Posts

Sometimes, it is useful to be able to put data in a table to your posts. This allows information to be sorted better and be more organized.

For this reason, we have added a table function which can be used in your posts by clicking on the http://www.rifeforum.com/forum/images/editor/table.gif icon.

How to create a table

A table consist of a title row (header) and a grid of rows and columns. The columns are seperated with the | character.

Options are set within the first table command.

The following options are available:

Option|Example|Description
head|table="head"|This defines the first line as the header
sort|sort=1d,2,3|Table is sorted by column 1, then 2 and 3. "d" = descending (default: ascending)
autonum|autonum=1|First column appears with number (=1), or letters (=a or =A)
autonumtitle|autonumtitle='Order No.'|Title of auto number column (optional)
width|width=123px width=45em width=67%|Defines the width of the table.


Example:

head col1|head col2|head col3
row1 col1|row1 col2|row1 col3
row2 col1|row2 col2|row2 col3


head col1|head col2|head col3
row1 col1|row1 col2|row1 col3
row2 col1|row2 col2|row2 col3