BB codes

  • [B], [I], [U], [S] - bold, Italic, Underline, Struck-through

    Applies basic formatting to the wrapped text.
    Example:
    This is [B]bold[/B] text.
    This is [I]italic[/I] text.
    This is [U]underlined[/U] text.
    This is [S]struck-through[/S] text.
    Output:
    This is bold text.
    This is italic text.
    This is underlined text.
    This is struck-through text.
  • [COLOR=color], [BGCOLOR=color], [FONT=name], [SIZE=size] - Background color, Text color, Font, Size

    Applies advanced formatting to the wrapped text.
    Example:
    This is [COLOR=red]red[/COLOR] and [COLOR=#0000cc]blue[/COLOR] text.
    This is text with [BGCOLOR=#ffaaaa]red[/BGCOLOR] and [BGCOLOR=#aaaaff]blue[/BGCOLOR] background.
    This is [FONT=Courier New]Courier New[/FONT] text.
    This is [SIZE=1]small[/SIZE] and [SIZE=14]big[/SIZE] text.
    Output:
    This is red and blue text.
    This is text with red and blue background.
    This is Courier New text.
    This is small and big text.
  • [SUB], [SUP] - Subscript, Superscript

    Offset wrapped text.
    Example:
    This text contains [SUB]subscript[/SUB].
    This text contains [SUP]superscript[/SUP].
    Output:
    This text contains subscript.
    This text contains superscript.
  • [URL], [EMAIL] - Linking

    Creates a link using the wrapped text as the target.
    Example:
    [URL]https://www.example.com[/URL]
    [EMAIL]example@example.com[/EMAIL]
    Output:
  • [URL=link], [EMAIL=address] - Linking (Advanced)

    Links the wrapped text to the specified web page or email address.
    Example:
    [URL=https://www.example.com]Go to example.com[/URL]
    [EMAIL=example@example.com]Email me[/EMAIL]
    Output:
  • [USER=ID] - Profile Linking

    Links to a user's profile. This is generally inserted automatically when mentioning a user.
    Example:
    [USER=1]User name[/USER]
    Output:
  • [IMG] - Image

    Display an image, using the wrapped text as the URL.
    Example:
    [IMG]https://pxilok.ru/styles/default/xenforo/watermark1.png[/IMG]
    Output:
  • [MEDIA=site] - Embedded Media

    Embeds media from approved sites into your message. It is recommended that you use the media button in the editor tool bar.
    Approved sites: ABC News, Amazon Product, Apple Music, audioBoom, Audiomack, Bandcamp, BBC News, Bleacher Report videos, Break, Brightcove, CBS News Video, CNBC, CNN, CNNMoney, CollegeHumor, Comedy Central, Coub, Dailymotion, Democracy Now!, dumpert, 8tracks, ESPN, Facebook, Flickr, Fox News, FOX Sports, Funny or Die, Gamespot, GameTrailers, Getty Images, Gfycat, Gifs.com, Giphy, GitHub Gist, Global News, GoFundMe, Google Drive, Google+, Google Sheets, Healthguru, Hudl, Hulu, HumorTV, IGN, IMDb, Imgur, Indiegogo, Instagram, Internet Archive, İzlesene, JW Platform, Kontinental Hockey League (КХЛ), Kickstarter, Libsyn, LiveCap, Liveleak, Livestream, Mail.Ru, Medium, Metacafe, Mixcloud, MLB, MRCTV, MSNBC, National Geographic Channel, National Geographic Video, NBC News, NBC Sports, NHL Videos and Highlights, NPR, The New York Times Video, Orfium, Pastebin, Pinterest, Plays.tv, Podbean, Prezi, Reddit threads and comments, Rutube, Scribd, SlideShare, SoundCloud, Sportsnet, Spotify, Steam store, Stitcher, Straw Poll, Streamable, Streamja, Team Coco, TED Talks, Telegram, The Atlantic Video, The Guardian (obsolete), The Onion, TinyPic videos, TMZ, Trailer Addict, Tumblr, Twitch, Twitter, Ustream, VBOX7, Veoh, Vevo, Video Detective, Vimeo, Vine, VK, Vocaroo, Vox, Washington Post Video, WorldStarHipHop, The Wall Street Journal Online, XboxClips, Xbox DVR, Yahoo! Screen, Youku, YouTube
    Example:
    [MEDIA=youtube]oHg5SJYRHA0[/MEDIA]
    Output:
    An embedded YouTube player would appear here.
  • [LIST] - Lists

    Displays a bulleted or numbered list.
    Example:
    [LIST]
    [*]Bullet 1
    [*]Bullet 2
    [/LIST]
    [LIST=1]
    [*]Entry 1
    [*]Entry 2
    [/LIST]
    Output:
    • Bullet 1
    • Bullet 2
    1. Entry 1
    2. Entry 2
  • [LEFT], [CENTER], [RIGHT], [JUSTIFY] - Text alignment

    Changes the alignment of the wrapped text.
    Example:
    [LEFT]Left-aligned[/LEFT]
    [CENTER]Center-aligned[/CENTER]
    [RIGHT]Right-aligned[/RIGHT]
    [JUSTIFY]This is a justified text block with a long content to demonstrate the justification.[/JUSTIFY]
    Output:
    Left-aligned​
    Center-aligned​
    Right-aligned​
    This is a justified text block with a long content to demonstrate the justification.​
  • [QUOTE] - Quoted text

    Displays text that has been quoted from another source. You may also attribute the name of the source.
    Example:
    [QUOTE]Quoted text[/QUOTE]
    [QUOTE=A person]Something they said[/QUOTE]
    Output:
    Quoted text
    A person said:
    Something they said
  • [SPOILER] - Text containing spoilers

    Hides text that may contain spoilers so that it must be clicked by the viewer to be seen.
    Example:
    [SPOILER]Simple spoiler[/SPOILER]
    [SPOILER=Spoiler Title]Spoiler with a title[/SPOILER]
    Output:
    Simple spoiler
    Spoiler with a title
  • [CODE] - Programming code display

    Displays text in one of several programming languages, highlighting the syntax where possible.
    Example:
    General code:
    [CODE]General
    code[/CODE]

    Rich code:
    [CODE=rich][COLOR=red]Rich[/COLOR]
    code[/CODE]

    PHP code:
    [CODE=php]echo $hello . ' world';[/CODE]

    JS code:
    [CODE=javascript]var hello = 'world';[/CODE]
    Output:
    General code:
    Code:
    General
    code
    Rich code:
    Rich (BB code):
    Rich
    code
    PHP code:
    PHP:
    echo $hello . ' world';
    JS code:
    JavaScript:
    var hello = 'world';
  • [ICODE] - Inline programming code display

    Allows you to display code inline among normal post content. Syntax will not be highlighted.
    Example:
    Inline code blocks [ICODE]are a convenient way[/ICODE] of displaying code inline.
    Output:
    Inline code blocks are a convenient way of displaying code inline.
  • [TABLE], [TR], [TH], [TD] - Tables

    Use [TR] tags to start new rows inside a table tag. Use [TD] tags to start new cells inside row tags. Use [TH] to start new table header cells inside table rows.
    Example:
    [TABLE]
    [TR]
    [TH]Header 1[/TH]
    [TH]Header 2[/TH]
    [/TR]
    [TR]
    [TD]Cell 1 1[/TD]
    [TD]Cell 1 2[/TD]
    [/TR]
    [TR]
    [TD]Cell 2 1[/TD]
    [TD]Cell 2 2[/TD]
    [/TR]
    [/TABLE]
    Output:

    Header 1

    Header 2

    Cell 1 1

    Cell 1 2

    Cell 2 1

    Cell 2 2

  • [TH=vertical align], [TD=vertical align] - Tables (Advanced)

    Changes vertical align of table cells and table header cells.
    Example:
    [TABLE][TR]
    [TD]1
    2
    3[/TD][TD=top]Top[/TD]
    [TD=middle]Middle[/TD]
    [TD=bottom]Bottom[/TD]
    [/TR][/TABLE]
    Output:

    1
    2
    3

    Top

    Middle

    Bottom

  • [TABLE=class] - Tables (Advanced)

    Changes the appearance of tables depending on the classes chosen. Multiple classes can be used, separated by a space.
    Example:
    [TABLE=nofullwidth]
    [TR][TD]A table that is not full width[/TD][/TR][/TABLE]

    [TABLE=center-nofullwidth]
    [TR][TD]A centered table.[/TD][/TR][/TABLE]

    [TABLE=right-nofullwidth]
    [TR][TD]A right aligned table.[/TD][/TR][/TABLE]

    [TABLE=noborder]
    [TR][TD]A table with no border.[/TD][/TR][/TABLE]

    [TABLE=nobackground]
    [TR][TD]A table that[/TD][/TR][TR][TD]doesn't color rows differently[/TD][/TR][/TABLE]

    [TABLE=collapse]
    [TR][TD]A table that[/TD][TD] has non-equal width columns.[/TD][/TR][/TABLE]
    Output:

    A table that is not full width



    A centered table.



    A right aligned table.



    A table with no border.



    A table that

    doesn't color rows differently



    A table that

    has non-equal width columns.

  • [INDENT] - Text indent

    Indents the wrapped text. This can be nested for larger indentings.
    Example:
    Regular text
    [INDENT]Indented text[/INDENT]
    [INDENT=2]More indented[/INDENT]
    Output:
    Regular text
    Indented text​
    More indented​
  • [PLAIN] - Plain text

    Disables BB code translation on the wrapped text.
    Example:
    [PLAIN]This is not [B]bold[/B] text.[/PLAIN]
    Output:
    This is not [B]bold[/B] text.
  • [ATTACH] - Attachment insertion

    Inserts an attachment at the specified point. If the attachment is an image, a thumbnail or full size version will be inserted. This will generally be inserted by clicking the appropriate button.
    Example:
    Thumbnail: [ATTACH]123[/ATTACH]
    Full size: [ATTACH=full]123[/ATTACH]
    Output:
    The contents of the attachments would appear here.
  • [HIDE], [HIDEREPLY], [HIDETHANKS], [HIDEPOSTS], [HIDEREPLYPOSTS] - Hide content from users

    Hide content from users depending on various circumstances. [HIDEREPLY] - Hides content until user has replied to the subject. [HIDETHANKS] - Hides content until user has liked the content. [HIDEREPLYTHANKS] - Hides content until user has replied to the subject or liked the content. [HIDEPOSTS] - Hides content until user has a certain number of posts. [HIDE] - Works like [HIDEREPLY].
    Example:
    [HIDE]You can view this content.[/HIDE]
    [HIDEREPLY]You can view this content.[/HIDEREPLY]
    [HIDETHANKS]You can view this content.[/HIDETHANKS]
    [HIDEREPLYTHANKS]You can view this content.[/HIDEREPLYTHANKS]
    [HIDEPOSTS]You can view this content.[/HIDEPOSTS]
    Output:
    View hidden content is available for registered users!

    You need to reply to this in order to see this content.
    You need to like this in order to view this content.
    You need to like or reply to this in order to see this content.
    You are not allowed to view this content.
  • [CLUB] - Hidden text for club members

    Information inside the code is displayed only to members of the club.
    Example:
    [club]Hello World![/club] - Only club members are displayed.
    Output:
    To view the content, you need to Sign In or Register. - Only club members are displayed.
  • [DAYS=option] - Hidden text by the number of days

    Number of days from the date of registration on the forum, which the user needs to be able to view
    Example:
    [days=5]Hello World!![/days] - Only registered users who are registered not earlier than 5 days ago are displayed.
    Output:
    To view the content, you need to Sign In or Register. - Only registered users who are registered not earlier than 5 days ago are displayed.
  • [GALLERY=option] - Gallery embed

    BB code for displaying gallery media items and albums.
    Example:
    [GALLERY=media, X]Gallery BB Code[/GALLERY]
    Output:
    [GALLERY=media, X]Gallery BB Code[/GALLERY]
  • [GROUPS=option] - Hidden text for user groups

    The tag hides content from people who are not members of X,Y,Z usergroups.
    Example:
    [groups=2]Hello World![/groups] - Displayed only for group members with ID 2.
    Output:
    Content of this hidden block can only be seen by members of: Registered
    - Displayed only for group members with ID 2.
  • [HIDE] - Hidden text is for users only.

    Hidden text: For users only.
    Example:
    [HIDE]Hello World![/HIDE] - only users see the hidden text
    Output:
    View hidden content is available for registered users!
    - only users see the hidden text
  • [LIKES=option] - Hidden text by the number of likes

    Number of like on the forum, which the user needs to be able to view
    Example:
    [likes=5]Hello World![/likes] - Displayed only registered users whose number of likes on the forum is greater than or equal to 5.
    Output:
    To view the content, you need to Sign In or Register. - Displayed only registered users whose number of likes on the forum is greater than or equal to 5.
  • [POSTS=option] - Hidden text by the number of posts

    Number of posts on the forum, which the user needs to be able to view
    Example:
    [posts=5]Привет, мир![/posts] - Displays users who have 5 or more posts on the forum.
    Output:
    To view the content, you need to Sign In or Register. - Displays users who have 5 or more posts on the forum.
  • [REPLY] - Hidden text until the user answers the thread.

    Hidden text until the user answers the thread.
    Example:
    [reply]Hello World![/reply] - Displayed to users when they reply to the thread.
    Output:
    To view the content, you need to Sign In or Register. - Displayed to users when they reply to the thread.
  • [REPLYANDTHANKS] - Hidden text until the user responds to the topic and clicks Like on this message.

    Hidden text until the user responds to the topic and clicks Like on this message.
    Example:
    [replyandthanks]Hello World![/replyandthanks] - It is displayed to users when they reply to the topic and click "I like".
    Output:
    To view the content, you need to Sign In or Register. - It is displayed to users when they reply to the topic and click "I like".
  • [REPLYTHANKS] - Hidden text until the user responds to the topic or clicks Like on this message.

    Hidden text until the user responds to the topic or clicks Like on this message.
    Example:
    [replythanks]Hello World![/replythanks] - It is displayed to users when they reply to the topic or click "I like".
    Output:
    To view the content, you need to Sign In or Register. - It is displayed to users when they reply to the topic or click "I like".
  • [RESOURCE=option] - Hidden text by the number of resources

    Hidden text by the number of resources
    Example:
    [RESOURCE=5]Hello World![/RESOURCE] - 5 resources are required to view hidden content by resource.
    Output:
    To view the content, you need to Sign In or Register. - 5 resources are required to view hidden content by resource.
  • [THANKS] - Hidden text until the user clicks "Like" for this message.

    This tag hides the text until the user clicks the Like button in the message.
    Example:
    [thanks]Hello World![/thanks] - This tag hides the text until the user clicks the Like button in the message.
    Output:
    To view the content, you need to Sign In or Register. - This tag hides the text until the user clicks the <b>Like button</b> in the message.
  • [USERSID=option] - Hidden text for users by id

    Hides the text from users by id, except for the parameters listed in the list of BB-code.
    Example:
    [userids=1,2,3]Hello World![/userids] - Appears only for users with ids 1, 2, 3.
    Output:
    [userids=1,2,3]Hello World![/userids] - Appears only for users with ids 1, 2, 3.