This site is supported by the advertisements on it, please disable your AdBlocker so we can continue to provide you with the quality content you expect.
  1. Follow us on Twitter @buckeyeplanet and @bp_recruiting, like us on Facebook! Enjoy a post or article, recommend it to others! BP is only as strong as its community, and we only promote by word of mouth, so share away!
    Dismiss Notice
  2. Consider registering! Fewer and higher quality ads, no emails you don't want, access to all the forums, download game torrents, private messages, polls, Sportsbook, etc. Even if you just want to lurk, there are a lot of good reasons to register!
    Dismiss Notice

BuckeyePlanet How-2.0: Making tables in posts

Discussion in 'FAQ' started by Clarity, Sep 7, 2015.

  1. Clarity

    Clarity Will Bryant Staff Member

    This is a header cellThis is a header cell
    This is a left aligned cellThis is a center aligned cell
    This is a right aligned cellLeft aligned
    Center alignedRight aligned
    [TABLE][TR][TH]This is a header cell[/TH][TH]This is a header cell[/TH][/TR][TR1][TD]This is a left aligned cell[/TD][TD1]This is a center aligned cell[/TD1][/TR1][TR2][TD2]This is a right aligned cell[/TD2][TD]Left aligned[/TD][/TR2][TR1][TD1]Center aligned[/TD1][TD2]Right aligned[/TD2][/TR1][/TABLE]
    Only 'trick' is you have to put everything on a single line for parsing, so that there are no carriage returns. So my example above works, but the one below (nicely formatted) does not:

    [TR][TH]This is a header cell[/TH][TH]This is a header cell[/TH][/TR]
    [TR1][TD]This is a left aligned cell[/TD][TD1]This is a center aligned cell[/TD1][/TR1]
    [TR2][TD2]This is a right aligned cell[/TD2][TD]Left aligned[/TD][/TR2]
    [TR1][TD1]Center aligned[/TD1][TD2]Right aligned[/TD2][/TR1]
    Of course you could just type it out as you please (organized like the bottom) and use backspace to turn it into a single line, but if something breaks with it, expect a line break somewhere.

    This is a simple (and that's not at all a bad thing) implementation.

    Another good/functional example:

    So in your TRs you have three options:
    TR = standard background
    TR1 = light background
    TR2 = darker background

    And in TDs three as well:
    TD = left justified
    TD1 = center justified
    TD2 = right justified

    Other BBCodes are valid inside the table, and if you fail to close a column, row, or the table itself it will do that for you.
  2. Saw31

    Saw31 High Seas Rogue

    Desmond HowardMark May
    Sucks CockSucks Cock
    Little CocksuckerBig Cocksucker
    Cocks get stolen by Mark MaySteals Desmond Howard's Cocks

    It works!!! Yay!!!
    OHSportsFan and muffler dragon like this.

Share This Page