BB codes

T P S
We are Society.
Apply for membership
  • [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=8]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.
  • [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:
    N3v3R N3v3R
  • [IMG] - Image

    Display an image, using the wrapped text as the URL.
    Example:
    [IMG]https://thepiratesociety.org/styles/uix_dark/images/TPS-logo-4.png[/IMG]
    Output:
    TPS-logo-4.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: ABC News, Amazon Product, Apple Music, audioBoom, Audiomack, Bandcamp, BBC News, Blab, Bleacher Report videos, Break, Brightcove, CBS News Video, CNBC, CNN, CNNMoney, CollegeHumor, Comedy Central, Coub, Dailymotion, Democracy Now!, dumpert, 8tracks, ESPN, Facebook, Flickr, FORA.tv, Fox News, FOX Sports, Funny or Die, Gamespot, GameTrailers, Getty Images, Gfycat, Gifs.com, Giphy, GitHub Gist (via custom iframe), 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, Kiss Video, 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, Team Coco, TED Talks, Telegram, The Atlantic Video, The Guardian, The Onion, TinyPic videos, TMZ, Trailer Addict, Tumblr, Twitch, Twitter, Ustream, VBOX7, Veoh, Vevo, Viagame, Video Detective, Videomega, 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.
  • [CHARGE=option] - Charge

    Charging users to view your content.
    Example:
    [CHARGE=5]It costs 5 credits to see this text.[/CHARGE]
    Output:
    It costs 5 credits to see this text.
  • [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]
  • [MAP] - Insert Google map

    Inserts a Google embedded map.
    Example:
    [MAP]1600 Pennsylvania Ave NW, Washington, DC[/MAP]

    [MAP]A Google map embed link[/MAP]
    Output:
Top