YetAnotherForum.NET Help
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 boldDescription
The [i] tag allows you to create text that italic.Usage
[i]This text is italic[/i]Output
This text is italicDescription
The [u] tag allows you to create text underlined.Usage
[u]This text is underlined[/u]Output
This text is underlinedDescription
Wrap these tags to strike through textUsage
[s]This text is Strike through[/s]Output
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 blueDescription
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=180Usage
[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 fontDescription
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
Description
The [h] tag allows you to highlight your text.Usage
[h]this text is highlighted[/h]Output
this text is highlightedBB 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 NameUsage
[email]someone@mydomain.com[/email][email=someone@mydomain.com]Click Here to Email Me[/email]
Output
someone@mydomain.comClick 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]https://yetanotherforum.net[/url][url=https://yetanotherforum.net]mydomain[/url]
Output
https://yetanotherforum.netmydomain
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
- list item 1
- list item 2
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]https://yetanotherforum.netContent/images/YAFLogo.svg[/img][img=https://yetanotherforum.netContent/images/YAFLogo.svg]YAF Logo[/img]
[url=https://yetanotherforum.net] [img]https://yetanotherforum.netContent/images/YAFLogo.svg[/img] [/url] (Linked)
Output
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 [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
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
Otherwise as Guest you see a Info Message
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
Otherwise as Guest you see a Info Message
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
Otherwise as Guest you see a Info Message
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
Otherwise as Guest you see a Info Message
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
Otherwise as Guest you see a Info Message
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
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
UsernameDescription
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.