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], [FONT=name], [SIZE=size] - 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 [FONT=Courier New]Courier New[/FONT] text.
    This is [SIZE=1]small[/SIZE] and [SIZE=8]big[/SIZE] text.
    Output:
    This is red and blue text.
    This is Courier New text.
    This is small and big text.
  • [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:
    You do not have permission to view link Log in or register now.

    example@example.com
  • [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:
    You do not have permission to view link Log in or register now.

    Email me
  • [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://civil4m.com/logo.og.png[/IMG]
    Output:
    logo.og.png
  • [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: Apple Music, Dailymotion, Facebook, Flickr, Giphy, Imgur, Instagram, Liveleak, Metacafe, Pinterest, Reddit, SoundCloud, Spotify, Tumblr, Twitch, Twitter, Vimeo, 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
  • [ISPOILER] - Inline text containing spoilers

    Hides text that may contain spoilers so that it must be clicked by the viewer to be seen.
    Example:
    This is a [ISPOILER]Simple spoiler[/ISPOILER].
    This is a [ISPOILER=Spoiler]with a title[/ISPOILER].
    Output:
    This is a Simple spoiler .
    This is a 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:
    You need to reply to this in order to see this content.
    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.