Knuckle Cracker

Knuckle Cracker => Support => Topic started by: Krell on July 27, 2010, 07:33:31 PM

Title: how do tables work in the forum?
Post by: Krell on July 27, 2010, 07:33:31 PM
I want to use the tables that the forum provides, but I've never seen them in use and I have no clue how to use them. Any help would be great.
Title: Re: how do tables work in the forum?
Post by: mthw2vc on July 27, 2010, 07:44:39 PM
I already told you how actual tables work in chat, although you can make a makeshift able as follows.


Table |Column 1   |Column 2  
Row 1 |Data (1,1) |Data (2,1)

Row 2 |Data (1,2) |Data (2,2)

EDIT: Apparently the forum thinks a tab character is equivalent to 3 spaces. Nvm.
EDIT: Teletype tags FTW

EDIT: To make this useful to anyone who searches for it...
Table   Column 1   Column 2  
Row 1   Data (1,1)   Data (2,1)  
Row 2   Data (1,2)   Data (2,2)  
And I've even given the columns breathing room with more teletype magic. Too bad these are such a pain to edit.
Title: Re: how do tables work in the forum?
Post by: Krell on July 27, 2010, 07:52:52 PM
Awesome
Title: Re: how do tables work in the forum?
Post by: Karsten75 on July 27, 2010, 08:24:54 PM
Check out the help (http://knucklecracker.com/forums/index.php?action=help) and in there the BBCode for tables (http://knucklecracker.com/forums/index.php?action=help;page=post#bbc).

Basically each BBCode tag is surrounded by [ ] square bracket pairs.

You start by defining a table

[ table ]

then a row

[ tr ]

then for each column a cell entry

[ td  ] entry [ /td ]   repeat as necessary

[ /tr ]  end row

repeat rows as necessary

[ /table ] end table
Title: Re: how do tables work in the forum?
Post by: UpperKEES on July 28, 2010, 08:04:53 AM
I also use tables in my overview thread, but I haven't been able to define the width of the first column. It seems to resize automatically (almost randomly).
Title: Re: how do tables work in the forum?
Post by: mthw2vc on July 28, 2010, 09:55:02 AM
Quote from: UpperKEES on July 28, 2010, 08:04:53 AM
I also use tables in my overview thread, but I haven't been able to define the width of the first column. It seems to resize automatically (almost randomly).
Indeed, it can do that to you. Notice that in my post, I got around this by making non-standard tables with the teletype tag. This, being a fixed-width font, will behave in  an easy-to-adjust manner, allowing you to get round that problem. You can also easily remove the grid lines by removing the underlining and vertical bars.

Example:

Table      Column 1        Column 2
Row 1      Data (1,1)      Data (2,1)
Row 2      Data (1,2)      Data (2,2)
Title: Re: how do tables work in the forum?
Post by: UpperKEES on July 28, 2010, 10:14:54 AM
Yeah, but I use pictures in my table cells (and different font sizes), so I guess I'll have to live with it.