Page 1 of 1

Tables

Posted: Wed May 15, 2019 7:08 pm
by B8RcDeMktfxC
Is there any chance that the bbcode tables ([table], [/table]) can be activated?

Re: Tables

Posted: Sun Jun 2, 2019 11:10 pm
by B8RcDeMktfxC
B8RcDeMktfxC wrote:Is there any chance that the bbcode tables ([table], [/table]) can be activated?

bump?

Should I report my post?

I've never used this section of the forum before. A response would be nice, if possible, even if only, "No, foh, eat a 7-day ban, B8RcDe" :)

Re: Tables

Posted: Sat Nov 23, 2019 9:58 pm
by Howard Mass
B8RcDeMktfxC wrote:
B8RcDeMktfxC wrote:Is there any chance that the bbcode tables ([table], [/table]) can be activated?

bump?

Should I report my post?

I've never used this section of the forum before. A response would be nice, if possible, even if only, "No, foh, eat a 7-day ban, B8RcDe" :)


Are you still having issues?

Re: Tables

Posted: Wed Nov 3, 2021 11:30 pm
by B8RcDeMktfxC
Howard Mass wrote:
B8RcDeMktfxC wrote:
B8RcDeMktfxC wrote:Is there any chance that the bbcode tables ([table], [/table]) can be activated?

bump?

Should I report my post?

I've never used this section of the forum before. A response would be nice, if possible, even if only, "No, foh, eat a 7-day ban, B8RcDe" :)


Are you still having issues?

Hi, I didn't see your reply, I'm afraid.

Yes, the issue with the site still pertains.

What I am hoping for is to be able to type something like (or with slight syntactic variation)

[table] Player | 3pt %
Brunson | 40%
Ntilikina | 30%
[/table]

and get something nicely laid out. Eg, (ignoring the black and grey bars on the extreme left which were part of another forum's skin) something like

Image

Is there any possibility of activating this functionality?

Re: Tables

Posted: Sat Nov 6, 2021 7:12 pm
by HiRez
I would love to have the ability to add formatted tables of some kind, I think this is something that would get used a lot on this forum. People are always posting and comparing stats.

Currently, there are external editors that generate nice ASCII tables (see example below inside code tags), but text wrapping messes everything up for all but the smallest tables, especially on mobile, it's not ideal.

Code: Select all

+-----------+-------+
| Player    | 3pt % |
+-----------+-------+
| Brunson   | 40%   |
+-----------+-------+
| Ntilikina | 30%   |
+-----------+-------+


CSV upload would be a nice bonus.

Re: Tables

Posted: Tue Nov 9, 2021 4:53 pm
by dream34
I set up a trial run of this, but it's not the easiest to use if you aren't familiar with HTML tables. Use [ table ] and [ /table ] around the entire table. Use [ tr ] and [ /tr ] around each row. And use [ td ] and [ /td ] around each cell.

Code: Select all

[table]
[tr]
[td]Example 1[/td]
[td]Example 2[/td]
[td]Example 3[/td]
[/tr]
[tr]
[td]Example 4[/td]
[td]Example 5[/td]
[td]Example 6[/td]
[/tr]
[/table]


Example 1Example 2Example 3
Example 4Example 5Example 6

Re: Tables

Posted: Wed Mar 30, 2022 3:57 pm
by B8RcDeMktfxC
dream34 wrote:I set up a trial run of this, but it's not the easiest to use if you aren't familiar with HTML tables. Use [ table ] and [ /table ] around the entire table. Use [ tr ] and [ /tr ] around each row. And use [ td ] and [ /td ] around each cell.

Code: Select all

[table]
[tr]
[td]Example 1[/td]
[td]Example 2[/td]
[td]Example 3[/td]
[/tr]
[tr]
[td]Example 4[/td]
[td]Example 5[/td]
[td]Example 6[/td]
[/tr]
[/table]


Example 1Example 2Example 3
Example 4Example 5Example 6


Hi dream34. Thank you very, very much for setting this up. I only just saw your post today, by hapstance after trying to generate a mock table to show someone in the Knicks subforum what they would look like. Here is the code in action.

viewtopic.php?f=24&t=2179437&p=97873218#p97873218

My original code was

Code: Select all

This gives us [table][tr][td]Year[/td][td]Randle[/td][td]RJ[/td][/tr]
[tr][td]2022-23[/td][td]$23,760,000[/td][td]$10,900,635[/td][/tr]
[tr][td]2023-24[/td][td]$25,660,800[/td][td]$31,750,000[/td][/tr]
[tr][td]2024-25[/td][td]$27,561,600[/td][td]$34,290,000[/td][/tr]
[tr][td]2025-26[/td][td]$29,462,400*[/td][td]$36,830,000[/td][/tr]
[tr][td]2026-27[/td][td]---[/td][td]$39,370,000[/td][/tr]
[tr][td]2027-28[/td][td]---[/td][td]$41,910,000*[/td][/tr]
[tr][td]Total 2022-26[/td][td]$106,444,800[/td][td]$113,770,635[/td][/tr][/table]


But that inserted above the table (but after "This gives us") a line of whitespace for each line of the table. I believe one line - at least it was plenty of whitespace. Deleting the linebreaks that set each table row on a separate line in the code eliminated the whitespace. See Chanel Bomber's quote of my post a few posts down from the one linked above - he quoted before I did the deleting - to see what the original output was like.

I'm extremely happy to have some version of tables working, but obviously it would make editing easier if one could have table rows in separate code rows without the 'whitespace above the table' artefact. I've no idea if that would be simple to fix or not?