• 200金粒签到奖励和周年纪念勋章(4/5/6/7周年)销售将于 4月13日晚结束,不要错过噢!【点我去看看】

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] - 背景色, 文本颜色, 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=地址] - 链接 (高级)

    为文字添加网页和邮件地址连接。
    示例:
    [URL=https://www.example.com]转到 example.com[/URL]
    [EMAIL=example@example.com]给我发电子邮件[/EMAIL]
    输出:
  • [USER=ID] - 链接至个人空间

    用户个人空间链接。当@用户时自动插入此链接。
    示例:
    [USER=1]用户名[/USER]
    输出:
  • [IMG] - 图像

    显示图像,标签内为图像的链接地址。
    示例:
    [IMG]https://www.minebbs.com/data/assets/logo/gglogo.webp[/IMG]
    输出:
    gglogo.webp
  • [VIDEO] - Video

    Displays a video, using the wrapped text as the URL.
    示例:
    [VIDEO]https://www.minebbs.com/styles/editor-manager/missing-video.mp3[/VIDEO]

    [VIDEO='width:300']https://www.minebbs.com/styles/editor-manager/missing-video.mp3[/VIDEO]
    输出:


  • [AUDIO] - Audio

    Displays an audio player, using the wrapped text as URL.
    示例:
    [AUDIO]https://www.minebbs.com/styles/editor-manager/missing-audio.mp3[/AUDIO]
    输出:
  • [MEDIA=site] - 嵌入式媒体

    嵌入可用视频站点的视频,推荐使用编辑器上的视频按钮来添加视频。
    可用的站点: 网易云音乐(歌单), 网易云音乐(单曲), Apple Music, BiliBili(AV), BiliBili(BV), Bluesky, 腾讯视频, TikTok, 优酷, YouTube
    示例:
    [MEDIA=youtube]oHg5SJYRHA0[/MEDIA]
    输出:
    嵌入的 YouTube 播放器会显示在此处
  • [LIST] - 列表

    显示项目符号或编号列表。
    示例:
    [LIST]
    [*]Bullet 1
    [*]Bullet 2
    [/LIST]
    [LIST=1]
    [*]Entry 1
    [*]Entry 2
    [/LIST]
    输出:
    • Bullet 1
    • Bullet 2
    1. Entry 1
    2. Entry 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]

    丰富代码:
    [CODE=rich][COLOR=red]丰富[/COLOR]
    代码[/CODE]

    PHP代码:
    [CODE=php]echo $hello . ' world';[/CODE]

    JS代码:
    [CODE=js]var hello = 'world';[/CODE]
    输出:
    通用代码:
    代码:
    通用代码

    丰富代码:
    丰富的(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.
    [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]
  • [HEADING=级别] - 标题级别1至3

    将文本标记为结构化标题,以便于机器可读性。
    示例:
    [HEADING=1]主标题[/HEADING]

    本文在一个主要标题下,用来分隔文章的主要部分。


    [HEADING=2]副标题[/HEADING]

    当您需要细分文章的主要部分时,请使用第2级次要标题。


    [HEADING=3]副标题[/HEADING]

    如果您需要额外的细分,可以降到3级。
    输出:

    主标题​


    本文在一个主要标题下,用来分隔文章的主要部分。


    副标题​


    当您需要细分文章的主要部分时,请使用第2级次要标题。


    副标题​


    如果您需要额外的细分,可以降到3级。
  • [INDENT] - 文字缩进

    使文字产生缩进效果,可以嵌套使用。
    示例:
    正常文字
    [INDENT]缩进文字
    [INDENT]更多缩进[/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]
    输出:
    Hidden content
    You need to reply to this thread in order to see this content.
    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:
  • [STATUS] [STATUS=option] - 服务器状态

    内容填写服务器地址:端口,如果是Java服则在等号后填入java
    示例:
    [STATUS=]play.imc.re:19132[/STATUS]
    [STATUS=java]play.imc.re:19132[/STATUS]
    输出:
    MOTD
  • [TOANCHOR=option] - 前往锚点

    前往指定锚点
    示例:
    [TOANCHOR=233] 链接到本网页里name=233的锚点[/TOANCHOR]
    输出:
    链接到本网页里name=233的锚点
后退
顶部 底部