BB Codes for Text formatting
Description
The [b] tag allows you to create text that is bold.
Usage
[b]This text is bold[/b]
Output
This text is bold
Description
The [i] tag allows you to create text that italic.
Usage
[i]This text is italic[/i]
Output
This text is italic
Description
The [u] tag allows you to create text underlined.
Usage
[u]This text is underlined[/u]
Output
This text is underlined
Description
Wrap these tags to strike through text
Usage
[s]This text is Strike through[/s]
Output
This text is Strike through
Description
The [color] tag allows you to change the color of your text, by parsing the color you want.
Usage
[color=blue]this text is blue[/color]
Output
this text is blue
Description
The [size] tag allows you to change the size of your text. You can define a value from 1-9, these values will be converted in percentage values 1=50, 2=70, 3=80, 4=90, 5=100, 6=120, 7=140, 8=160, 9=180
Usage
[size=9]This Text has the font size of 180%[/size]
Output
This Text has the font size of 180%
Description
The [font] tag allows you to change the font family of your text.
Usage
[font=courier]this text is in the courier font[/font]
Usage
this text is in the courier font
Description
The [left], [right] and [center] tags allow you to change the alignment of your text.
Usage
[left]this text is left aligned[/left]
[center]this text is center aligned[/center]
[right]this text is right aligned[/right]
Output
this text is left aligned
this text is center aligned
this text is right aligned
Description
The [h] tag allows you to highlight your text.
Usage
[h]this text is highlighted[/h]
Output
this text is highlighted
BB Codes to create various Links
Description
The [email] tag allows you to link to an email address. You can include an optional parameter to add a Link Name
Usage
[email]someone@mydomain.com[/email]
[email=someone@mydomain.com]Click Here to Email Me[/email]
Output
someone@mydomain.com
Click Here to Email Me
Description
The [url] tag allows you to link to other websites and files. You can include an optional parameter to 'name' your link. You can also combine [url] tags with [img] tags to create image links.
Usage
[url]http://www.elisoft.ro/ElisForum/[/url]
[url=http://www.elisoft.ro/ElisForum/]mydomain[/url]
Output
http://www.elisoft.ro/ElisForum/
mydomain
Description
The [topic] tag allows you to link to topics inside the forum, by specifying the topic id and the Link Name.
Usage
[topic=123]Go to Topic[/thread]
Output
Go to Topic
Description
The [post] tag allows you to link to a specific post from a topic inside the forum, by specifying the post id and the Link Name.
Usage
[post=123]Go to Post[/post]
Output
Go to Post
BB Codes to create Lists
Description
The [list] tag allows you to create simple, bullet lists without specifying an option. Within the value portion, each bullet is denoted by the [*] tag.
Usage
[list]
[*]list item 1
[*]list item 2
[/list]
Output
Description
The [list=1], [list=a] (or [list=A]) or [list=i] (or [list=I]) tag allows you to create numbered, alphabetic with (capital) letters, or a numbered with (capital) Roman numeral lists.
Usage
[list=1]
[*]list item 1
[*]list item 2
[/list]
[list=a]
[*]list item a
[*]list item b
[/list]
[list=A]
[*]list item A
[*]list item B
[/list]
[list=i]
[*]list item i
[*]list item ii
[/list]
[list=I]
[*]list item I
[*]list item II
[/list]
Output
- list item 1
- list item 2
- list item a
- list item b
- list item A
- list item B
- list item i
- list item ii
- list item I
- list item II
BB Codes to add Media Elements (Images, Videos)
Description
The [img] tag allows you to add images to your posts. You can also combine [url] tags with [img] tags to create image links.
There is also an Option to enter an Image Description, which will be shown when you hover over the Image with the Mouse.
Usage
[img]http://www.elisoft.ro/ElisForum/Content/images/YAFLogo.svg[/img]
[img=http://www.elisoft.ro/ElisForum/Content/images/YAFLogo.svg]YAF Logo[/img]
[url=http://www.elisoft.ro/ElisForum/] [img]http://www.elisoft.ro/ElisForum/Content/images/YAFLogo.svg[/img] [/url] (Linked)
Output
(Linked)
Description
The [youtube] tag allows the embedding of an
Youtube video, by using the Url to the Video.
Usage
[youtube]http://www.youtube.com/watch?v=jqxENMKaeCU[/youtube]
[youtube]http://youtu.be/jqxENMKaeCU[/youtube]
Output
Description
The [vimeo] tag allows the embedding of an
Vimeo video, by using the Url to the Video.
Usage
[vimeo]http://vimeo.com/25451551[/vimeo]
Output
Description
The [googlemaps] tag allows the embedding a Map from Google Maps, by using the Url to the Map.
Usage
[googlemaps]http://maps.google.de/?ll=51.151786,10.415039&spn=21.97528,35.639648&t=h&z=5[/googlemaps]
Output
BB Codes to Quote other Postings, and BB Codes to include Code Text
Description
The [quote] tag allows you to quote a text from a posting.
Usage
[quote]Quoted Text.[/quote]
[quote=John Doe]Quoted Text.[/quote]
[quote=John Doe;123]Quoted Text.[/quote]
Output
Description
The [code] tag allows you to post Code Text, if you define the Code Language the Code will be Syntax Highlighted.
Usage
[code]
// Hello1.cs
public class Hello1
{
public static void Main()
{
System.Console.WriteLine("Hello, World!");
}
}
[/code]
[code=csharp]
// Hello1.cs
public class Hello1
{
public static void Main()
{
System.Console.WriteLine("Hello, World!");
}
}
[/code]
Output
// Hello1.cs
public class Hello1
{
public static void Main()
{
System.Console.WriteLine("Hello, World!");
}
}
// Hello1.cs
public class Hello1
{
public static void Main()
{
System.Console.WriteLine("Hello, World!");
}
}
BB Codes to show/Hide its Content only to specific users
Description
The [hide] tag hides content from people until they press the thank you button for the post.
Usage
[hide]Hidden Content[/hide]
Output
If you don't have the right to view the content, you see an Info Message that Informs you way you don't see the Content
Hidden Content
The content of this post is hidden. After you THANK the poster, refresh the page to see the hidden content. You need to thank the Current Post
Otherwise as Guest you see a Info Message
This board requires you to be registered and logged-in before you can view hidden messages.
If you do have access to see the Content you simply see the Hidden Content
Hidden Content
Description
The [group-hide] tag Hide the Content from Guests, or other Roles if defined.
Usage
[group-hide]Hidden Content[/group-hide]
Output
If you don't have the right to view the content, you see an Info Message that Informs you way you don't see the Content
You have insufficient rights to see the hidden content.
Otherwise as Guest you see a Info Message
This board requires you to be registered and logged-in before you can view hidden messages.
If you do have access to see the Content you simply see the Hidden Content
Hidden Content
Description
The [hide-thanks] tag hides content from people who have below X thanks received.
Usage
[hide-thanks=2]Hidden Content[/hide-thanks]
Output
If you don't have the right to view the content, you see an Info Message that Informs you way you don't see the Content
Hidden Content (You must be registered, and have at least 2 thank(s) received.)
Otherwise as Guest you see a Info Message
This board requires you to be registered and logged-in before you can view hidden messages.
If you do have access to see the Content you simply see the Hidden Content
Hidden Content
Description
The [hide-posts] tag hides content from people who have below X posts.
Usage
[hide-posts=10]Hidden Content[/hide-posts]
Output
If you don't have the right to view the content, you see an Info Message that Informs you way you don't see the Content
Hidden Content (You must be registered and have 10 post(s) or more.)
Otherwise as Guest you see a Info Message
This board requires you to be registered and logged-in before you can view hidden messages.
If you do have access to see the Content you simply see the Hidden Content
Hidden Content
Description
The [hide-reply] tag hides content from people until they replied in the same thread.
Usage
[hide-reply]Hidden Content[/hide-reply]
Output
If you don't have the right to view the content, you see an Info Message that Informs you way you don't see the Content
Hidden Content (You must be registered and reply to the message to see the hidden Content.)
Otherwise as Guest you see a Info Message
This board requires you to be registered and logged-in before you can view hidden messages.
If you do have access to see the Content you simply see the Hidden Content
Hidden Content
Description
The [hide-reply-thanks] tag hides content from people until they either reply in the same thread or press the thank you button for the post.
Usage
[hide-reply-thanks]Hidden Content[/hide-reply-thanks]
Output
If you don't have the right to view the content, you see an Info Message that Informs you way you don't see the Content
Hidden Content (You must be registered and reply to the message, or give thank, to see the hidden Content.)
Otherwise as Guest you see a Info Message
This board requires you to be registered and logged-in before you can view hidden messages.
If you do have access to see the Content you simply see the Hidden Content
Hidden Content
Description
The [spoiler] tag hides content from people until they click on "Show Spoiler".
Usage
[spoiler]Spoiler Content[/spoiler]
Output
Spoiler Content
Other
Description
The [userlink] tag generated a link to the provided User Profile Page, and shows if enabled the Users Online Status.
Usage
[userlink]Username[/userlink]
Output
Username
Description
The tag allows you to stop the parsing of BB code inside the tag.
Usage
[ noparse][b]Sample text.[/b][/ noparse]
Output
[b]Sample text.[/b]
NOTE: Don't forget to close an open BB Code tag. Tags that are not closed will be not formatted.