Tables

Here you can put any resources or helpful links you think would be useful for members.
User avatar

Topic author
theICON562
Posts: 500
Joined: 13 Feb 2024, 17:47

Tables

Post by theICON562 » 25 Feb 2024, 16:33

Good afternoon everyone. Glad to be a part of the site and looking forward to posting some great franchise dynasties. I do have one question. In regards to tables, how do we go about putting them together? Any help would be appreciated.
CoachGreg
User avatar

Caesar
Posts: 6458
Joined: 27 Nov 2018, 10:47

Tables

Post by Caesar » 25 Feb 2024, 17:45

The board uses BBCode. We've made some code swaps for HTML. Here are the relevant BBCodes for tables and what they correspond to for HTML.

Table
BBCode:
[table={NUMBER1},{NUMBER2},{NUMBER3},{NUMBER4}]{TEXT}[/table]

HTML:
<table cellpadding="{NUMBER1}" cellspacing="{NUMBER2}" width="{NUMBER3}" style="border:{NUMBER4}px solid #CCC; font-family:Verdana, Geneva, sans-serif;"> {TEXT}</table>

TD
BBCode:
[td]{TEXT}[/td]

HTML:
<td>{TEXT}</td>

TF
[tf]{TEXT}[/tf]

<th colspan="2">{TEXT}</th>

TH
[th]{TEXT}[/th]

<th>{TEXT}</th>

TR
[tr]{TEXT}[/tr]

<tr>{TEXT}</tr>

TBODY
[tbody]{TEXT}[/tbody]

<tbody>{TEXT}</tbody>
User avatar

Topic author
theICON562
Posts: 500
Joined: 13 Feb 2024, 17:47

Tables

Post by theICON562 » 25 Feb 2024, 18:09

Thank you very much. Another quick question. Trying to post a table using the bbcode but when I go to preview my post all I see is the bbcode for the table.

Example

[table]
[tr]
[td]Los Angeles Lakers[/td]
[td]Denver Nuggets[/td]
[/tr]
[/table]
CoachGreg
User avatar

Caesar
Posts: 6458
Joined: 27 Nov 2018, 10:47

Tables

Post by Caesar » 25 Feb 2024, 18:33

I'll have to look into it because I don't use the tables. For now, it might be easier to make a table with HTML elsewhere and screenshot it.
User avatar

Topic author
theICON562
Posts: 500
Joined: 13 Feb 2024, 17:47

Tables

Post by theICON562 » 25 Feb 2024, 18:37

Sounds good. Thanks.
CoachGreg
User avatar

Caesar
Posts: 6458
Joined: 27 Nov 2018, 10:47

Tables

Post by Caesar » 26 Feb 2024, 05:47

theICON562 wrote:
25 Feb 2024, 18:09
Thank you very much. Another quick question. Trying to post a table using the bbcode but when I go to preview my post all I see is the bbcode for the table.

Example
Los Angeles Lakers Denver Nuggets
This table now works.
User avatar

Topic author
theICON562
Posts: 500
Joined: 13 Feb 2024, 17:47

Tables

Post by theICON562 » 26 Feb 2024, 10:00

Thank you, appreciate it.
CoachGreg
User avatar

Topic author
theICON562
Posts: 500
Joined: 13 Feb 2024, 17:47

Tables

Post by theICON562 » 05 Mar 2024, 20:20

Caesar wrote:
25 Feb 2024, 17:45
The board uses BBCode. We've made some code swaps for HTML. Here are the relevant BBCodes for tables and what they correspond to for HTML.

Table
BBCode: {TEXT}
HTML:
<table cellpadding="{NUMBER1}" cellspacing="{NUMBER2}" width="{NUMBER3}" style="border:{NUMBER4}px solid #CCC; font-family:Verdana, Geneva, sans-serif;"> {TEXT}</table>

TD
BBCode:
[td]{TEXT}[/td]

HTML:
<td>{TEXT}</td>

TF
[tf]{TEXT}[/tf]

<th colspan="2">{TEXT}</th>

TH
[th]{TEXT}[/th]

<th>{TEXT}</th>

TR
[tr]{TEXT}[/tr]

<tr>{TEXT}</tr>

TBODY
[tbody]{TEXT}[/tbody]

<tbody>{TEXT}</tbody>
Can anyone give me an example of how to use the bbcode with cellspacing, cellpadding and border as it shows at the top of the information?

BBCode: {TEXT}
HTML:
<table cellpadding="{NUMBER1}" cellspacing="{NUMBER2}" width="{NUMBER3}" style="border:{NUMBER4}px solid #CCC; font-family:Verdana, Geneva, sans-serif;"> {TEXT}</table>

For NUMBER1, NUMBER2, NUMBER3 and NUMBER4, how would you write that in bbcode within the table?
CoachGreg
User avatar

Caesar
Posts: 6458
Joined: 27 Nov 2018, 10:47

Tables

Post by Caesar » 06 Mar 2024, 19:01

theICON562 wrote:
05 Mar 2024, 20:20
Caesar wrote:
25 Feb 2024, 17:45
The board uses BBCode. We've made some code swaps for HTML. Here are the relevant BBCodes for tables and what they correspond to for HTML.

Table
BBCode:
[table={NUMBER1},{NUMBER2},{NUMBER3},{NUMBER4}]{TEXT}[/table]

HTML:
<table cellpadding="{NUMBER1}" cellspacing="{NUMBER2}" width="{NUMBER3}" style="border:{NUMBER4}px solid #CCC; font-family:Verdana, Geneva, sans-serif;"> {TEXT}</table>

TD
BBCode:
[td]{TEXT}[/td]

HTML:
<td>{TEXT}</td>

TF
[tf]{TEXT}[/tf]

<th colspan="2">{TEXT}</th>

TH
[th]{TEXT}[/th]

<th>{TEXT}</th>

TR
[tr]{TEXT}[/tr]

<tr>{TEXT}</tr>

TBODY
[tbody]{TEXT}[/tbody]

<tbody>{TEXT}</tbody>
Can anyone give me an example of how to use the bbcode with cellspacing, cellpadding and border as it shows at the top of the information?

BBCode:
[table={NUMBER1},{NUMBER2},{NUMBER3},{NUMBER4}]{TEXT}[/table]

HTML:
<table cellpadding="{NUMBER1}" cellspacing="{NUMBER2}" width="{NUMBER3}" style="border:{NUMBER4}px solid #CCC; font-family:Verdana, Geneva, sans-serif;"> {TEXT}</table>

For NUMBER1, NUMBER2, NUMBER3 and NUMBER4, how would you write that in bbcode within the table?
This no longer works. I had to disable it to make the tables work as above.
User avatar

Topic author
theICON562
Posts: 500
Joined: 13 Feb 2024, 17:47

Tables

Post by theICON562 » 06 Mar 2024, 21:12

Ok, thanks.
CoachGreg
Post Reply