British Democracy Forum
Web | Images | Groups | News | Advanced
Google
Worldwide Results UK Focused Results

Go Back   British Democracy Forum > Forum Management > Announcements


You can remove this advert by logging in or registering
Reply
 
LinkBack Thread Tools Display Modes
Old 13-05-2008, 10:13 AM   #1 (permalink)
Administrator
 
Anthony Butcher's Avatar
 
Join Date: Sep 2004
Location: Long Ashton, Bristol
Posts: 9,823
Party: None
Anthony Butcher is just starting out
Default Tables now enabled

I have installed a mod that allows you to use tables in your posts.

To create a table, you set it out like this (without the space before and after the word table):

[ table="head"]head col1|head col2|head col3
row1 col1|row1 col2|row1 col3
row2 col1|row2 col2|row2 col3[/table ]

They should appear like this:

head col1head col2head col3
row1 col1row1 col2row1 col3
row2 col1row2 col2row2 col3

It is worth noting that the table columns are sortable as well - so if you click on a header, it will automatically resort the table by that column.

There are quite a few options available, detailed here:
vBulletin.org Forum - View Single Post - BB Code [table]
Quote:
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. If the table sould be sorted, the head is not sorted.

sort=1d,2,3
This defines the table to be sorted by column 1, then column 2, then column 3. The "d" after the first colum specifies the order: descending (default: ascending)

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.

Introduction to special options (formating cells and rows):
example: {option1=value1}{option2=value2}
These "special" options can be written as the very first content of a cell to format it.

Description of special options:
{colsp=5}
Defines a colspan from current cell with the length of 5 cells
__________________
If you care about what's in your food and where it comes from, then get it labelled!
Label My Food - http://www.labelmyfood.org.uk
Anthony Butcher is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!FuzzFizz It!
Reply With Quote

You can remove this advert by logging in or registering
Old 13-05-2008, 11:52 AM   #2 (permalink)
Uber Member
 
kernow's Avatar
 
Join Date: Oct 2004
Posts: 5,014
kernow has some supporters
Default

Quote:
Originally Posted by Anthony Butcher View Post
I have installed a mod that allows you to use tables in your posts.

To create a table, you set it out like this (without the space before and after the word table):

[ table="head"]head col1|head col2|head col3
row1 col1|row1 col2|row1 col3
row2 col1|row2 col2|row2 col3[/table ]

They should appear like this:

head col1head col2head col3
row1 col1row1 col2row1 col3
row2 col1row2 col2row2 col3

It is worth noting that the table columns are sortable as well - so if you click on a header, it will automatically resort the table by that column.

There are quite a few options available, detailed here:
vBulletin.org Forum - View Single Post - BB Code [table]
Unfortunately for a "Yokel" like myself, it is as clear as mud!
kernow is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!FuzzFizz It!
Reply With Quote
Old 13-05-2008, 02:31 PM   #3 (permalink)
Administrator
 
Anthony Butcher's Avatar
 
Join Date: Sep 2004
Location: Long Ashton, Bristol
Posts: 9,823
Party: None
Anthony Butcher is just starting out
Default

Quote:
Originally Posted by kernow View Post
Unfortunately for a "Yokel" like myself, it is as clear as mud!
OK, to create a table you need
[table ][/table ]
without the spaces.

To create a header row at the top, you need
[table="head" ][/table ]
without the spaces

The first row in the table (usually the head) defines how many columns you have. Columns are divided using the '|' character, as shown in the example.

You can add a new row to the table by putting it on a new line, and dividing each cell using the '|' character as above.
__________________
If you care about what's in your food and where it comes from, then get it labelled!
Label My Food - http://www.labelmyfood.org.uk
Anthony Butcher is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!FuzzFizz It!
Reply With Quote
Old 13-05-2008, 05:34 PM   #4 (permalink)
Uber Member
 
Westcountryman's Avatar
 
Join Date: Dec 2005
Location: The Westcountry.
Posts: 5,922
Party: None
Westcountryman is just starting out
Talking

This isATable
Testingthetable
testingtestingGenius!
__________________
Manus haec inimica tyrannis ense petit placidam sub libertate quietam - "This hand of mine, which is hostile to tyrants, seeks by the sword quiet peace under liberty."
Westcountryman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!FuzzFizz It!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:46 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

This site is owned and operated by MyCartel Limited © 2007. Hosting: BookFizz.
This site supports Label My Food and Politigg
My latest commercial site: Cell Phone News 2.0 - [Mobile version]

Mobile version

Politishop

eXTReMe Tracker
Search Engine Friendly URLs by vBSEO 3.1.0