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], [BGCOLOR=color], [FONT=font], [SIZE=size] - Background color, Цвет текста, Font, Размер

    Advanced text formatting options for wrapped text.
    Пример:
    This is [COLOR=red]red[/COLOR] and [COLOR=#0000cc]blue[/COLOR] text.
    This is [BGCOLOR=#FAA]red[/BGCOLOR] and [BGCOLOR=#AAF]blue[/BGCOLOR] highlighted 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 red and blue highlighted text.
    This is Courier New text.
    This is small and big text.
  • [SUB], [SUP] - Subscript, Superscript

    Position wrapped text.
    Пример:
    This is [SUB]subscript[/SUB] text.
    This is [SUP]superscript[/SUP] text.
    Результат:
    This is subscript text.
    This is superscript text.
  • [URL], [EMAIL] - ссылки

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

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

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

    Показывает изображение, используя выделенный текст как URL-адрес.
    Пример:
    [IMG]https://forum.alure.pw/styles/alurereborn/images/logos/nav_logo.png[/IMG]
    Результат:
    nav_logo.png
  • [VIDEO] - Video

    Displays a video, using the wrapped text as the URL.
    Пример:
    [VIDEO]https://forum.alure.pw/styles/editor-manager/missing-video.mp3[/VIDEO]

    [VIDEO='width:300']https://forum.alure.pw/styles/editor-manager/missing-video.mp3[/VIDEO]
    Результат:


  • [AUDIO] - Audio

    Displays an audio player, using the wrapped text as URL.
    Пример:
    [AUDIO]https://forum.alure.pw/styles/editor-manager/missing-audio.mp3[/AUDIO]
    Результат:
  • [MEDIA=сайт] - вставка медиа

    Вставляет в сообщение медиа с разрешённых сайтов. Рекомендуется использовать кнопку добавления медиа в панели инструментов редактора.
    Поддерживаемые сайты: Apple Music, Dailymotion, Facebook, Flickr, Giphy, Imgur, 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]
    Результат:
    Обычный спойлер
    Спойлер с заголовком
  • [ISPOILER] - Inline text containing spoilers

    Скрывает текст, который может содержать спойлеры (преждевременно раскрытая важная сюжетная информация). Чтобы увидеть текст, нужно нажать кнопку спойлера.
    Пример:
    You have to click the following [ISPOILER]word[/ISPOILER] to see the content.
    Результат:
    You have to click the following word to see the content.
  • [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].
    Результат:
    Блоки однострочного кода - это лучший способ отображения кода одной строкой.

    В блоках однострочного кода можно использовать форматирование.
  • [TABLE] - Tables

    Special markup to display tables in your content.
    Пример:
    [TABLE]
    [TR]
    [TH]Header 1[/TH]
    [TH]Header 2[/TH]
    [/TR]
    [TR]
    [TD]Content 1[/TD]
    [TD]Content 2[/TD]
    [/TR]
    [/TABLE]
    Результат:
    Header 1Header 2
    Content 1Content 2
  • [TABLE=class] - Tables (Advanced)

    Advanced table styling.
    Пример:
    Option adds additional styling.
    [TABLE=noborder]
    [TR]
    [TH]Header 1[/TH]
    [TH]Header 2[/TH]
    [/TR]
    [TR]
    [TD]Content 1[/TD]
    [TD]Content 2[/TD]
    [/TR]
    [/TABLE]

    Multiple styles can be combined.
    [TABLE=collapse,right,nobackground]
    [TR]
    [TH]Header 1[/TH]
    [TH]Header 2[/TH]
    [/TR]
    [TR]
    [TD]Content 1[/TD]
    [TD]Content 2[/TD]
    [/TR]
    [/TABLE]

    [TABLE=collapse,center,alternate]
    [TR]
    [TH]Header 1[/TH]
    [TH]Header 2[/TH]
    [/TR]
    [TR]
    [TD]Content 1[/TD]
    [TD]Content 2[/TD]
    [/TR]
    [TR]
    [TD]Content 1[/TD]
    [TD]Content 2[/TD]
    [/TR]
    [/TABLE]
    Результат:
    Option adds additional styling.
    Header 1Header 2
    Content 1Content 2

    Multiple styles can be combined.
    Header 1Header 2
    Content 1Content 2

    Header 1Header 2
    Content 1Content 2
    Content 1Content 2
  • [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]
    Результат:
    Содержимое вложений появится здесь.
  • [HIDE], [HIDEPOSTS], [HIDEREPLY], [HIDETHANKS], [HIDEREPLYTHANKS], [HIDEGROUP] - Hide content

    Hides wrapped text until certain conditions are fullfilled.
    Пример:
    [HIDE]Hides wrapped content.[/HIDE]

    [HIDEPOSTS]Hides until user reached number of posts.[/HIDEPOSTS]

    [HIDEREPLY]Hides content until viewer replied to thread.[/HIDEREPLY]

    [HIDETHANKS]Hides content until viewer reacted to content.[/HIDETHANKS]

    [HIDEREPLYTHANKS]Hides content until viewer replied to thread or reacted to content.[/HIDEREPLYTHANKS]

    [HIDEGROUP=administrator]Hides content for non-administrators.[/HIDEGROUP]
    Результат:
    Контент доступен только зарегистрированным игрокам на форуме AlurePW.


    Hidden content
    You need -1 more posts to view this content
    Hidden content
    You need to reply to this thread in order to see this content.
    Hidden content
    You need to react to this post in order to see this content.
    Hidden content
    You need to reply to this thread or react to this post in order to see this content.
    Hidden content
    You need to be in at least one of the following groups to see this content:
  • [ALURETITLE] [ALURETITLE=option] - [Alure] Title

    Пример:
    [ALURETITLE]Some Heading[/ALURETITLE]
    Результат:

    Some Heading

  • [CLUB] - Скрыть текст или содержимое от игроков

    Information inside the code is displayed only to members of the club.
    Пример:
    [CLUB]Мой логин в игре: admin[/CLUB] - содержимое увидят только администраторы
    Результат:
    - содержимое увидят только администраторы
  • [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.
    Результат:
    - 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: Житель Alure
    - Displayed only for group members with ID 2.
  • [HIDE] [HIDE=option] - For register only

    Hidden text: For register users only
    Пример:
    [HIDE]Hello World![/HIDE] - only registered users see the hidden text
    Результат:
    Контент доступен только зарегистрированным игрокам на форуме AlurePW.
    - 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

    Скрытый текст, пока пользователь не ответит в теме.
    Пример:
    [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
    - 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.
Назад
Верх