Tables

Want something added or changed? Let yourself be heard here!
B8RcDeMktfxC
General Manager
Posts: 8,196
And1: 5,355
Joined: Nov 23, 2018
Location: C'MON, COME GET THE FUKKIN BALL

Tables 

Post#1 » by B8RcDeMktfxC » Wed May 15, 2019 7:08 pm

Is there any chance that the bbcode tables ([table], [/table]) can be activated?
B8RcDeMktfxC
General Manager
Posts: 8,196
And1: 5,355
Joined: Nov 23, 2018
Location: C'MON, COME GET THE FUKKIN BALL

Re: Tables 

Post#2 » by B8RcDeMktfxC » Sun Jun 2, 2019 11:10 pm

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" :)
User avatar
Howard Mass
Site Admin
Site Admin
Posts: 64,891
And1: 15,608
Joined: Feb 20, 2001
Location: Longwood, Florida
Contact:
       

Re: Tables 

Post#3 » by Howard Mass » Sat Nov 23, 2019 9:58 pm

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?
R.I.P. Dharam Raghubir (A.K.A. Magnumt)

:beer:
B8RcDeMktfxC
General Manager
Posts: 8,196
And1: 5,355
Joined: Nov 23, 2018
Location: C'MON, COME GET THE FUKKIN BALL

Re: Tables 

Post#4 » by B8RcDeMktfxC » Wed Nov 3, 2021 11:30 pm

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?
HiRez
RealGM
Posts: 13,765
And1: 3,578
Joined: Dec 29, 2011

Re: Tables 

Post#5 » by HiRez » Sat Nov 6, 2021 7:12 pm

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.
User avatar
dream34
Site Admin
Site Admin
Posts: 3,367
And1: 342
Joined: Jul 29, 2005
       

Re: Tables 

Post#6 » by dream34 » Tue Nov 9, 2021 4:53 pm

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
B8RcDeMktfxC
General Manager
Posts: 8,196
And1: 5,355
Joined: Nov 23, 2018
Location: C'MON, COME GET THE FUKKIN BALL

Re: Tables 

Post#7 » by B8RcDeMktfxC » Wed Mar 30, 2022 3:57 pm

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?

Return to Feedback and Suggestions