BB code is a set of tags based on the HTML language that you may already be familiar with.
They allow you to add formatting to your messages in the same way as HTML does,
but have a simpler syntax and will never break the layout of the pages you are viewing.
The ability to use BB code is set on a forum-by-forum basis by the administrator,
so you should check the forum rules when you post a new message.
Below is a list of the BB code tags you can use to format your messages.
The [list] tag allows you to create simple, bulleted lists without specifying an option. Within the value portion, each bullet is denoted by the [*] tag.
Usage
[list]value[/list]
Example Usage
[list] [*]list item 1 [*]list item 2 [/list]
Example Output
list item 1
list item 2
Advanced Lists
The [list] tag allows you to create advanced lists by specifying an option. The option should have a value of 1 (for a numbered list) or A (for an alphabetic with capital letters list) or a (for an alphabetic with lowercase letters list) or I (for a numbered with capital Roman numeral list) or i (for a numbered with small Roman numeral list).
Usage
[list=Option]value[/list]
Example Usage
[list=1] [*]list item 1 [*]list item 2 [/list]
[list=a] [*]list item 1 [*]list item 2 [/list]
Example Output
list item 1
list item 2
list item 1
list item 2
Images
The [img] tag allows you to embed images within your posts. You can also combine this tag with the [url] tag to make images become links.
The [php] tag performs the same function as the [code] tag, but also adds syntax highlighting for PHP code. Although it is designed for PHP, it may correctly highlight some other C-like languages.
[quote]Lorem ipsum dolor sit amet[/quote]
[quote=John Doe]Lorem ipsum dolor sit amet[/quote]
[quote=John Doe;2977990]Lorem ipsum dolor sit amet[/quote]
Example Output
Quote:
Lorem ipsum dolor sit amet
Quote:
Originally Posted by John Doe
Lorem ipsum dolor sit amet
Quote:
Originally Posted by John Doe
Lorem ipsum dolor sit amet
Stop BB Code Parsing
The [noparse] tag allows you to stop the parsing of BB code.
Usage
[noparse][b]value[/b][/noparse]
Example Usage
[noparse][b]Lorem ipsum dolor sit amet[/b][/noparse]
Example Output
[b]Lorem ipsum dolor sit amet[/b]
Attachment
The [attach] tag allows you to display an attachment in your post rather than at the bottom. It will only display attachments that belong to the post in which it is utilized.
Usage
[attach]attachmentid[/attach]
Example Usage
[attach]12345[/attach]
Example Output
Amazon Product
Easy way to link to Amazon.com products using their 10-character product ID.
This tag allows you to place an inline image aligned to the left or right.
Usage
[img2=Option]value[/img2]
Example Usage
[img2=right]URL of image[/img2]
Example Output
Strikethrough
Creates a strikethrough effect.
Usage
[s]value[/s]
Example Usage
[s]My text[/s]
Example Output
My text
Small
Produces small text.
Usage
[small]value[/small]
Example Usage
[small]My text[/small]
Example Output
My text
In-Line Spoiler
Used to hide spoiler information in mid-sentence.
Usage
[spoiler]value[/spoiler]
Example Usage
[spoiler]Spoiler Text Goes Here[/spoiler]
Example Output
Spoiler Text Goes Here
Spoiler Box
Long blocks of spoiler information, images, and BBCode can be placed inside this tag.
Usage
[spoiler-box]value[/spoiler-box]
Example Usage
[spoiler-box]Spoiler Text and BBCode goes here[/spoiler-box]
Example Output
Spoiler!
Spoiler Text and BBCode goes here
Tab
Creates a tabbed paragraph.
Usage
[tab]value[/tab]
Example Usage
[tab]Paragraph Text[/tab]
Example Output
Paragraph Text
Drupal link
Adds a link to a drupal node using the node's title.
The option can be the node ID or the relative path to the node (path aliases are supported). If the option is ommited the value is used as the option and the node's title is used for the link text.
Adds a clickable thumbnail to a drupal image node.
The option can be the node ID or the relative path to the node (path aliases are supported). If the option is ommited the value is used as the option and the node's title is used for the alternative text.
This tag is only useful when the drupal image module is installed.