ToniXX wrote:All,
I was messing around with BBcodes and was able to implement table support. Here's an example:
Level | Exp Required | Hit Dice (d10) |
---|
1 | 0 | 1 |
2 | 1,900 | 2 |
3 | 4,250 | 3 |
4 | 7,750 | 4 |
Here's a great page for generating the proper BBCode. It makes it very easy and you can even save your tables:
http://www.teamopolis.com/tools/bbcode- ... rator.aspx
I found out that if you leave the table code formatted as this page generates, it puts a lot of space above the table. But, if you remove the spaces and line breaks between the various BBCode tags, it doesn't add all the extra space. I'll keep playing with this and see what else can be worked out. If you're really into adding tables into your posts, play with it and you'll get the idea.
I'm going to adjust the colors a bit and if anyone has any input, post here.
Thanks
Scratch that, it certainly seems to mirror HTML.
For colors, you would probably want colors that jive well with the site while being distinct. The same colors as the quote box option are probably your best bet.
Do you know if the bbcode supports tag alterations in the same way as HTML? Would [td colspan=3] make that data cell spam three columns? If so, then using a BGIMG tag for the table itself could solve most of the issues; leave the coloring alone and just make a readily accessible background image, like parchment or something, as a .png or .gif and have people use that.
Let's see. Quick test shows that no, the tags don't get that kind of innate support. Makes sense.
Does the forum have access to the [doHTML] tag? If so an HTML generator might give you more leeway on formatting – assuming, rude as I am, that such formatting is desirable – at the cost of allowing potential misuse of HTML such as loading files in randomly.