1. Attachments are working again! Check out this thread for more details and to report any other bugs.

Tables: Take Two

Discussion in 'PriusChat Website Questions' started by SageBrush, Sep 8, 2014.

  1. SageBrush

    SageBrush Senior Member

    Joined:
    Jun 4, 2008
    11,627
    2,530
    8
    Location:
    Southwest Colorado
    Vehicle:
    2012 Prius v wagon
    Model:
    Two
    I know BobWilson has cracked the code needed to include well formatted tables in a post, but I am hoping for a method that is simple and most important, open to collaboration.

    Any chance I can embed a Google spreadsheet as a table ?
     
  2. bwilson4web

    bwilson4web BMW i3 and Model 3

    Joined:
    Nov 25, 2005
    27,134
    15,394
    0
    Location:
    Huntsville AL
    Vehicle:
    2018 Tesla Model 3
    Model:
    Prime Plus
    To prevent encoding, I've substituted ">" for "]" and "<" for "[":
    • <table=head> - this tag starts a table and uses the first row as headers for columns.
    • "," or "|" - separate the columns, I hate "," since that means we can not post 9,999.
    • Each line is a new data row
    • left justified, default font - there is no global function so each cell has to be individually formatted if something other than the default is needed
    • </table> - ends the table
    To post a table, I typically create them in excel and then use the "concatenate()" function to create the table text needed.

    Bob Wilson
     
    SageBrush likes this.
  3. SageBrush

    SageBrush Senior Member

    Joined:
    Jun 4, 2008
    11,627
    2,530
    8
    Location:
    Southwest Colorado
    Vehicle:
    2012 Prius v wagon
    Model:
    Two