Jump to content
HWBOT Community Forums

BBcode for Table: how to use it.

Recommended Posts

Hey guys,


So quick update on the forum progress: I've added BBcode to support tables. I'm not sure why it's not showing up in the advanced manager yet, but I'll try to fix that.


Here is the guide on how to use it:


Introduction to options:

- example: [table=option1;option2=value;option3='this is a long value with space';option4=value1,value2,value3]


The whole option list should be wrapped with quotes. Options are seperated by a semicolon. If an option has a value it is assigned with "equal to" mark (option2). If the value contains blanks or special characters it has to be wrapped with apostrophes (option3). If an option has more than one value they are seperated by a comma (option4).


Description of options:

  • head: This option defines the first line as head, so the first row is shown as head of the table. If the table sould be sorted, the head is not sorted.
  • sort=1d,2,3: This defines the table to be sorted by column 1, then column 2, then column 3. The "d" after the first colum specifies the order: descending (default: ascending)
  • autonum=1 (equal to autonum) autonum=a autonum=A: Defines that a new first column containing a numbering should be inserted.
    • 1 -> 1, 2, 3, 4, ... , 999, 1000, ....
    • a -> a, b, c, ... , aa, ab, ... , zz
    • A -> A, B, C, ... , AA, BB, ... , ZZ

    [*]autonumtitle=oneword autonumtitle='long value with spaces': Defines the title of the autonum-column. Can be left empty.

    [*]width=123px width=45em width=67%: Defines the width of the table.

    [*]debug: outputs a simple comment line after the table. This is helpful for debugging especially if you want to know if this table comes from the cache or was generated.

Introduction to special options (formating cells and rows):

- example: {option1=value1}{option2=value2}


These "special" options can be written as the very first content of a cell to format it.


Description of special options:

  • {colsp=5}: Defines a colspan from current cell with the length of 5 cells


(source: http://www.vbulletin.org/forum/showpost.php?p=900270&postcount=2)




[/table="head;autonum=1;autonumtitle=Pos.;width=100%"]Score|Overclocker|CPU|CPU Freq|Memory|Mem Freq|Mem Timings|{colsp=2}Motherboard|Link
358.156|l0ud_sil3nc3|Core i7 6700K|5002.45MHz||1802.7|11-15-15-28|ASRock||[url=http://hwbot.org/submission/2943352]link[/url]
366.906|NAMEGT|Core i7 6700K|5000.00 MHz||3332.7|CL14-16-16-28 1T|ASUS|Maximus VIII Gene|[url=http://hwbot.org/submission/2944323]link[/url]
369.346|Digg_de|Core i7 6700K|5000.00 MHz||3200||ASRock|Z170 Extreme4|[url=http://hwbot.org/submission/2953045]link[/url]
385.491|Digg_de|Core i7 6700K|4900.00 MHz||3200||||[url='http://hwbot.org/submission/	2948779	_']link[/url]
389.236|Digg_de|Core i7 6700K|4900.00 MHz||3200||||[url='http://hwbot.org/submission/	2948709	_']link[/url]
397.495|Hades|Core i5 6600K|4900.00 MHz||2800 MHz|15 17 17 37|ASRock|Z170 Extreme6|[url='http://hwbot.org/submission/	2954713	_']link[/url]
410.000|Ziken|Core i7 6700K|4800.00 MHz||||||[url=http://hwbot.org/submission/2942656_]link[/url]




[table=head;autonum=1;autonumtitle=Pos.;width=100%]Score|Overclocker|CPU|CPU Freq|Memory|Mem Freq|Mem Timings|{colsp=2}Motherboard|Link

358.156|l0ud_sil3nc3|Core i7 6700K|5002.45MHz||1802.7|11-15-15-28|ASRock||link

366.906|NAMEGT|Core i7 6700K|5000.00 MHz||3332.7|CL14-16-16-28 1T|ASUS|Maximus VIII Gene|link

369.346|Digg_de|Core i7 6700K|5000.00 MHz||3200||ASRock|Z170 Extreme4|link

385.491|Digg_de|Core i7 6700K|4900.00 MHz||3200||||link

389.236|Digg_de|Core i7 6700K|4900.00 MHz||3200||||link

397.495|Hades|Core i5 6600K|4900.00 MHz||2800 MHz|15 17 17 37|ASRock|Z170 Extreme6|link

410.000|Ziken|Core i7 6700K|4800.00 MHz||||||link



Enjoy! :celebration:

Edited by Massman
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...