Need help with Table bbcode? Learn how to use it like a pro!

  • Thread starter Greg Bernhardt
  • Start date
In summary, the Table bbcode is similar to html tags, using table, th, tr, and td elements. The only difference is using brackets [] instead of <> and closing each element. Line breaks can be used at the end of cells to make the code more readable, and the editor may have quirks with formatting. The bbcode does not support rowspan.
  • #1
19,445
10,025
The Table bbcode works exactly like the html tags. You have table, th, tr, td. Just replace the html brackets <> without bbcode brackets [] and remember to close each element out.

There is an icon next to the superscript to start you out. See this link for more information: https://www.physicsforums.com/help/bb-codes

Cell 1
[td]Cell 2[/td] [tr][td]Cell 3[/td][td]Cell 4[/td][/tr][tr][td]Cell 5[/td][td]Cell 6[/td][/tr]

One of the quirks with the editor is that you need to end up putting all the table tags in one line instead of nicely laid out with line breaks. The line breaks will show in the post and the table will end up being pushed far down the post.
 
Last edited:
Physics news on Phys.org
  • #2
Concerning line breaks, it is possible to include them at the end of the cells, directly between content and [/td]. This way they don't influence how the post is shown, but they allow to make the source code a bit more readable.
Cell 1
[td]Cell 2
[/td]
[tr][td]Cell 3
[/td][td]Cell 4
[/td][/tr][tr][td]Cell 5[/td][td]Cell 6[/td][/tr]

more text
 
  • Like
Likes Greg Bernhardt
  • #3
Sometimes the row spacing gets a little bit wacky:

Name
Sample
LaTeX code
Blackboard bold
[itex]\mathbb{ABCDE}[/itex]
[itex]\mathbb{ABCDE}[/itex]
Calligraphic
[itex]\mathcal{ABCDE}[/itex]
[itex]\mathcal{ABCDE}[/itex]
Fraktur
[itex]\mathfrak{ABCDE}[/itex]
[itex]\mathfrak{ABCDE}[/itex]
Sans serif
[itex]\mathsf{ABCDE}[/itex]
[itex]\mathsf ABCDE}[/itex]
Roman (upright)
[itex]\mathrm{ABCDE}[/itex]
[itex]\mathrm{ABCDE}[/itex]
Bold
[itex]\mathbf{ABCDE}[/itex]
[itex]\mathbf{ABCDE}[/itex]
Typewriter
[itex]\mathtt{ABCDE}[/itex]
[itex]\mathtt{ABCDE}[/itex]
[td] [/td]
[td][/td]
 
  • Like
Likes Greg Bernhardt
  • #4
Does this support rowspan? Let's see...

NameSample
LaTeX code
Infinity
[itex]\infty[/itex]
\infty
Planck's constant
[itex]\hbar[/itex]
\hbar
[itex]\pm[/itex]
\pm
Parallel
[itex]\parallel[/itex]
\parallel
Perpendicular
[itex]\perp[/itex]
\perp
For all
[itex]\forall[/itex]
\forall
There exists
[itex]\exists[/itex]
\exists
Ellipsis
[itex]\dots,\cdots,\vdots,\ddots[/itex]
\dots,\cdots,\vdots,\ddots
[td] [td rowspan=2]Plus or minus
[/td] [td][itex]\mp[/itex]
[/td][td] \mp
[/td][/tr]

I guess not. :(
 
  • #5
Those tags are a simple replacement of [td] to <td> and so on. For vBulletin, there is a nice and more powerful table addon, I have no idea if something similar exists for XF.[/td]
 

Related to Need help with Table bbcode? Learn how to use it like a pro!

1. What is the purpose of introducing table bbcode?

The purpose of introducing table bbcode is to provide a more organized and visually appealing way to display data or information in forum posts or online discussions. It allows users to create tables with rows and columns, making it easier to read and understand the information being presented.

2. How do I use table bbcode?

Using table bbcode is simple. You can create a table by using the [table] bbcode tag, followed by [tr] for a new row and [td] for a new column. Within the [td] tags, you can enter the content you want to display in that specific cell. You can also add attributes to customize the appearance of your table, such as border size and cell padding.

3. Can I add images to my table using bbcode?

Yes, you can add images to your table using bbcode. Simply use the [img] tag within the [td] tags and enter the URL of the image. You can also adjust the size of the image by adding the width and height attributes.

4. Is table bbcode supported on all forums and discussion boards?

While table bbcode is a commonly used feature in many forums and discussion boards, it is not supported on all platforms. It is best to check with the specific forum or platform you are using to see if table bbcode is supported.

5. Are there any limitations to using table bbcode?

Table bbcode may have limitations in terms of design and customization. It is important to understand the specific capabilities of the platform you are using and test your table to ensure it displays correctly. Additionally, using too many tables or large tables can make your post or discussion difficult to navigate and may not be suitable for mobile devices.

Similar threads

  • MATLAB, Maple, Mathematica, LaTeX
Replies
3
Views
305
  • Engineering and Comp Sci Homework Help
Replies
10
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
16
Views
4K
  • Sci-Fi Writing and World Building
Replies
2
Views
1K
Replies
42
Views
4K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
5K
Replies
0
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
4
Views
3K
  • Biology and Medical
Replies
11
Views
5K
  • Differential Geometry
Replies
1
Views
2K
Back
Top