How to insert a table in a post?

Discussion in 'Network Information, Suggestions and Feedback' started by Michel Sabarly, Jan 8, 2019.

  1. If that is at all possible?

    I've tried a few tricks, but none worked. Can anyone advise on how to create a table in a post?

    The "Insert Code" button simply shows the code within a quote-like box, i.e. absolutely useless. Perhaps one needs to activate code in posts, but where would that be (couldn't find it in my profile/preferences).

    Michel
     
  2. Example of result using the "Insert Code" button (HTML):
    HTML:
    [table][tr][td][/td]
    [td][/td]
    [td](LTIN)[/td]
    [td]19 Mar 44[/td]
    [td]21 Mar 44[/td]
    [/tr]
    [tr][td]Group 18[/td]
    [td]12 LCT[/td]
    [td](365-376)[/td]
    [td]H+285[/td]
    [td]H+330[/td]
    [/tr]
    [tr][td]Group 17[/td]
    [td]5 LST[/td]
    [td](381-385)[/td]
    [td]H+330[/td]
    [td]H+330[/td]
    [/tr]
    [tr][td]Group 16[/td]
    [td]9 LCI(L)[/td]
    [td](388-396)[/td]
    [td]H+330[/td]
    [td]H+270[/td]
    [/tr]
    [tr][td]Group 19[/td]
    [td]12 LCT[/td]
    [td](399-410)[/td]
    [td]H+360[/td]
    [td]H+360[/td]
    [/tr]
    [/table]
    :glare:
     
  3. SteveDee

    SteveDee Well-Known Member

    I think it should look something like this, but this does not seem to work:-


    HTML:
    <table>
    <tr>
        <td>Army</td>
        <td>Navy</td>
        <td>RAF</td>
    </tr>
    <tr>
        <td>soldier</td>
        <td>sailor</td>
        <td>pilot</td>
    </tr>
    </table>
     
  4. von Poop

    von Poop Adaministrator Admin

    'Insert code' is for sharing examples of code without them rendering on the forum.
    It's for showing how to perform some code-ish task or other while not letting it happen.

    Code:
    Eg. The full code is:
    [url=https://www.badassoftheweek.com/]Badass[/url]  
    Outside of the code box it renders as:
    Badass
    Which would not help with explaining how to code something.

    As for the original query.
    I've disabled HTML, for obvious reasons.
    There may be a bbcode method, will check later on pc. Diane used to be the master of tables (mistress of tables sounded iffy), but perhaps that was the old system.

    Personally I'd just screenshot any required table from software designed for it and insert as a picture.
     
  5. von Poop

    von Poop Adaministrator Admin

    Looked it up.
    This is the format for bbcode tables:
    Code:
    [table]
    [tr]
    [th]Name[/th]
    [th]Age[/th]
    [/tr]
    [tr]
    [td]John[/td]
    [td]65[/td]
    [/tr]
    [tr]
    [td]Gitte[/td]
    [td]40[/td]
    [/tr]
    [tr]
    [td]Sussie[/td]
    [td]19[/td]
    [/tr]
    [/table]
    But... Bbcode support for it is not natively available on Xenforo.
    Might be on version 2.0, but doesn't look likely. Think the code might be a bit too close to the HTML for them to be comfortable allowing it. And the whole software is based on a different kind of 'table' behind the scenes, so perhaps avoiding some clash there. Lord knows.
     
    SteveDee likes this.
  6. Thank you all for your answers. So no tables it is then.

    What about tabulations or multiple spaces? I know we discussed that right ater the change to Xenforo, but is there any news?

    Michel
     
  7. SteveDee

    SteveDee Well-Known Member

    How desperate are you to do this?


    Army...............................Navy............................... RAF

    soldier.............................. sailor .............................. pilot

    ntankk..............................
    ship ............................... plane
     
    von Poop likes this.
  8. Desperate enough, because that's exactly what I've been doing so far! :D

    But not satisfied by the result by a long shot however...

    Michel
     
  9. Owen

    Owen -- --- -.. MOD

    Here's one...


    table.JPG
     
    4jonboy and von Poop like this.
  10. This is not a pipe table
     
    Chris C likes this.

Share This Page