Загрузка...
    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], [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 [SIZE=1]small[/SIZE] and [SIZE=7]big[/SIZE] text.
    Output:
    This is red and blue text.
    This is small and big text.
  • [URL], [EMAIL] - Linking

    Creates a link using the wrapped text as the target.

    Example:
    [URL]http://www.example.com[/URL]
    [EMAIL]example@example.com[/EMAIL]
    Output:
    http://www.example.com
    example@example.com
  • [URL=link], [EMAIL=address] - Linking (Advanced)

    Links the wrapped text to the specified web page or email address.

    Example:
    [URL=http://www.example.com]Go to example.com[/URL]
    [EMAIL=example@example.com]Email me[/EMAIL]
    Output:
    Go to example.com
    Email me
  • [USER=ID] - Profile Linking

    Links to a user's profile. This is generally inserted automatically when tagging a user.

    Example:
    [USER=1]User Name[/USER]
    Output:
    avatarRaysMorgan
  • [IMG] - Image

    Display an image, using the wrapped text as the URL.

    Example:
    [IMG]https://lolz.live/​styles/brivium/rezinc​/xenforo/avatars/avatar_s.png[/IMG]
    Output:
    [IMG]
  • [MEDIA=site] - Embedded Media

    Embeds media from whitelisted sites into your message. It is recommended that you use the media button in the editor tool bar. Approved sites: Coub.com; Imgur; Music.yandex; Reddit; Rutube; SoundCloud; Spotify; Telegram; Twitch; 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] - 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:
  • [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], [PHP], [HTML] - Programming Code Display

    Displays text in one of several programming languages, highlighting the syntax where possible.

    Example:
    [CODE]General
    code[/CODE]
    [PHP]echo $hello . 'world';[/PHP]
    Output:
    Code
    General
    code
    PHP
    echo $hello . 'world';
  • [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.
  • [API], [API=option] - Get data from the forum

    The BB code will receive data from your site and insert it into the message.

    Example:
    [api]https://jsonplaceholder.typicode.com/todos/1[/api]

    [api=title]https://jsonplaceholder.typicode.com/todos/1[/api]
    Output:
    Loading...


    Loading...
  • [BUTTON=option] - Button

    [button]

    Example:
    [button=https://lolz.live/members/]Top users[/button]
    Output:
    Top users
  • [CENSOR] - Censored content

    Content will be shown after click

    Example:
    [censor]Hello world![/censor]

    Content will be displayed after click.
    Output:
    Hello world!

    Content will be displayed after click.
  • [CLUB], [CLUB=option] - Hidden text for club members

    Information inside the code is only displayed to the forum team.

    Example:
    [club]Hello world![/club]
    Displayed only to forum team members.
    Output:

    Displayed only to forum team members.
  • [DAYS=option] - Hide text by time since registration

    The information inside the code is displayed only to certain registered users who have spent the specified number of days on the forum.

    Example:
    [days=5]Hello world![/days]
    Displayed only to registered users who registered no earlier than 5 days ago.
    Output:

    Displayed only to registered users who registered no earlier than 5 days ago.
  • [EXCEPTIDS=option] - Hide content from specific users

    The information within the code is displayed to everyone, except those who are listed in the list.

    Example:
    [exceptids=1,3,3124696]Hello world![/exceptids]
    Diplayed only for users which IDs aren't 1, 3, and 3124696.
    Output:

    Diplayed only for users which IDs aren't 1, 3, and 3124696.
  • [LANG=option] - Text that depends on language

    Will show the text if user using the specified language.

    Example:
    [lang=ru]Будет показано только пользователем на русском языке[/lang]
    [lang=en]Will be shown only for users with English language[/lang]
    Output:
    Will be shown only for users with English language
  • [LIKES=option] - Hide text by number of sympathies

    The information inside the code is displayed only to certain registered users who have received the required number of sympathies on the forum.

    Example:
    [likes=5]Hello, world![/likes]
    Displayed only to registered users whose number of forum sympathies is greater than or equal to 5.
    Output:

    Displayed only to registered users whose number of forum sympathies is greater than or equal to 5.
  • [LIKES2=option] - Hide text by number of likes

    The information inside the code is displayed only to certain registered users who have received the required number of likes on the forum.

    Example:
    [likes2=5]Hello, world![/likes2]
    Displayed only to registered users whose number of forum likes is greater than or equal to 5.
    Output:

    Displayed only to registered users whose number of forum likes is greater than or equal to 5.
  • [SRC], [SRC=option] - Code: syntax highlighting

    Syntax highlighting - highlighting the syntactic constructions of the text using different colors, fonts and styles. Usually used in text editors to make it easier to read the source code of programs. [SRC] - automatic syntax highlighting. [SRC="highlight"] - language specific, where highlight is: python (Python), ruby (Ruby), perl (Perl), php (PHP), xml (XML), html (HTML), css (CSS) , javascript (javascript), java (Java), cpp (C++), sql (SQL), smalltalk (Smalltalk), ini (INI file), dos (DOS Style), bash (Bash Style), diff (DIFF). In parentheses are the original names of the languages.

    Example:
    [SRC]<html>
    <head>
    <title>Hello World</title>
    </head>
    <body>
    <?php echo '<p>Hello World</p>'; ?>
    </body>
    </html>[/SRC]

    [SRC="html"]<!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>HTML Syntax Highlight</title>
    </head>
    <body>
    <h1>Page title</h1>
    <p>Some text...</p>
    </body>
    </html>[/SRC]

    [SRC="php"]<?php
    $ch = curl_init("http://www.example.com/");
    $fp = fopen("example_homepage.txt", "w");

    curl_setopt($ch, CURLOPT_FILE, $fp);
    curl_setopt($ch, CURLOPT_HEADER, 0);

    curl_exec($ch);
    curl_close($ch);
    fclose($fp);
    ?>[/SRC]
    Output:
    Code
    <html>
    <head>
    <title>Hello World</title>
    </head>
    <body>
    <?php echo '<p>Hello World</p>'; ?>
    </body>
    </html>

    html
    <!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>HTML Syntax Highlight</title>
    </head>
    <body>
    <h1>Page title</h1>
    <p>Some text...</p>
    </body>
    </html>

    php
    <?php
    $ch = curl_init("http://www.example.com/");
    $fp = fopen("example_homepage.txt", "w");

    curl_setopt($ch, CURLOPT_FILE, $fp);
    curl_setopt($ch, CURLOPT_HEADER, 0);

    curl_exec($ch);
    curl_close($ch);
    fclose($fp);
    ?>
  • [SRCI], [SRCI=option] - Code: syntax highlighting (inline)

    Syntax highlighting - highlighting syntactic constructions of the text using different colors, fonts and lettering. It is usually used in text editors to facilitate reading the source text of programs. [SRCI] - automatic syntax highlighting. [SRCI="highlighting"] - with a specific language, where highlighting is: python (Python), ruby (Ruby), perl (Perl), php (PHP), xml (XML), html (HTML), css (CSS), javascript (javascript), java (Java), cpp (C++), sql (SQL), smalltalk (Smalltalk), ini (INI file), dos (DOS Style), bash (Bash Style), diff (DIFF). The original language names are shown in parentheses.

    Example:
    [srci]config.php[/srci]
    Output:
    config.php
  • [TOOLTIP=option] - Tooltip

    Example:
    [tooltip=5]Lolzteam[/tooltip]
    Output:
    Lolzteam
  • [USERIDS=option] - Hidden text for users

    Display information only for users with specified IDs.

    Example:
    [userids=1,3,3124696]Hello world![/userids]
    Displayed only for users with IDs 1, 3, and 3124696.
    Output:

    Displayed only for users with IDs 1, 3, and 3124696.
  • [VISITOR] - Username

    Instead of the BB code, the name of the user who is viewing the page will be displayed.

    Example:
    [visitor][/visitor]
    Output:
    guest
Loading...