BB Code

BB Code is a quick and easy way to add effects or formatting to your posts.
It is used in a similar format to HTML tags which you may already be familiar with.
Below is a quick guide to the most common BB Code uses.


You Type We Show
Post Snap Back
[snapback]
100
[/snapback]
View Post
Right
[right]
Some text here
[/right]
Some text here
Left
[left]
Left aligned text
[/left]
Left aligned text
Center
[center]
Centered Text
[/center]
Centered Text
Topic Link
[topic=1]
Click me!
[/topic]
Click me!
Post Link
[post=1]
Click me!
[/post]
Click me!
Spoiler
[spoiler]
Some hidden text
[/spoiler]
Spoiler
Acronym
[acronym='Laugh Out Loud']
lol
[/acronym]
lol
Extract Blog Entry
[extract]
This is an example!
[/extract]
This is an example!
Blog Link
[blog=100]
Click me!
[/blog]
Click me!
Blog Entry Link
[entry=100]
Click me!
[/entry]
Click me!
Bold Text
[b]
This text is bold
[/b]
This text is bold
Italic Text
[i]
This text is italicized
[/i]
This text is italicized
Underlined Text
[u]
This text is underlined
[/u]
This text is underlined
Horizontal Rule
[hr]

Code
[code]
$text = 'Some long code here';
[/code]
$text = 'Some long code here';
PHP Code
[php]
$variable = true;

print_r($variable);
[/php]
$variable = true;

print_r($variable);
HTML Code
[html]
<body onload="doSomething();">
<div class='outer'>
<p>Hello World</p>
</div>
</body>
[/html]
<body onload="doSomething();">
 <div class='outer'>
  <p>Hello World</p>
 </div>
</body>
SQL Code
[sql]
SELECT p.*, t.* FROM posts p LEFT JOIN topics t ON t.tid=p.topic_id WHERE t.tid=7
[/sql]
SELECT p.*, t.* FROM posts p LEFT JOIN topics t ON t.tid=p.topic_id WHERE t.tid=7
XML Code
[xml]
<outer>
<inner>
<tag param='1'>Test</tag>
</inner>
</outer>
[/xml]
<outer>
 <inner>
  <tag param='1'>Test</tag>
 </inner>
</outer>
URL
[url=http://google.com]
Google
[/url]


[url]
http://mysite.com
[/url]
Google

http://mysite.com
Image
[img]
http://www.google.com/intl/en_ALL/images/logo.gif
[/img]
Posted Image
Quote
[quote]
Some generic content here
[/quote]


[quote name='Username' date='Jun 30 2008, 10:39 AM' post='1735291']
Quoted post content here
[/quote]

Quote

Some generic content here


View PostUsername, on Jun 30 2008, 10:39 AM, said:

Quoted post content here
Indent
[indent]
Indent this text to make it stand out
[/indent]
Indent this text to make it stand out
Lists
[list]
[*]Unordered list
[/list]


[list=1]
[*]Ordered list
[/list]


[list=A]
[*]Generate different marker types (you can use a, A, i, I, and 1)
[list]
[*]This is multi-dimensional..
[/list]

[/list]
  • Unordered list


  • Ordered list


  • Generate different marker types (you can use a, A, i, I, and 1)
    • This is multi-dimensional..
strike
[strike]
Striked out text
[/strike]
Striked out text
Subscript text
Carbon Dioxide's chemical composition is CO
[sub]
2
[/sub]
Carbon Dioxide's chemical composition is CO2
Superscript Text
The mathematical way to write "x squared" is x
[sup]
2
[/sup]
The mathematical way to write "x squared" is x2
Email address
Please email
[email=admin@mysite.com]
the admin
[/email]


My email address is
[email]
my@emailaddress.com
[/email]
Please email the admin

My email address is my@emailaddress.com
Background-color
[background=red]
Red background behind this text
[/background]
Red background behind this text
Color text
[color=blue]
This text is blue
[/color]
This text is blue
Size tag
[size=4]
This is larger text
[/size]
This is larger text
Font tag
[font=Tahoma]
This text uses Tahoma font-family styling
[/font]
This text uses Tahoma font-family styling
Member
[member=Guest]
runs this site.
runs this site.
Media
[media]
http://www.youtube.com/watch?v=YqqLx-2vUr0
[/media]
Spoiler
[sp]
Darth Vader is really Luke's Father!
[/sp]
Darth Vader is really Luke's Father!
Blockquote
[BLOCKQUOTE]
This is an example!
[/BLOCKQUOTE]
This is an example!
ifilm
[ifilm]
2782467
[/ifilm]
youtuberss
[youtuberss]
Q9An-vJg4u8[/youtube]
[youtuberss]Q9An-vJg4u8[/youtube]
liveleak
[liveleak]
1190236783
[/liveleak]
Zero Punctuation Video
[zp]
gc=c2hvd0FkPXRydWUmYWRWYXJzPWFyZWE9Z2FtZXMmc2l0ZT1lc2NhcGlzdG1hZ2F6aW5lJmZpbGU9aHR0cCUzQSUyRiUyRnNlbGZzZXJ2ZTMwMCUyRWRvd25sb2FkJTJFdmlkZW9lZ2clMkVjb20lMkZnaWQzODklMkZjaWQxMzg5JTJGOFElMkZCTSUyRjExOTI0NTAxMTB1V0NKdjNQRElBbHlFdHhJQ1VjYSZzd2ZwYXRoPWh0dHAlM0ElMkYlMkZ1cGRhdGUlMkV2aWRlb2VnZyUyRWNvbSUyRmZsYXNoJTJGcHJveHklMkVzd2YlM0Zqc3ZlciUzRDElMkU0JmF1dG9QbGF5PWZhbHNlJnNob3dBZFByaW1hcnk9dHJ1ZSZ3bW9kZT13aW5kb3cmYWxsb3dGbGFzaDlGdWxsc2NyZWVuPXRydWU=
[/zp]
myspacetv
[myspacetv]
10894856
[/myspacetv]
New Clone Wars Trailer

Add to My Profile | More Videos
gametrailers video
[gametrailers]
d27cdb6e-ae6d-11cf-96b8-444553540000
[/gametrailers]
hulu
[hulu]
AWNZcPsTpumQJGz132SGow
[/hulu]
vimeo
[vimeo]
2809991
[/vimeo]

Direct Link.