[How to] Table format for text in your posts
-
Because I just read a user's comment :
I have no idea how to use the table formatting tool.
Property Per 100mL In average volume (3.4 mL)
Calcium (mg) 27.6 0.938
Chloride (mg) 142 4.83
Citrate (mg) 528 18.0
Fructose (mg) 272 9.25
Glucose (mg) 102 3.47
Lactic acid (g) 62 2.11
Magnesium (mg) 11 0.374
Potassium (mg) 109 3.71
Protein (g) 5.04 0.171
Sodium (mg) 300 10.2
Urea (g) 45 1.53
Zinc (mg) 16.5 0.561
….… I would like to give a quick answer about it here, in the test section:
Table format is pretty easy, as you can see. First, click on the icon . That posts a preformatted table standard into your post, which looks like this:
[table] [tr] [td][/td][td][/td] [/tr] [/table]
-
The codes with "table" should be left alone, because they open and close the table bb-code.
-
The codes with "tr" arrange the table rows. Another row can be added manually, or with the icon
-
The codes with "td" arrange the table columns. Another column can be added manually, or with the icon
Be aware, that the basic table is with a white background and a white font color. You always should define the font color right inside each columns text, so the text appears visible, without any markers. All text inside the "td" codes might be formatted as usual ( bold, italic … ). Another background color might be defined manually or with the color handler ( click on the font color icon, to switch to the background color icon )
| 1.1 | 1.2 |
| [bgcolor=yellow]2.1[/bgcolor] | [bgcolor=pink]2.2[/bgcolor] | [bgcolor=limegreen]2.3[/bgcolor] |
The text for the quoted text from FlammeRouge would look like this:
| Property | Per 100mL | In average volume (3.4 mL) |
| Calcium (mg) | 27.6 | 0.938 |
| Chloride (mg) | 142 | 4.83 |
| Citrate (mg) | 528 | 18.0 |
| Fructose (mg) | 272 | 9.25 |
| Glucose (mg) | 102 | 3.47 |
| Lactic acid (g) | 62 | 2.11 |
| Magnesium (mg) | 11 | 0.374 |
| Potassium (mg) | 109 | 3.71 |
| Protein (g) | 5.04 | 0.171 |
| Sodium (mg) | 300 | 10.2 |
| Urea (g) | 45 | 1.53 |
| Zinc (mg) | 16.5 | 0.561 |
I know that table formatting is a bit more work and most of the time it isn't really worth it… but I still think, that it might be funny for the one or the other user using it. :crazy2:
-
-
Hey, thank you! Very informative!
Now this looks like the average ingredient composition of a very innocent product.