Page 1 of 1

Can we have bbcode tables?

Posted: Wed Jun 05, 2019 5:12 pm
by Llyr Angus-Moonoak
Is that possible to add to Bastion?

For example, the following should generate a table according to Google:
Name Age
John 65
Gitte 40
Sussie 19

Re: Can we have bbcode tables?

Posted: Mon Jun 10, 2019 3:57 pm
by Raz
Llyr Angus-Moonoak wrote:Is that possible to add to Bastion?

For example, the following should generate a table according to Google:
Name Age
John 65
Gitte 40
Sussie 19
Not sure if Ari is going to kill me for adding this, but I did.

Re: Can we have bbcode tables?

Posted: Wed Jun 19, 2019 4:11 pm
by Llyr Angus-Moonoak
Awesome, thanks very much!

Re: Can we have bbcode tables?

Posted: Fri Jun 21, 2019 7:06 am
by Rei Milharna
Sick. :o

Re: Can we have bbcode tables?

Posted: Thu Jun 27, 2019 1:21 am
by ari
I added some light CSS to make the tables slighty airier in the common forums' and Craitland's styles. It seems that most styles seem to just apply theming to any table, whether inside a post or not (in fact, it's kinda hard *not* to do that in CSS), which... works, maybe, more or less, or not. From playing around with previews a bit, it makes tables look pretty noisy in fancier styles like Elwynn's. Anyway, these are pretty easy to change, poke me if you want to adjust your style's table theming. You might have to ctrl-f5 to see the changes.

(What's probably *not* as easy to fix is the annoying linebreak behavior, i.e. the fact that if you put linebreaks between your table rows, phpBB turns them into linebreaks before the table. I'd have to relearn PHP to fix that, and that's always annoying to do since I know the knowledge will just immediately leak out of my brain afterward.)