Author Topic: List of extra BBCode tags + formatting options  (Read 3979 times)

Offline Prime32

  • Over-Underling
  • Head Moderator
  • *****
  • Posts: 2914
    • View Profile
List of extra BBCode tags + formatting options
« on: September 19, 2012, 09:58:15 AM »
This thread will contain information on any of the extra BBCode tags that have been added to the forum.
Info on the basic tags can be found here.

Individual Threads
Dice roller
Advanced tables
Highlight
Stickied posts within threads
« Last Edit: June 30, 2017, 03:49:47 PM by Prime32 »

Offline Prime32

  • Over-Underling
  • Head Moderator
  • *****
  • Posts: 2914
    • View Profile
Re: List of extra BBCode tags
« Reply #1 on: September 19, 2012, 10:41:34 AM »
Advanced Tables

Layout

Where standard tables use the structure
Code: [Select]
[table]
[tr]
[td][/td]
[/tr]
[/table]
Advanced tables use
Code: [Select]
[table2]
[row]
[cell][/cell]
[/row]
[/table2]

Also supported are [cellspan=WIDTH] and [cellspan2=HEIGHT] in place of [cell], which allow a cell to span multiple columns or rows respectively.

Formatting

Using [row2] tags in place of [row] tags will cause that row to be a different colour. Alternating between [row] and [row2] allows you to replicate book-style formatting. The post templates for classes and prestige classes (see the "Please choose..." box when posting) include tables with this formatting applied. You can also set colours manually, using [row=COLOR] or [cell=COLOR] - standard HTML colour rules apply, so red and #336699 are both valid formats.

You can pass styles to the table, using [table2=STYLE] - the currently available styles are
  • border (draws borders around every cell)
  • orange (changes the default colours of [row] and [row2] to different shades of orange)
  • rows (draws a horizontal line above each row)
  • collapse (removes gaps between cells; used to improve the appearance of nested tables.)
Example tables (using alternating row/row2 tags)
(click to show/hide)
(click to show/hide)
(click to show/hide)
(click to show/hide)

Sorting

If you use the [tablesort] tag in place of [table2], the headings of the table will become links; click on one to sort the entries by that column, and click again to reverse the order. This also bolds the first row of the table automatically. [tablesort] supports all the same styles as [table2]; note that row colours remain with their rows as they're sorted, so trying to use alternating row colours doesn't work very well (as can been below).

Also note that because it's based on Javascript, [tablesort] will not display properly in the Preview window, appearing as if you had used [table2].

(click to show/hide)
« Last Edit: September 19, 2012, 02:54:01 PM by Prime32 »

Offline Prime32

  • Over-Underling
  • Head Moderator
  • *****
  • Posts: 2914
    • View Profile
Re: List of extra BBCode tags
« Reply #2 on: September 19, 2012, 02:37:09 PM »
Dice Roller
See main thread

Float
Use this tag to make any text after an image wrap around it. The image on the right is contained in [float=right] tags (i.e. [float=right][img]URL[/img][float]), and float=left is also possible. You can insert float tags with the green U-arrows in the editor.

Highlight
[highlight=red]Text[/highlight] produces Text. Black highlights can be used as pseudo-spoilers like so, requiring people to select them to read them.

Spoilers
Spoilers can be inserted through the "Insert Spoiler" button in the editor. A spoiler can contain any kind of content, including other spoilers, and it's considered polite to use them for walls of text, off-topic points or, well, things that are spoilers.
(click to show/hide)
Code: [Select]
[spoiler]Contents here.[/spoiler]
(click to show/hide)
Code: [Select]
[spoiler=Label here]Contents here.[/spoiler]

Sticky a Post Within a Thread
Within a thread you've started, if one of your replies has (Continued) at the start of the Subject field, it will be stickied underneath the OP. This works everywhere on the boards, but you can't sticky a post in someone else's thread.
« Last Edit: June 30, 2017, 03:49:10 PM by Prime32 »