Page 1 of 2

Tables

Posted: 25 Feb 2024, 16:33
by theICON562
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.

Tables

Posted: 25 Feb 2024, 17:45
by Caesar
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>

Tables

Posted: 25 Feb 2024, 18:09
by theICON562
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]

Tables

Posted: 25 Feb 2024, 18:33
by Caesar
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.

Tables

Posted: 25 Feb 2024, 18:37
by theICON562
Sounds good. Thanks.

Tables

Posted: 26 Feb 2024, 05:47
by Caesar
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.

Tables

Posted: 26 Feb 2024, 10:00
by theICON562
Thank you, appreciate it.

Tables

Posted: 05 Mar 2024, 20:20
by theICON562
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?

Tables

Posted: 06 Mar 2024, 19:01
by Caesar
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.

Tables

Posted: 06 Mar 2024, 21:12
by theICON562
Ok, thanks.