โค้ด BB

  • [B], [I], [U], [S] - ตัวหนา, ตัวเอียง, ขีดเส้นใต้, และขีดฆ่า

    ทำให้ข้อความที่ครอบคลุมเป็นตัวหนา ตัวเอียง ขีดเส้นใต้ หรือขีดฆ่า
    ตัวอย่าง:
    This is [B]ตัวหนา[/B] text.
    This is [I]ตัวเอียง[/I] text.
    This is [U]ขีดเส้นใต้[/U] text.
    This is [S]ขีดฆ่า[/S] text.
    ผลลัพธ์:
    This is ตัวหนา text.
    This is ตัวเอียง text.
    This is ขีดเส้นใต้ text.
    This is ขีดฆ่า text.
  • [COLOR=สี], [FONT=ชื่อ], [SIZE=ขนาด] - สีตัวอักษร, ฟอนต์, และขนาด

    เปลี่ยนสี ฟอนต์ หรือขนาดของข้อความที่ครอบคลุม
    ตัวอย่าง:
    This is [COLOR=red]สีแดง[/COLOR] และ [COLOR=#0000cc]สีน้ำเงิน[/COLOR] text.
    This is [FONT=Courier New]Courier New[/FONT] text.
    This is [SIZE=1]ขนาดเล็ก[/SIZE] และ [SIZE=7]ขนาดใหญ่[/SIZE] text.
    ผลลัพธ์:
    This is สีแดง และ สีน้ำเงิน text.
    This is Courier New text.
    This is ขนาดเล็ก และ ขนาดใหญ่ text.
  • [URL], [EMAIL] - การลิงก์

    สร้างลิงก์โดยใช้ข้อความที่ครอบคลุมเป็นเป้าหมาย
    ตัวอย่าง:
    [URL]https://www.example.com[/URL]
    [EMAIL][email protected][/EMAIL]
    ผลลัพธ์:
  • [URL=ลิงก์], [EMAIL=ที่อยู่] - การลิงก์ (ขั้นสูง)

    ลิงก์ข้อความที่ครอบคลุมไปยังหน้าเว็บหรือที่อยู่อีเมลที่ระบุ
    ตัวอย่าง:
    [URL=https://www.example.com]ไปที่ example.com[/URL]
    [[email protected]]อีเมลฉัน[/EMAIL]
    ผลลัพธ์:
  • [USER=ID] - การลิงก์โปรไฟล์

    ลิงก์ไปยังโปรไฟล์ของผู้ใช้ โดยทั่วไปจะถูกแทรกโดยอัตโนมัติเมื่อกล่าวถึงผู้ใช้
    ตัวอย่าง:
    [USER=1]ชื่อผู้ใช้[/USER]
    ผลลัพธ์:
  • [IMG] - รูปภาพ

    แสดงรูปภาพโดยใช้ข้อความที่ครอบคลุมเป็น URL
    ตัวอย่าง:
    [IMG]https://new.thxf.org/data/assets/logo/logo-og.png[/IMG]
    ผลลัพธ์:
    logo-og.png
  • [MEDIA=เว็บไซต์] - สื่อที่ฝัง

    ฝังสื่อจากเว็บไซต์ที่ได้รับการอนุมัติลงในข้อความของคุณ แนะนำให้ใช้ปุ่มสื่อในแถบเครื่องมือของตัวแก้ไข
    เว็บไซต์ที่อนุมัติแล้ว: ABC News, Acast, Anchor, Apple Music, Apple Podcasts, Audioboom, Audiomack, Audius, Bandcamp, BBC News, BitChute, Brightcove, Bunny Stream, Captivate, Castos, CBS News Video, Clyp, CNBC, CNN, CNNMoney, CodePen, Comedy Central, Coub, Dailymotion, Democracy Now!, dumpert, 8tracks, ESPN, Facebook, Falstad Circuit Simulator, Flickr, Fox News, Funny or Die, Gamespot, Getty Images, Gifs.com, GIPHY, GitHub Gist, Global News, GoFundMe, Google Drive, Google+, Google Sheets, Hudl, Hulu, IGN, IMDb trailers, Imgur, Indiegogo, Instagram, Internet Archive, İzlesene, JSFiddle, JW Platform, Kaltura, Kontinental Hockey League (КХЛ), Kickstarter, Libsyn, Liveleak, Livestream, Mail.Ru, Mastodon, Medium, Megaphone, Metacafe, Mixcloud, MLB, MRCTV, MSNBC, National Geographic Channel, National Geographic Video, NBC News, NHL Videos and Highlights, NPR, The New York Times Video, Odysee, On3 DB, Orfium, Pastebin, Pinterest, Podbean, Prezi, Reddit threads and comments, Rumble, Rutube, Scribd, Sendvid, SlideShare, SoundCloud, Sporcle, Sportsnet, Spotify, Spreaker, Steam store, Straw Poll, Streamable, Team Coco, TED Talks, Telegram, The Atlantic Video, The Guardian (obsolete), The Onion, Threads, TikTok, TMZ, TradingView, Trailer Addict, Trending Views, Tumblr, 247Sports, Twitch, X, Ustream, VBOX7, Veoh, Vevo, Video Detective, Vimeo, Vine, VK, Vocaroo, Vox, Washington Post Video, Wavekit, Wistia, WorldStarHipHop, The Wall Street Journal Online, GameClips.io, Gamer DVR, XenForo, Youku, YouMaker, YouTube
    ตัวอย่าง:
    [MEDIA=youtube]kQ0Eo1UccEE[/MEDIA]
    ผลลัพธ์:
    เครื่องเล่น YouTube ที่ฝังจะปรากฏที่นี่
  • [LIST] - รายการ

    แสดงรายการแบบมีจุดหรือหมายเลข
    ตัวอย่าง:
    [LIST]
    [*]หัวข้อ 1
    [*]หัวข้อ 2
    [/LIST]
    [LIST=1]
    [*]รายการที่ 1
    [*]รายการที่ 2
    [/LIST]
    ผลลัพธ์:
    • หัวข้อ 1
    • หัวข้อ 2
    1. รายการที่ 1
    2. รายการที่ 2
  • [LEFT], [CENTER], [RIGHT] - การจัดตำแหน่งข้อความ

    เปลี่ยนการจัดตำแหน่งของข้อความที่ครอบคลุม
    ตัวอย่าง:
    [LEFT]จัดชิดซ้าย[/LEFT]
    [CENTER]จัดกึ่งกลาง[/CENTER]
    [RIGHT]จัดชิดขวา[/RIGHT]
    ผลลัพธ์:
    จัดชิดซ้าย​
    จัดกึ่งกลาง​
    จัดชิดขวา​
  • [QUOTE] - ข้อความที่ถูกอ้างอิง

    แสดงข้อความที่ถูกอ้างอิงจากแหล่งอื่น คุณยังสามารถอ้างถึงชื่อของแหล่งที่มาได้
    ตัวอย่าง:
    [QUOTE]ข้อความที่ถูกอ้างอิง[/QUOTE]
    [QUOTE=บุคคลหนึ่ง]สิ่งที่พวกเขาพูด[/QUOTE]
    ผลลัพธ์:
    ข้อความที่ถูกอ้างอิง
    บุคคลหนึ่ง ได้กล่าว:
    สิ่งที่พวกเขาพูด
  • [SPOILER] - ข้อความที่มีสปอยเลอร์

    ซ่อนข้อความที่อาจมีสปอยเลอร์เพื่อให้ต้องคลิกโดยผู้ชมเพื่อดู
    ตัวอย่าง:
    [SPOILER]สปอยเลอร์ง่าย ๆ[/SPOILER]
    [SPOILER=หัวข้อสปอยเลอร์]สปอยเลอร์ที่มีหัวข้อ[/SPOILER]
    ผลลัพธ์:
    สปอยเลอร์ง่าย ๆ
    สปอยเลอร์ที่มีหัวข้อ
  • [ISPOILER] - ข้อความอินไลน์ที่มีสปอยเลอร์

    ช่วยให้คุณสามารถแสดงข้อความแบบอินไลน์ในเนื้อหาปกติที่ซ่อนข้อความที่อาจมีสปอยเลอร์และต้องคลิกโดยผู้ชมเพื่อดู
    ตัวอย่าง:
    คุณต้องคลิกที่คำต่อไปนี้ [ISPOILER]คำ[/ISPOILER] เพื่อดูเนื้อหา
    ผลลัพธ์:
    คุณต้องคลิกที่คำต่อไปนี้ คำ เพื่อดูเนื้อหา
  • [CODE] - การแสดงผลโค้ดโปรแกรม

    แสดงข้อความในหนึ่งในหลายภาษาโปรแกรม โดยไฮไลต์ไวยากรณ์ที่เป็นไปได้
    ตัวอย่าง:
    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]
    ผลลัพธ์:
    General code:
    โค้ด:
    General
    code

    Rich code:
    Rich (BB code):
    Rich
    code

    PHP code:
    PHP:
    echo $hello . ' world';

    JS code:
    JavaScript:
    var hello = 'world';
  • [ICODE] - การแสดงโค้ดโปรแกรมแบบอินไลน์

    ช่วยให้คุณสามารถแสดงโค้ดแบบอินไลน์ในเนื้อหาปกติได้ จะไม่มีการไฮไลต์ไวยากรณ์
    ตัวอย่าง:
    ส่วนโค้ดแบบอินไลน์ [ICODE]เป็นวิธีที่สะดวก[/ICODE] ในการแสดงโค้ดแบบอินไลน์

    การจัดรูปแบบที่หลากหลายในส่วนโค้ดแบบอินไลน์ [ICODE=rich]is [COLOR=red]ก็ [U]รองรับ[/U][/ICODE]
    ผลลัพธ์:
    ส่วนโค้ดแบบอินไลน์ เป็นวิธีที่สะดวก ในการแสดงโค้ดแบบอินไลน์

    การจัดรูปแบบที่หลากหลายในส่วนโค้ดแบบอินไลน์ is ก็ รองรับ
  • [INDENT] - ข้อความย่อหน้า

    ย่อข้อความที่ครอบคลุม สามารถซ้อนกันได้สำหรับการย่อที่ใหญ่ขึ้น
    ตัวอย่าง:
    ข้อความปกติ
    [INDENT]ข้อความที่ย่อ[/INDENT]
    [INDENT=2]ย่อมากขึ้น[/INDENT]
    ผลลัพธ์:
    ข้อความปกติ
    ข้อความที่ย่อ​
    ย่อมากขึ้น​
  • [TABLE] - ตาราง

    การทำเครื่องหมายพิเศษเพื่อแสดงตารางในเนื้อหาของคุณ
    ตัวอย่าง:
    [TABLE]
    [TR]
    [TH]หัวข้อ 1[/TH]
    [TH]หัวข้อ 2[/TH]
    [/TR]
    [TR]
    [TD]เนื้อหา 1[/TD]
    [TD]เนื้อหา 2[/TD]
    [/TR]
    [/TABLE]
    ผลลัพธ์:
    หัวข้อ 1หัวข้อ 2
    เนื้อหา 1เนื้อหา 2
  • [PLAIN] - ข้อความธรรมดา

    ปิดการแปล BB code ในข้อความที่ครอบคลุม
    ตัวอย่าง:
    [PLAIN]นี่ไม่ใช่ [B]ตัวหนา[/B] ข้อความ.[/PLAIN]
    ผลลัพธ์:
    นี่ไม่ใช่ [B]ตัวหนา[/B] ข้อความ.
  • [ATTACH] - การแทรกไฟล์แนบ

    แทรกไฟล์แนบที่จุดที่ระบุ หากไฟล์แนบเป็นรูปภาพจะมีการแทรกภาพขนาดย่อหรือขนาดเต็ม ซึ่งโดยทั่วไปจะถูกแทรกโดยการคลิกปุ่มที่เหมาะสม
    ตัวอย่าง:
    ภาพย่อ: [ATTACH]123[/ATTACH]
    ขนาดเต็ม: [ATTACH=full]123[/ATTACH]
    ผลลัพธ์:
    เนื้อหาของไฟล์แนบจะปรากฏที่นี่.
  • [ABBR] [ABBR=option] - Abbreviation

    An abbreviation, with mouse-over expansion
    ตัวอย่าง:
    [abbr="on hover text"]text[/abbr]
    ผลลัพธ์:
    text
  • [ACCORDION] [ACCORDION=option] - Accordion

    A customizable interactive accordion
    ตัวอย่าง:
    [ACCORDION width=200]
    [SLIDE_HEADER]First Slide[/SLIDE_HEADER]
    [SLIDE]First slide content[/SLIDE]
    [SLIDE title="Second Slide"]Second slide content[/SLIDE]
    [/ACCORDION]
    ผลลัพธ์:
    First Slide
    First slide content
    Second Slide
    Second slide content
  • [ANCHOR] [ANCHOR=option] - Anchor

    Generate a HTML anchor tag
    ตัวอย่าง:
    Generate an anchor point;
    [anchor]introduction[/anchor]

    Goto an anchor point
    [anchor=#introduction]Click here to go to introduction[/anchor]
    ผลลัพธ์:
    Generate an anchor point;


    Goto an anchor point
    Click here to go to introduction
  • [ARTICLE] [ARTICLE=option] - Article

    Displays an article with an optional source attribution.
    ตัวอย่าง:
    [ARTICLE=https://en.wikipedia.org/wiki/Article_(publishing)]
    A news article discusses current or recent news of either general interest (i.e. daily newspapers) or of a specific topic (i.e. political or trade news magazines, club newsletters, or technology news websites).

    A news article can include accounts of eyewitnesses to the happening event. It can contain photographs, accounts, statistics, graphs, recollections, interviews, polls, debates on the topic, etc. Headlines can be used to focus the reader’s attention on a particular (or main) part of the article. The writer can also give facts and detailed information following answers to general questions like who, what, when, where, why and how.
    [/ARTICLE]
    ผลลัพธ์:
    Article:
    A news article discusses current or recent news of either general interest (i.e. daily newspapers) or of a specific topic (i.e. political or trade news magazines, club newsletters, or technology news websites).

    A news article can include accounts of eyewitnesses to the happening event. It can contain photographs, accounts, statistics, graphs, recollections, interviews, polls, debates on the topic, etc. Headlines can be used to focus the reader's attention on a particular (or main) part of the article. The writer can also give facts and detailed information following answers to general questions like who, what, when, where, why and how.
  • [BIMG] [BIMG=option] - Block image

    Displays an image, allowing it to be resized, aligned or floated, and compared with another image.
    ตัวอย่าง:
    [bimg]http://www.google.com/images/srpr/logo3w.png[/bimg]
    [bimg width=100px]http://www.google.com/images/srpr/logo3w.png[/bimg]
    ผลลัพธ์:

  • [ENCADRE] [ENCADRE=option] - Encadre

    This BB Code inserts a text box to the right of a text (absolute position). It has to be inserted just before the content. (width customizable in %)
    ตัวอย่าง:
    [ENCADRE]This is a text box with a long text. Can be used with an article for example.[/ENCADRE]Content
    [ENCADRE width=30]This is a text box with a long text. Can be used with an article for example.[/ENCADRE]Content
    ผลลัพธ์:
    Content
    Content
  • [FIELDSET] [FIELDSET=option] - Fieldset

    This BB Code inserts a fieldset
    ตัวอย่าง:
    [fieldset]This is a fieldset[/fieldset]
    [fieldset title="Title"]This is a fieldset[/fieldset]
    [fieldset title="Title" width=80]This is a fieldset[/fieldset]
    ผลลัพธ์:
    Fieldset:
    This is a fieldset

    Title
    This is a fieldset

    Title
    This is a fieldset
  • [FLEFT] - Float left

    Make a block float on the left
    ตัวอย่าง:
    [fleft]Make me float on the left[/fleft]
    ผลลัพธ์:
    Make me float on the left
  • [FRIGHT] - Float right

    Make a block float on the right
    ตัวอย่าง:
    [FRIGHT]Make me float on the right[/FRIGHT]
    ผลลัพธ์:
    Make me float on the right
  • [GALLERY=option] - การฝังแกลเลอรี

    BB code สำหรับแสดงรายการมีเดียและอัลบั้มในแกลเลอรี
    ตัวอย่าง:
    [GALLERY=media, X]Gallery BB Code[/GALLERY]
    ผลลัพธ์:
    [GALLERY=media, X]Gallery BB Code[/GALLERY]
  • [GVIEW] [GVIEW=option] - GVIEW

    This BB Code displays documents using the "Google Docs - Viewer" (supports many different file types:pdf,ppt,doc,xls...).
    ตัวอย่าง:
    [GVIEW]http://research.google.com/archive/bigtable-osdi06.pdf[/GVIEW]
    ผลลัพธ์:
  • [H1] - h1

    ตัวอย่าง:
    [h1]Example[/h1]
    Normal text
    ผลลัพธ์:

    Example

    Normal text
  • [H2] - h2

    ตัวอย่าง:
    [h2]Example[/h2]
    Normal text
    ผลลัพธ์:

    Example

    Normal text
  • [H3] - h3

    ตัวอย่าง:
    [h3]Example[/h3]
    Normal text
    ผลลัพธ์:

    Example

    Normal text
  • [H4] - h4

    ตัวอย่าง:
    [h4]Example[/h4]
    Normal text
    ผลลัพธ์:

    Example

    Normal text
  • [HR] [HR=option] - Horizontal line

    ตัวอย่าง:
    Default line:
    [hr]
    Unformatted line:
    [hr=0]
    Solid line:
    [hr=1]
    Lightly faded on both sides:
    [hr=2]
    Significantly faded on both sides:
    [hr=3]
    Faded to left:
    [hr=4]
    Faded from right:
    [hr=5]
    ผลลัพธ์:
    Default line:

    Unformatted line:

    Solid line:

    Lightly faded on both sides:

    Significantly faded on both sides:

    Faded to left:

    Faded from right:

  • [LATEX] [LATEX=option] - LaTeX

    Renders LaTeX markup.
    ตัวอย่าง:
    [LATEX]c=\sqrt{a^2+b^2}[/LATEX]
    ผลลัพธ์:
    LaTeX:
    \[c=\sqrt{a^2+b^2}\]
  • [ALERT] [ALERT=option] - Mod:Alert

    Moderator only Alert banner
    ตัวอย่าง:
    [alert=Title]Alert[/alert]
    ผลลัพธ์:
    title Alert
  • [INFORMATION] [INFORMATION=option] - Mod:Info

    Moderator only Information banner
    ตัวอย่าง:
    [information=Title]Information[/information]
    ผลลัพธ์:
    title Information
  • [STOP] [STOP=option] - Mod:Stop

    Moderator only Stop banner
    ตัวอย่าง:
    [stop=Title]Stop[/stop]
    ผลลัพธ์:
    title Stop
  • [WARNING] [WARNING=option] - Mod:Warning

    Moderator only Warning banner
    ตัวอย่าง:
    [warning=Title]Warning[/warning]
    ผลลัพธ์:
    title Warning
  • [SLIDER] [SLIDER=option] - Slider

    Cycles through slides in a slide-show format.
    ตัวอย่าง:
    [SLIDER]
    [SLIDE_HEADER]Title 1[/SLIDE_HEADER]
    [SLIDE align=center]Content 1[/SLIDE]
    [SLIDE]Content 2[/SLIDE]
    [SLIDE]Content 3[/SLIDE]
    [SLIDE open=1]Content 4[/SLIDE]
    [/SLIDER]
    ผลลัพธ์:
    Title 1
    Content 1
    Content 2
    Content 3
    Content 4
  • [SUB] - Subscript

    ตัวอย่าง:
    10[sub]1[/sub]!
    ผลลัพธ์:
    101​!
  • [SUP] - Superscript

    ตัวอย่าง:
    10[sup]1[/sup]!
    ผลลัพธ์:
    101​!
  • [TABS] [TABS=option] - Tabs

    Render Tabs into a post
    ตัวอย่าง:
    [TABS]
    [SLIDE_HEADER]Title 1[/SLIDE_HEADER]
    [SLIDE]Content 1 - [tab=2]Link to tab 2[/tab][/SLIDE]
    [SLIDE title="Title 2"]Content 2[/SLIDE]
    [/TABS]
    [TABS width=200]
    [SLIDE_HEADER]First Slide[/slide_header]
    [SLIDE]First tab content - [tab=2]Link to tab 2[/tab][/SLIDE]
    [SLIDE title="Second Slide"]Second tab content[/SLIDE]
    [/TABS]
    ผลลัพธ์:

  • [TIME] [TIME=option] - Time

    Displays a time or date based on a member's timezone preference.
    ตัวอย่าง:
    [TIME=datetime]2050-12-12T03:12:46+0000[/TIME]
    ผลลัพธ์:
กลับ
บน