BB-коды | BLB - Big little Business

BB-коды

  • [B], [I], [U], [S] - bold, Курсив, Подчёркнутый, Struck-through

    Basic text formatting for the wrapped text.
    Пример:
    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.
    Результат:
    This is bold text.
    This is italic text.
    This is underlined text.
    This is struck-through text.
  • [COLOR=color], [FONT=font], [SIZE=size] - Цвет текста, Font, Размер

    Advanced text formatting options for wrapped text.
    Пример:
    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.
    Результат:
    This is red and blue text.
    This is Courier New text.
    This is small and big text.
  • [URL], [EMAIL] - ссылки

    Создаёт ссылку из выделенного текста.
    Пример:
    [URL]https://www.example.com[/URL]
    [EMAIL][email protected][/EMAIL]
    Результат:
  • [URL=ссылка], [EMAIL=адрес] - ссылки (дополнительно)

    Делает выделенный текст ссылкой на интернет-страницу или на email.
    Пример:
    [URL=http://www.example.com]Перейти на example.com[/URL]
    [[email protected]]Моя электронная почта[/EMAIL]
    Результат:
  • [USER=ID] - ссылка на профиль

    Ссылка на профиль пользователя. Как правило, добавляется автоматически при упоминании пользователя.
    Пример:
    [USER=1]Имя пользователя[/USER]
    Результат:
  • [IMG] - изображение

    Показывает изображение, используя выделенный текст как URL-адрес.
    Пример:
    [IMG]https://blb.team/styles/io_dark/io/images/logo.png[/IMG]
    Результат:
    logo.png
  • [MEDIA=сайт] - вставка медиа

    Вставляет в сообщение медиа с разрешённых сайтов. Рекомендуется использовать кнопку добавления медиа в панели инструментов редактора.
    Поддерживаемые сайты: Apple Music, Dailymotion, Facebook, Flickr, Giphy, Imgur, Instagram (Legacy), Liveleak, Metacafe, Pinterest, Reddit, SoundCloud, Spotify, TikTok, Tumblr, Twitch, Twitter, Vimeo, YouTube
    Пример:
    [MEDIA=youtube]oHg5SJYRHA0[/MEDIA]
    Результат:
    Встроенный YouTube плеер появится здесь.
  • [LIST] - списки

    Отображает нумерованный или маркированный список.
    Пример:
    [LIST]
    [*]Маркер 1
    [*]Маркер 2
    [/LIST]
    [LIST=1]
    [*]Запись 1
    [*]Запись 2
    [/LIST]
    Результат:
    • Маркер 1
    • Маркер 2
    1. Запись 1
    2. Запись 2
  • [LEFT], [RIGHT], [CENTER], [JUSTIFY] - Text alignment

    Изменяет выравнивание выделенного текста.
    Пример:
    [LEFT]Left-aligned[/LEFT]
    [CENTER]Center-aligned[/CENTER]
    [RIGHT]Right-aligned[/RIGHT]
    [JUSTIFY]This is a justified text block. This is a justified text block. This is a justified text block. This is a justified text block. This is a justified text block. This is a justified text block.[/JUSTIFY]
    Результат:
    Left-aligned​
    Center-aligned​
    Right-aligned​
    This is a justified text block. This is a justified text block. This is a justified text block. This is a justified text block. This is a justified text block. This is a justified text block.​
  • [QUOTE] - цитата текста

    Отображает текст, как процитированный из другого источника. Можно также указать имя этого источника.
    Пример:
    [QUOTE]Цитируемый текст[/QUOTE]
    [QUOTE=Пользователь]Пользователь что-то сказал[/QUOTE]
    Результат:
    Цитируемый текст
    Пользователь сказал(а):
    Пользователь что-то сказал
  • [SPOILER] - текст, содержащий спойлеры

    Скрывает текст, который может содержать спойлеры (преждевременно раскрытая важная сюжетная информация). Чтобы увидеть текст, нужно нажать кнопку спойлера.
    Пример:
    [SPOILER]Обычный спойлер[/SPOILER]
    [SPOILER=Заголовок спойлера]Спойлер с заголовком[/SPOILER]
    Результат:
    Обычный спойлер
    Спойлер с заголовком
  • [CODE] - вставка программного кода

    Отображает текст на одном из языков программирования, выделяя синтаксис где это возможно.
    Пример:
    Универсальный код:
    [CODE]Универсальный код[/CODE]

    Код с оформлением (BB-коды):
    [CODE=rich]Код с поддержкой [COLOR=red]форматирования[/COLOR][/CODE]

    PHP-код:
    [CODE=php]echo $hello . ' world';[/CODE]

    JS-код:
    [CODE=js]var hello = 'world';[/CODE]
    Результат:
    Универсальный код:
    Код:
    Универсальный код

    Код с оформлением (BB-коды):
    Код с оформлением (BB-коды):
    Код с поддержкой форматирования

    PHP-код:
    PHP:
    echo $hello . ' world';

    JS-код:
    Код:
    var hello = 'world';
  • [ICODE] - отображение однострочного программного кода

    Позволяет отображать однострочный код внутри обычного содержимого сообщения. Синтаксис не будет подсвечен.
    Пример:
    Блоки однострочного кода - [ICODE]это лучший способ[/ICODE] отображения кода одной строкой.

    В блоках однострочного кода [ICODE=rich]можно [COLOR=red]использовать[/COLOR] [U]форматирование[/U][/ICODE].
    Результат:
    Блоки однострочного кода - это лучший способ отображения кода одной строкой.

    В блоках однострочного кода можно использовать форматирование.
  • [HEADING=уровень] - Уровень заголовков от 1 до 3

    Выделяет текст как структурированный заголовок, для облегчения машинного считывания.
    Пример:
    [HEADING=1]Основной заголовок[/HEADING]
    Этот текст идет под основным заголовком, используемым для разделения основных частей статьи.

    [HEADING=2]Второстепенный заголовок[/HEADING]
    Если Вам нужно разделить основные части статьи, используйте 2-й уровень заголовков.

    [HEADING=3]Подзаголовок[/HEADING]
    Если Вам требуется дополнительные подразделы, Вы можете использовать 3-й уровень заголовков.
    Результат:

    Основной заголовок​

    Этот текст идет под основным заголовком, используемым для разделения основных частей статьи.

    Второстепенный заголовок​

    Если Вам нужно разделить основные части статьи, используйте 2-й уровень заголовков.

    Подзаголовок​

    Если Вам требуется дополнительные подразделы, Вы можете использовать 3-й уровень заголовков.
  • [INDENT] - отступ текста

    Увеличивает отступ выделенного текста. Можно использовать несколько раз для создания больших отступов.
    Пример:
    Обычный текст
    [INDENT]Небольшой отступ[/INDENT]
    [INDENT=2]Значительный отступ[/INDENT]
    Результат:
    Обычный текст
    Небольшой отступ​
    Значительный отступ​
  • [PLAIN] - обычный текст

    Отключает обработку BB-кодов внутри выделенного текста.
    Пример:
    [PLAIN]Это не [B]полужирный[/B] текст.[/PLAIN]
    Результат:
    Это не [B]полужирный[/B] текст.
  • [ATTACH] - вставка вложений

    Вставляет вложение в указанной точке. Если вложение является изображением, будет вставлена его уменьшенная версия или все оно целиком. Для этого нужно нажать на соответствующую кнопку.
    Пример:
    Миниатюра: [ATTACH]123[/ATTACH]
    Полный размер: [ATTACH=full]123[/ATTACH]
    Результат:
    Содержимое вложений появится здесь.
  • [CLUB] - For club members

    Information inside the code is displayed only to members of the club.
    Пример:
    [CLUB]Hello World![/CLUB] - Hidden text for club members
    Результат:
    [CLUB]Hello World![/CLUB] - Hidden text for club members
  • [CLUB1=option] - For club members

    Information inside the code is displayed only to members of the club.
    Пример:
    [CLUB]Hello World![/CLUB] - Hidden text for club members
    Результат:
    [CLUB]Hello World![/CLUB] - Hidden text for club members
  • [DAYS=option] - Number of days

    Number of days from the date of registration on the forum, which the user needs to be able to view
    Пример:
    [DAYS=5]Hello World![/DAYS] - Only registered users who are registered not earlier than 5 days ago are displayed.
    Результат:
    [DAYS=5]Hello World![/DAYS] - Only registered users who are registered not earlier than 5 days ago are displayed.
  • [GROUPS=option] - For user groups

    The tag hides content from people who are not members of X,Y,Z usergroups.
    Пример:
    [GROUPS=2]Hello World![/GROUPS] - Displayed only for group members with ID 2.
    Результат:
    Content of this hidden block can only be seen by members of: Registered
    Hello World!
    - Displayed only for group members with ID 2.
  • [HIDE] - For register only

    Hidden text: For register users only
    Пример:
    [HIDE]Hello World![/HIDE] - only registered users see the hidden text
    Результат:
    [HIDE]Hello World![/HIDE] - only registered users see the hidden text
  • [LIKES=option] - Number of likes

    Number of like on the forum, which the user needs to be able to view
    Пример:
    [LIKES=5]Hello World![/LIKES] - Displayed only registered users whose number of reactions on the forum is greater than or equal to 5.
    Результат:
    - Displayed only registered users whose number of reactions on the forum is greater than or equal to 5.
  • [POSTS=option] - Number of posts

    Number of posts on the forum, which the user needs to be able to view
    Пример:
    [POSTS=5]Hello World![/POSTS] - Displays users who have 5 or more posts on the forum.
    Результат:
    - Displays users who have 5 or more posts on the forum.
  • [REACTS=option] - By the reacts

    Hidden text for which you need to select a specific reaction
    Пример:
    [REACTS=1]Hello World![/REACTS] - displayed for those who clicked the 'Like' reaction.
    Результат:
    - displayed for those who clicked the 'Like' reaction.
  • [REPLY] - Answers the thread

    Hidden text until the user answers the thread.
    Пример:
    [REPLY]Hello World![/REPLY] - Displayed to users when they reply to the thread.
    Результат:
    - Displayed to users when they reply to the thread.
  • [REPLYANDTHANKS] - Answer and click Like

    Hidden text until the user responds to the thread and clicks Like on this message.
    Пример:
    [REPLYANDTHANKS]Hello World![/REPLYANDTHANKS] - It is displayed to users when they reply to the thread and click "I like".
    Результат:
    - It is displayed to users when they reply to the thread and click "I like".
  • [REPLYTHANKS] - Answer or click Like

    Hidden text until the user responds to the thread or clicks Like on this message.
    Пример:
    [REPLYTHANKS]Hello World![/REPLYTHANKS] - It is displayed to users when they reply to the thread or click "I like".
    Результат:
    - It is displayed to users when they reply to the thread or click "I like".
  • [THANKS] - Click "Like"

    This tag hides the text until the user clicks the Like button in the message.
    Пример:
    [THANKS]Hello World![/THANKS] - This tag hides the text until the user clicks the Like button in the message.
    Результат:
    - This tag hides the text until the user clicks the <b>Like button</b> in the message.
  • [TROPHIES=option] - Number of trophies

    Number of trophies on the forum, which the user needs to be able to view
    Пример:
    [TROPHIES=5]Hello World![/TROPHIES] - It is displayed only to registered users, the number of points for trophies on the forum which is greater than or equal to 5.
    Результат:
    - It is displayed only to registered users, the number of points for trophies on the forum which is greater than or equal to 5.
  • [USERS=option] - For users

    Hides the text from users, except for the parameters listed in the list of BB-code.
    Пример:
    [USERS=Alex,John,Bryan]Hello World![/USERS] - Displayed only by user Alex, John, Bryan.
    Результат:
    Hidden text for users: Alex, John
    Hello World!
    - Displayed only by user Alex, John, Bryan.
  • [USERSEXC=option] - Exclude users

    Hides the text from users that are listed in the list of parameters of the BB-code.
    Пример:
    [USERSEXC=Alex,John,Bryan]Hello World![/USERSEXC] - Displayed to all users except Alex, John, Bryan.
    Результат:
    - Displayed to all users except Alex, John, Bryan.
  • [USERSID=option] - Users by id

    Hides the text from users by id, except for the parameters listed in the list of BB-code.
    Пример:
    [USERIDS=1,2,3]Hello World![/USERIDS] - Appears only for users with ids 1, 2, 3.
    Результат:
    [USERIDS=1,2,3]Hello World![/USERIDS] - Appears only for users with ids 1, 2, 3.
  • [USERSIDEXC=option] - Exclude users by id

    Hides the text from users by id that are listed in the list of parameters of the BB-code.
    Пример:
    [USERSIDEXC=1,2,3]Hello World![/USERSIDEXC] - Appears only for all users except with ids 1, 2, 3.
    Результат:
    - Appears only for all users except with ids 1, 2, 3.