Mã BB

  • [B], [I], [U], [S] - Bold, Italics, Underline, and Strike-through

    Làm cho vùng chữ được bôi trở thành in đậm, in nghiêng, gạch chân hoặc gạch ngang.
    Ví dụ:
    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.
    Hiển thị:
    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

    Thay đổi màu sắc, phông chữ hoặc kích thước của ký tự được chọn.
    Ví dụ:
    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.
    Hiển thị:
    This is red and blue text.
    This is Courier New text.
    This is small and big text.
  • [URL], [EMAIL] - Linking

    Chèn liên kết tại Ký tự được bao quanh.
    Ví dụ:
    [URL]http://www.example.com[/URL]
    [EMAIL]example@example.com[/EMAIL]
    Hiển thị:
  • [URL=link], [EMAIL=address] - Linking (Advanced)

    Chèn liên kết cho trang web hoặc địa chỉ email cho vùng chọn.
    Ví dụ:
    [URL=http://www.example.com]Go to example.com[/URL]
    [EMAIL=example@example.com]Email me[/EMAIL]
    Hiển thị:
  • [USER=ID] - Profile Linking

    Links to a user's profile. This is generally inserted automatically when mentioning a user.
    Ví dụ:
    [USER=1]Tên tài khoản[/USER]
    Hiển thị:
  • [IMG] - Image

    Hiển thị hình ảnh sử dụng vùng chọn như là 1 liên kết
    Ví dụ:
    [IMG]https://kho247.com/styles/default/xenforo/kho247-logo.png[/IMG]
    Hiển thị:
  • [MEDIA=site] - Embedded Media

    Chèn video, flash đa phương tiện từ trang web được phép vào nội dung bài viết. Bạn nên dùng nút MEDIA ở thanh công cụ soạn thảo của diễn đàn.
    Trang được cho phép: Apple Music, Dailymotion, Facebook, Flickr, Giphy, Imgur, Instagram, Liveleak, Metacafe, Pinterest, Reddit, SoundCloud, Spotify, Tumblr, Twitch, Twitter, Vimeo, YouTube
    Ví dụ:
    [MEDIA=youtube]oHg5SJYRHA0[/MEDIA]
    Hiển thị:
    An embedded YouTube player would appear here.
  • [LIST] - Lists

    Hiển thị kiểu danh sách dấu chấm hoặc số.
    Ví dụ:
    [LIST]
    [*]Bullet 1
    [*]Bullet 2
    [/LIST]
    [LIST=1]
    [*]Entry 1
    [*]Entry 2
    [/LIST]
    Hiển thị:
    • Bullet 1
    • Bullet 2
    1. Entry 1
    2. Entry 2
  • [LEFT], [CENTER], [RIGHT] - Text Alignment

    Thay đổi kiểu căn lề của vùng chữ được chọn.
    Ví dụ:
    [LEFT]Left-aligned[/LEFT]
    [CENTER]Center-aligned[/CENTER]
    [RIGHT]Right-aligned[/RIGHT]
    Hiển thị:
    Left-aligned​
    Center-aligned​
    Right-aligned​
  • [QUOTE] - Quoted Text

    Hiển thị ký tự đã được trích từ nguồn khác. Bạn có thể đặt tên của nguồn.
    Ví dụ:
    [QUOTE]Quoted text[/QUOTE]
    [QUOTE=A person]Something they said[/QUOTE]
    Hiển thị:
  • [SPOILER] - Text containing spoilers

    Hides text that may contain spoilers so that it must be clicked by the viewer to be seen.
    Ví dụ:
    [SPOILER]Simple spoiler[/SPOILER]
    [SPOILER=Spoiler Title]Spoiler with a title[/SPOILER]
    Hiển thị:
    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.
    Ví dụ:
    You have to click the following [ISPOILER]word[/ISPOILER] to see the content.
    Hiển thị:
    You have to click the following word to see the content.
  • [CODE], [PHP], [HTML] - Programming Code Display

    Hiển hị ký tự dưới dạng một số ngôn ngữ lập trình.
    Ví dụ:
    [CODE]General
    code[/CODE]
    [PHP]echo $hello . 'world';[/PHP]
    Hiển thị:
    Mã:
    General
    code
    PHP:
    echo $hello . 'world';
  • [ICODE] - Inline programming code display

    Allows you to display code inline among normal post content. Syntax will not be highlighted.
    Ví dụ:
    Inline code blocks [ICODE]are a convenient way[/ICODE] of displaying code inline.
    Hiển thị:
    Inline code blocks are a convenient way of displaying code inline.
  • [INDENT] - Text Indent

    Indents the wrapped text. This can be nested for larger indentings.
    Ví dụ:
    Regular text
    [INDENT]Indented text
    [INDENT]More indented[/INDENT]
    [/INDENT]
    Hiển thị:
    Regular text
    Indented text
    More indented​
  • [TABLE] - Tables

    Special markup to display tables in your content.
    Ví dụ:
    [TABLE]
    [TR]
    [TH]Header 1[/TH]
    [TH]Header 2[/TH]
    [/TR]
    [TR]
    [TD]Content 1[/TD]
    [TD]Content 2[/TD]
    [/TR]
    [/TABLE]
    Hiển thị:
    Header 1Header 2
    Content 1Content 2
  • [PLAIN] - Plain Text

    Disables BB code translation on the wrapped text.
    Ví dụ:
    [PLAIN]This is not [B]bold[/B] text.[/PLAIN]
    Hiển thị:
    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.
    Ví dụ:
    Hình thu nhỏ: [ATTACH]123[/ATTACH]
    Full Size: [ATTACH=full]123[/ATTACH]
    Hiển thị:
    The contents of the attachments would appear here.
  • [CLUB] - For club members

    Information inside the code is displayed only to members of the club.
    Ví dụ:
    [CLUB]Hello World![/CLUB] - Hidden text for club members
    Hiển thị:
    - 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
    Ví dụ:
    [DAYS=5]Hello World![/DAYS] - Only registered users who are registered not earlier than 5 days ago are displayed.
    Hiển thị:
    - 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.
    Ví dụ:
    [GROUPS=2]Hello World![/GROUPS] - Displayed only for group members with ID 2.
    Hiển thị:
    Content of this hidden block can only be seen by members of: Registered
    - Displayed only for group members with ID 2.
  • [HIDE] - For register only

    Hidden text: For register users only
    Ví dụ:
    [HIDE]Hello World![/HIDE] - only registered users see the hidden text
    Hiển thị:
    View hidden content is available for registered users!
    - 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
    Ví dụ:
    [LIKES=5]Hello World![/LIKES] - Displayed only registered users whose number of reactions on the forum is greater than or equal to 5.
    Hiển thị:
    - 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
    Ví dụ:
    [POSTS=5]Hello World![/POSTS] - Displays users who have 5 or more posts on the forum.
    Hiển thị:
    - Displays users who have 5 or more posts on the forum.
  • [REPLY] - Answers the thread

    Hidden text until the user answers the thread.
    Ví dụ:
    [REPLY]Hello World![/REPLY] - Displayed to users when they reply to the thread.
    Hiển thị:
    - 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.
    Ví dụ:
    [REPLYANDTHANKS]Hello World![/REPLYANDTHANKS] - It is displayed to users when they reply to the thread and click "I like".
    Hiển thị:
    - 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.
    Ví dụ:
    [REPLYTHANKS]Hello World![/REPLYTHANKS] - It is displayed to users when they reply to the thread or click "I like".
    Hiển thị:
    - 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.
    Ví dụ:
    [THANKS]Hello World![/THANKS] - This tag hides the text until the user clicks the Like button in the message.
    Hiển thị:
    - 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
    Ví dụ:
    [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.
    Hiển thị:
    - 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.
    Ví dụ:
    [USERS=Alex,John,Bryan]Hello World![/USERS] - Displayed only by user Alex, John, Bryan.
    Hiển thị:
    Hidden text for users:
    - 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.
    Ví dụ:
    [USERSEXC=Alex,John,Bryan]Hello World![/USERSEXC] - Displayed to all users except Alex, John, Bryan.
    Hiển thị:
    - 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.
    Ví dụ:
    [USERIDS=1,2,3]Hello World![/USERIDS] - Appears only for users with ids 1, 2, 3.
    Hiển thị:
    [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.
    Ví dụ:
    [USERSIDEXC=1,2,3]Hello World![/USERSIDEXC] - Appears only for all users except with ids 1, 2, 3.
    Hiển thị:
    - Appears only for all users except with ids 1, 2, 3.
Bên trên