1. You appear to be browsing EntropiaPlanets.com as a guest user. Did you know that if you sign up with an account, you get access to all kinds of additional priviledges, and are then able to join the discussions? You will also no longer most advertisements on the forum, and be able to tap into the full suite of tools and information that EntropiaPlanets has to offer.

    It's easy, Sign up or Login!

EntropiaPlanets News - Use tables in your posts!

Discussion in 'Entropia News' started by admin, Oct 15, 2009.

    • EntropiaPlanets Staff

    admin Administrator
    caffeine

    Marco
    Member Since:
    Sep 8, 2009
    Message Count:
    14,100
    Likes Received:
    274
    Location:
    Denmark
    Home page:
    Avatar Name:
    Leo NewShoes Johnson
    Society:
    Church Of Lootius
    Steam:
    The XenForo table syntax we use is very similar to that of HTML tables. Those of you with HTML experience will easily recognize the different attributes.

    To create a table, we have a few different tags:


    [TABLE] <-- Creates a table
    [TR] <-- Creates a row
    [TH] <-- Creates a header cell
    [TD] <-- Creates a regular cell


    [table] <-- Starts the table

    [TR] <-- Starts a new row

    [TH]Header Column1 [/TH] <-- Name of header column 1

    [TR][TH]ColumnName1[/TH][TH]ColumnName2[/TH][TH]Column n[/TH][/TR] <-- Header row, 3 columns, plus closing of the header row

    [TR][TD]Row 1.1[/TD][TD]Row 1.2[/TD][TD]Row 1.3[/TD][/TR] <-- rows on a new line

    [/Table] <-- End of table definition


    One thing to keep in mind is that the spacing used here is done for the sake of demonstration. When you actually enter the code for your table, please remove all spacing and paste the code as one long string. Otherwise the forum will place the additional spacing and lines outside of the table.

    Example:

    [TABLE][TR][TH]ColumnName1[/TH][TH]ColumnName2[/TH][TH]Column n[/TH][/TR][TR][TD]Row 1.1[/TD][TD]Row 1.2[/TD][TD]Row 1.3[/TD][/TR]
    [TR][TD]Row 2.1[/TD][TD]Row 2.2[/TD][TD]Row 2.3[/TD][/TR][/table]

    Which looks like this in a post:

    ColumnName1ColumnName2Column n
    Row 1.1Row 1.2Row 1.3
    Row 2.1Row 2.2Row 2.3


    Let us demonstrate a particular useful way to use tables. (Spacing etc for sake of clarity).

    [table]
    [TR][TH]ID[/TH][TH]Name[/TH][TH]Quantity[/TH][TH]Value[/TH][TH]Container[/TH][/TR]

    [TR][TD]1[/TD][TD]A&P Series Brave Mentor Edition[/TD][TD]1[/TD][TD]0.00 PED[/TD][TD]STORAGE (Calypso)[/TD][/TR]

    [TR][TD]2[/TD][TD]A-3 Justifier Mk.II[/TD][TD]1[/TD][TD]85.00 PED[/TD][TD]STORAGE (Calypso)[/TD][/TR]

    [TR][TD]3[/TD][TD]A-3 Justifier Mk.IV[/TD][TD]1[/TD][TD]127.38 PED[/TD][TD]STORAGE (Calypso)[/TD][/TR]

    [TR][TD]4[/TD][TD]Abrer Laser Sight[/TD][TD]1[/TD][TD]3.29 PED[/TD][TD]STORAGE (Calypso)[/TD][/TR]

    [TR][TD]5[/TD][TD]Abrer Laser Sight[/TD][TD]1[/TD][TD]13.55 PED[/TD][TD]STORAGE (Calypso)[/TD][/TR]

    [TR][TD]6[/TD][TD]Acid Root[/TD][TD]23[/TD][TD]7.36 PED[/TD][TD]STORAGE (Calypso)[/TD][/TR]

    [TR][TD]7[/TD][TD]Advanced Cloth Extractor[/TD][TD]253[/TD][TD]2.53 PED[/TD][TD]STORAGE (Calypso)[/TD][/TR]

    [TR][TD]8[/TD][TD]Advanced Electronic Fluid Memory[/TD][TD]23[/TD][TD]5.98 PED[/TD][TD]STORAGE (Calypso)[/TD][/TR]

    [TR][TD]9[/TD][TD]Advanced Gem Extractor[/TD][TD]5[/TD][TD]0.05 PED[/TD][TD]STORAGE (Calypso)[/TD][/TR]

    [TR][TD]10[/TD][TD]Advanced Leather Extractor[/TD][TD]1660[/TD][TD]16.60 PED[/TD][TD]STORAGE (Calypso)[/TD][/TR]

    [/table]

    The table generated this way looks like this:


    IDNameQuantityValueContainer
    1A&P Series Brave Mentor Edition10.00 PEDSTORAGE (Calypso)
    2A-3 Justifier Mk.II185.00 PEDSTORAGE (Calypso)
    3A-3 Justifier Mk.IV1127.38 PEDSTORAGE (Calypso)
    4Abrer Laser Sight13.29 PEDSTORAGE (Calypso)
    5Abrer Laser Sight113.55 PEDSTORAGE (Calypso)
    6Acid Root237.36 PEDSTORAGE (Calypso)
    7Advanced Cloth Extractor2532.53 PEDSTORAGE (Calypso)
    8Advanced Electronic Fluid Memory235.98 PEDSTORAGE (Calypso)
    9Advanced Gem Extractor50.05 PEDSTORAGE (Calypso)
    10Advanced Leather Extractor166016.60 PEDSTORAGE (Calypso)


    More information about the Table and various options that can be used in it (which is common RSS, and even smilies and cusom formatting) can soon be found in our BBCode help section.

    We hope this new feature will be useful to you :tiphat:

    More information about the Table and various options that can be used in it can be found in our FAQ.

    We hope this feature will be useful to you :tiphat:

    Sponsored link:


    • EntropiaPlanets Staff

    admin Administrator
    caffeine

    Marco
    Member Since:
    Sep 8, 2009
    Message Count:
    14,100
    Likes Received:
    274
    Location:
    Denmark
    Home page:
    Avatar Name:
    Leo NewShoes Johnson
    Society:
    Church Of Lootius
    Steam:
    Attached to this post, you will find a link to an Excelfile that can be used to "easily" create a table. This is a modified version of a mockup project used for the add-on that allows tables to be generated, and the Excelfile has been customized for EntropiaUniverse usage.

    The maximum amount of rows has been limited to 50, to prevent the forum from blocking the table due to the amount of text being too large. It can probably be increased if absolutely neccessary.

    The easiest way to use this excelsheet is by opening it, putting your cursor in the field below the ID columnheader, and copying in 50 items from the My Items list at a time. Hit the button, and the table code required is copied to your clipboard.

    I've tested a bit, and did not always get good results, possibly caused by cellborders etc also bieng copied. The fastest way to avoid this from happening is by opening notepad, and pasting all the generated code in there. CTRL+A and copy again, which removes all formatting, and THEN paste it into the field where you usually type your messages.

    If you want to post more than 50 items, rinse, wash, repeat.

    We hope this will come in use :tiphat:

    Warning, the Excelsheet does contain a Macro for a copy/paste operation to your clipboard. If you have marcos disabled, you will have to enable them for this to work. Do not forget to disable them again after you are done, as macros could form a potential security risk.

    View attachment 2

    Attached Files:

    wizzszz Banned

    Feffoid Maffoid
    Member Since:
    Sep 30, 2009
    Message Count:
    1,120
    Likes Received:
    32
    :openmouth:

    Didn't even know this is possible with vB...

    that would've been so incredibly helpful with all the skill research back then - lovely new feature!!!!


    :cheer::cheer::cheer:
    • EntropiaPlanets Staff

    admin Administrator
    caffeine

    Marco
    Member Since:
    Sep 8, 2009
    Message Count:
    14,100
    Likes Received:
    274
    Location:
    Denmark
    Home page:
    Avatar Name:
    Leo NewShoes Johnson
    Society:
    Church Of Lootius
    Steam:
    It's not possible as an out of the box option from vB, but it requires installation of an addon. Ever since buying a vB license, I've wanted to add this, as I seriously missed the ability of using a nice formatting for a sales thread, or, like you stated, skills.

    CycoKick Notorius cK
    Badass

    Marco
    Member Since:
    Sep 30, 2009
    Message Count:
    220
    Likes Received:
    18
    Location:
    Amsterdam
    Sweet seems like a nice function! :)
    • EntropiaPlanets Staff

    admin Administrator
    caffeine

    Marco
    Member Since:
    Sep 8, 2009
    Message Count:
    14,100
    Likes Received:
    274
    Location:
    Denmark
    Home page:
    Avatar Name:
    Leo NewShoes Johnson
    Society:
    Church Of Lootius
    Steam:
    I updated the OP to reflect the new syntax for the XenForo tables.
    • EntropiaPlanets Staff

    narfi Lost
    Spaced

    Boorum
    Member Since:
    Nov 1, 2009
    Message Count:
    1,194
    Likes Received:
    141
    Location:
    Alaska
    Home page:
    Avatar Name:
    Narfi Hungry Willem
    Society:
    Lost Renegades
    Steam:
    [IMG]
    admin and khaos like this.
    • Premium Member

    MindStar9 - Cyrene Cyrene Writing Team
    Inspired

    Marco
    Member Since:
    Sep 30, 2009
    Message Count:
    2,404
    Likes Received:
    163
    .

    That's just wrong! :p - but funny! :D

Share This Page

Users found this page by searching for:

  1. xenforo table

    ,
  2. entropia universe laser sights worth it?