BBCode Cheat-Sheet

BBCode-Code Formatted Result
Cheat-Sheet compiled by Alexander Sasse / BBCode © phpBB-Group and other contributors
[i]italic text[/i] italic text
[b]bold text[b] bold text
[u]underlined text[/u] underlined text
[s]striked text[/s] striked text
text [sup]supertext[sup] text supertext
text [sub]subtext[/sub] text subtext
[url]http://www.example.com[/url] http://www.example.com
[url=http://www.example.com]Named Link[/url] Named Link
[mail]john.doe@example.com[/mail] john.doe@example.com
[mail=john.doe@example.com]Mail me[/mail] Mail me
Forum-internal-links
[thread]threadID[/thread]
[thread=threadID]Go to this thread[/thread]
[post]postID[/post]
[post=postID]Go to this post[/post]

threadID
Go to this thread
postID
Go to this post
Images
[img]http://www.example.com/image.jpg[/img]
[img=100x100]http://www.example.com/image.jpg[/img]

[h1]Headtext[/h1]
...
[h6]Headtext[/h6]

Headtext

...
Headtext
[quote]Quoted text here[/quote]
[quote=John Doe]Quoted text from Jon Doe[/quote]
[quote=John Doe;postid]Quoted text from Jon Doe and link to post[/quote]
Quoted text here
John Doe
Quoted text from Jon Doe
John Doe >
Quoted text from Jon Doe and link to post
[code]Block code[/code] Block code
Numeric Lists
[ol]
[li]Listpoint 1[/li]
[li]Listpoint 2[/li]
[/ol]

  1. Listpoint 1
  2. Listpoint 2
Unordered Lists
[ul]
[li]Listpoint 1[/li]
[li]Listpoint 2[/li]
[/ul]

  • Listpoint 1
  • Listpoint 2
Ordered lists with specific formats
[list=formatoption]
[li]Listpoint 1[/li]
[li]Listpoint 2[/li]
[/list]
Possible Formatoptions
1 - Numeric list
a - Lower alpha list
A - Upper alpha list
i - lower roman list
I - upper roman list
circle - list circles as listpoints
disc - list with discs as listpoints
square - list with squares as listpoints
  1. Listpoint 1
  2. Listpoint 2
  1. Listpoint 1
  2. Listpoint 2
  1. Listpoint 1
  2. Listpoint 2
Text-alignment
[align=formatoption]
Aligned text
[/align]
Possible formatoptions
center
left
right
justify
Alternative text-alignment
[center]Centered aligned text[/center]
[left]Left aligned text[/left]
[right]Right aligned text[/right]
[justify]Justify aligned text[/justify]






Centered aligned text

Left aligned text

Right aligned text

Justify aligned text

Font-attributes
[font=Monaco]Text with Monaco font[/font]
[size=14]Font with another size[/size]
[color=red]Font with red color[/color]
[color=#FF44DD]Font with light-red color[/color]
Color-codes: real names and hexadecimal-values allowed

Text with Monaco font
Font with another size
Font with red color
Font with light-red color
Social-Media Links
[youtube]Example[/youtube]
[wiki]Example[/wiki]
[twitter]Example[/twitter]
[flickr]Example[/flickr]

YouTube Example
Read more about Example on Wikipedia
Follow Example on Twitter
Watch the photos of Example at Flickr
Special Code-Markups
Displaying PHP-Code
[php]<?php echo "Hello World"; ?>[/php]

Executing HTML-Code
[html]<strong>HTML</strong>-<em>Code</em>[/html]

Preventing BBCode parsing
[noparse][b]BBCode[/b] [i]won't[/i] [u]parsed[/u][/noparse]

PHP-Tag-Example
1 <?php echo "Hello World"?>

HTML-Tag-Example
HTML-Code

Noparse-Tag-Example
[b]BBCode[/b] [i]won't[/i] [u]parsed[/u]
Special-Tag to highlight texts
[highlight]This is a highlight text[/highlight]
This is a highlight text