Home | Download | Discussion | Help | Site Map | New Posts | Sign in

Latest Site News

New Creator Theme: Elders! - posted on 1st Sep 2018 at 11:43 AM
Replies: 0 (Who?), Viewed: 6379 times.
Warrior Gryphon
site owner
Original Poster
#1 Old 5th Mar 2018 at 3:12 PM Last edited by Tashiketh : 5th Mar 2018 at 3:23 PM.
Default Additional table bbcode options available
Hi All,

As a result of a suggestion in our Discord chat, I have added the ability to specify colspans on the bbcode table layout on MTS.

Previously, when creating a table, you only had the option for single cells, like so:

Code:

{table}
Heading1, Heading 2, Heading 3
Cell 1, Cell 2, Cell 3
Cell 1, Cell 2, Cell 3
{/table}


In the example above, change { } to [ ]

Heading1Heading 2Heading 3
Cell 1Cell 2Cell 3
Cell 1Cell 2Cell 3


Now, however, you can specifc the colspan of either a header or a cell, as follows:

- Prefix the cell with +X+ where X = number of columns to span. (So if you want colspan = 2 then you'd do +2+)
- or Prefix the cell with colspan=X where X = number of columns. You may also optionally use colspan=X| to get better text seperation

Code:

{table}
Header1, +2+Header Span 2
Cell 1, Cell 1, Cell 1
colspan=3 Cell Span 3
colspan=3| Cell Span 3
colspan=3|Cell Span 3
+2+ Cell Span 2, Cell 1
Cell 1, +2+ Cell Span 2
+3+Cell Span 3
Cell 1, +2+Cell Span 2
{/table}


In the example above, change { } to [ ]

Header1Header Span 2
Cell 1Cell 1Cell 1
Cell Span 3
Cell Span 3
Span 3
Cell Span 2Cell 1
Cell 1 Cell Span 2
Cell Span 3
Cell 1Cell Span 2


Hopefully this should help you in having better looking tables and layouts on the site!

Regards,
T

Story books are full of fairy tales, of Kings and Queens, and the bluest skies.
16 users say thanks for this. (Who?)
Back to top