BB codes

  • [B], [I], [U], [S] - Bold, italics, underline, and strike-through

    Makes the wrapped text bold, italic, underlined, or struck-through.
    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, and Size

    Changes the color, font, or size of 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=7]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][email protected][/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 protected]]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]Username[/USER]
    Output:
  • [IMG] - Image

    Display an image, using the wrapped text as the URL.
    Example:
    [IMG]https://www.badgerandblade.com/forum/styles/badgerandblade/xenforo/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 (Legacy), Liveleak, Metacafe, Pinterest, Reddit, SoundCloud, Spotify, TikTok, Tumblr, Twitch, Twitter, Vimeo, YouTube
    Example:
    [MEDIA=youtube]kQ0Eo1UccEE[/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] - Text alignment

    Changes the alignment of the wrapped text.
    Example:
    [LEFT]Left-aligned[/LEFT]
    [CENTER]Center-aligned[/CENTER]
    [RIGHT]Right-aligned[/RIGHT]
    Output:
    Left-aligned​
    Center-aligned​
    Right-aligned​
  • [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

    Allows you to display text inline among normal content which hides text that may contain spoilers and must be clicked by the viewer to be seen.
    Example:
    You have to click the following [ISPOILER]word[/ISPOILER] to see the content.
    Output:
    You have to click the following word to see the content.
  • [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 sections [ICODE]are a convenient way[/ICODE] of displaying code inline.

    Rich formatting within inline code sections [ICODE=rich]is [COLOR=red]also[/COLOR] [U]supported[/U][/ICODE].
    Output:
    Inline code sections are a convenient way of displaying code inline.

    Rich formatting within inline code sections is also supported.
  • [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​
  • [TABLE] - Tables

    Special markup to display tables in your content.
    Example:
    [TABLE]
    [TR]
    [TH]Header 1[/TH]
    [TH]Header 2[/TH]
    [/TR]
    [TR]
    [TD]Content 1[/TD]
    [TD]Content 2[/TD]
    [/TR]
    [/TABLE]
    Output:
  • [HEADING=level] - Headings levels 1 to 3

    Marks text as a structured heading to facilitate machine readability.
    Example:
    [HEADING=1]Major heading[/HEADING]
    This text comes under a major heading, used to separate the primary sections of an article.

    [HEADING=2]Minor heading[/HEADING]
    When you need to subdivide the primary sections of an article, use a level 2 minor heading.

    [HEADING=3]Subheading[/HEADING]
    If you require additional subdivision, you may drop to level 3.
    Output:

    Major heading​

    This text comes under a major heading, used to separate the primary sections of an article.

    Minor heading​

    When you need to subdivide the primary sections of an article, use a level 2 minor heading.

    Subheading​

    If you require additional subdivision, you may drop to level 3.
  • [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.
  • [AUTOLINK] - Autolink

    Create a link to an article with the Autolink prefix.
    Example:
    [autolink]Main Page[/autolink]
    Output:
    [autolink]Main Page[/autolink]
  • [BOOKINDEX] - Book Index

    Create a link to an article with the Book Index prefix.
    Example:
    [bookindex]Demo Book[/bookindex]
    Output:

  • [CATEGORY] - Legacy Category Tag

    Create a link to an article with the Legacy Category Tag prefix.
    Example:
    [category]Example[/category]
    Output:
  • [CHAR] - Char

    Create a link to an article with the Char prefix.
    Example:
    [char]lt[/char]
    Output:
    <
  • [COMMENT] - Comment

    Create a link to an article with the Comment prefix.
    Example:
    [comment]This is an HTML comment.[/comment]
    Output:
  • [DIV] - Div

    Create a link to an article with the Div prefix.
    Example:
    [div] style="border: 1px solid #ff0000" | Text in the block. [/div]
    Output:
    Text in the block.
  • [FOOTNOTE] - Footnote

    Create a link to an article with the Footnote prefix.
    Example:
    [footnote]This is a footnote[/footnote]
    Output:
  • [FORUMINDEX] - Forum Index

    Create a link to an article with the Forum Index prefix.
  • [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]
  • [GALLERY1] - Gallery

    Create a link to an article with the Gallery prefix.
    Example:
    [gallery] caption="Gallery Title" |
    image1.ext|Caption text
    image2.ext|Caption text
    [/gallery]
    Output:
    [gallery] caption="Gallery Title" | image1.ext|Caption text image2.ext|Caption text [/gallery]
  • [H=option] - Headline

    Create a link to an article with the Headline prefix.
    Example:
    [h=4]This is a level 4 headline.[/h]
    Output:

    This is a level 4 headline.

  • [HELP] [HELP=option] - Help

    Create a link to an article with the Help prefix.
    Example:
    [help=Example]Click here to view this page![/help]
    Output:
  • [HR] - Horizontal Line

    Create a link to an article with the Horizontal Line prefix.
    Example:
    [hr]100[/hr]
    Output:

  • [MEDIAWIKI] [MEDIAWIKI=option] - MediaWiki

    Create a link to an article with the MediaWiki prefix.
    Example:
    [mediawiki=Example]Click here to view this page![/mediawiki]
    Output:
  • [MODNOTEBOOK] [MODNOTEBOOK=option] - ModNotebook

    Create a link to an article with the ModNotebook prefix.
    Example:
    [modnotebook=Example]Click here to view this page![/modnotebook]
    Output:
  • [PROJECT] [PROJECT=option] - Project

    Create a link to an article with the Project prefix.
    Example:
    [project=Example]Click here to view this page![/project]
    Output:
  • [REFLIST] - Reference List

    Create a link to an article with the Reference List prefix.
    Example:
    [reflist]1702[/reflist]
    Output:
  • [SHOWCASE=option] - Showcase Item embed

    BB code for displaying showcase items
    Example:
    [SHOWCASE=item, X]Showcase Item BB Code[/SHOWCASE]
    Output:
    [SHOWCASE=item, X]Showcase Item BB Code[/SHOWCASE]
  • [SHOWTHREADS] - Show Threads

    Create a link to an article with the Show Threads prefix.
  • [SPAN] - Span

    Create a link to an article with the Span prefix.
    Example:
    [span] style="background-color: #ff0000" | Text in the wrapper. [/span]
    Output:
    Text in the wrapper.
  • [SPECIAL] [SPECIAL=option] - Special

    Create a link to an article with the Special prefix.
    Example:
    [special=Example]Click here to view this page![/special]
    Output:
  • [TEMPLATE] - Template Inclusion Tag

    Create a link to an article with the Template Inclusion Tag prefix.
    Example:
    [template]Example[/template]
    Output:
  • [TOC] - Table of Contents

    Create a link to an article with the Table of Contents prefix.
    Example:
    [toc][/toc]
    Output:
  • [USERNAME] [USERNAME=option] - User

    Create a link to an article with the User prefix.
    Example:
    [username=Example]Click here to view this page![/username]
    Output:
  • [WIDGET] - Widget

    Create a link to an article with the Widget prefix.
    Example:
    [widget]MultiPage
    |Page 1
    |Page 2
    [/widget]
    Output:
  • [WIKI] [WIKI=option] - Default

    Create a link to an article with the Default prefix.
    Example:
    [wiki=Example]Click here to view this page![/wiki]
    Output:
Top Bottom