BB Code

Explanation

BB code is a set of tags based on the HTML language that you may already be familiar with. They allow you to add formatting to your messages in the same way as HTML does, but have a simpler syntax and will never break the layout of the pages you are viewing. The ability to use BB code is set on a forum-by-forum basis by the administrator, so you should check the forum rules when you post a new message.

Below is a list of the BB code tags you can use to format your messages.

vB 代碼列表

  1. 粗體 / 斜體 / 底線
  2. 顏色
  3. 大小
  4. 字體
  5. 高亮
  6. 左對齊 / 右對齊 / 居中
  7. 縮排
  8. 郵件連結
  9. 超級連結地址
  10. 主題連結
  11. 文章連結
  12. 列表 / 進階列表
  13. Images
  14. Videos
  15. 代碼
  16. 引用
  17. 停止解析 BB 代碼
  18. 附加檔案
  19. Flow Player
  20. Max Image Width 100%
  21. YouKu
Incorrect BB Code Usage:
  • [url] www.example.com [/url] - don't put spaces between the bracketed code and the text you are applying the code to.
  • [email]myname@domain.com[email] - the end brackets must include a forward slash ([/email])

粗體 / 斜體 / 底線

[b], [i] 和 [u] 標籤允許您新建粗體, 斜體和底線文本。

    • [b][/b]
    • [i][/i]
    • [u][/u]
    使用
    • [b]粗體文字[/b]
    • [i]斜體文字[/i]
    • [u]帶底線的文字[/u]
    使用示例
    • 粗體文字
    • 斜體文字
    • 帶底線的文字
    示例輸出結果

顏色

[color] 標籤允許您改變文本顏色。

  • [color=選項][/color]
    使用
  • [color=blue]藍色文字[/color]
    使用示例
  • 藍色文字
    示例輸出結果

大小

[size] 標籤允許您改變文本的大小。

  • [size=選項][/size]
    使用
  • [size=+2]此文字比普通文字大兩個字號[/size]
    使用示例
  • 此文字比普通文字大兩個字號
    示例輸出結果

字體

[font] 標籤允許您改變文本的字體。

  • [font=選項][/font]
    使用
  • [font=courier]Courier 字體[/font]
    使用示例
  • Courier 字體
    示例輸出結果

左對齊 / 右對齊 / 居中

[left], [right] 和 [center] 標籤允許您改變文本對齊方式。

    • [left][/left]
    • [center][/center]
    • [right][/right]
    使用
    • [left]左對齊的文字[/left]
    • [center]置中文字[/center]
    • [right]右對齊的文字[/right]
    使用示例
  • 左對齊的文字
    置中文字
    右對齊的文字
    示例輸出結果

縮排

[indent] 標籤可以縮進您的文本。

  • [indent][/indent]
    使用
  • [indent]縮排文字[/indent]
    使用示例
  • 縮排文字
    示例輸出結果

郵件連結

這個 [email] 標籤允許你增加一個郵件地址連結, 可以包含連結標題參數。

    • [email][/email]
    • [email=選項][/email]
    使用
    • [email]j.doe@example.com[/email]
    • [email=j.doe@example.com]寄送郵件給我[/email]
    使用示例
  • 示例輸出結果

超級連結地址

[url] 標籤允許您連結到其他網站和檔案, 您可以在該連結裡包含可選的連結名。

主題連結

[thread] 標籤允許您使用指定的主題 ID 連結主題, 您可以在這個連結裡包含可選的連結名。

文章連結

[post] 標籤允許您使用指定的文章 ID 連結到文章。您可用在這個連結裡包含可選的連結名。

列表

[list] 標籤允許您簡單發表不含指定項的列表。在值部分, 每個符號都用[*]表示。

  • [list][/list]
    使用
  • [list]
    [*]列表項 1
    [*]列表項 2
    [/list]
    使用示例
    • 列表項 1
    • 列表項 2
    示例輸出結果

進階列表

[list] 標籤也允許您使用指定的選項新建進階列表.這個選項可以是「1」(新建數字列表)或者「A」(新建大寫字母列表, 按字母順序排列)或者「a」(新建小寫字母列表, 按字母順序排列)或者「I」(新建大寫羅馬數字列表)或者「i」(新建小寫羅馬數字列表)。

  • [list=選項][/list]
    使用
  • [list=1]
    [*]列表項 1
    [*]列表項 2
    [/list]

    [list=a]
    [*]列表項 1
    [*]列表項 2
    [/list]
    使用示例
    1. 列表項 1
    2. 列表項 2
    1. 列表項 1
    2. 列表項 2
    示例輸出結果

Images

[img] 標籤允許您在文章中插入圖片。您可以將此標籤和[url]標籤聯合使用, 這樣可以給圖片加上連結。

  • [img][/img]
    使用
    • [img]https://www.awc618.com/forum/images/statusicon/forum_new.gif[/img] (沒有連結)
    • [url=http://www.example.com] [img]https://www.awc618.com/forum/images/statusicon/forum_new.gif[/img] [/url] (連結)
    使用示例
    • (沒有連結)
    • (連結)
    示例輸出結果

Videos

The [video] tag allows you to embed videos from various video services within your posts.

  • [video][/video]
    使用
    • [video=youtube;eOUq4Z6R7xI]http://www.youtube.com/watch?v=eOUq4Z6R7xI[/video]
    使用示例
    示例輸出結果

代碼

[code] 標籤允許您插入一段代碼。

  • [code][/code]
    使用
  • [code]
    <script type="text/javascript">
    <!--
        alert("Hello world!");
    //-->
    </script>
    [/code]
    使用示例
  • 代碼:
    <script type="text/javascript">
    <!--
    	alert("Hello world!");
    //-->
    </script>
    示例輸出結果

引用

[quote] 標籤允許您歸納他人的話。

    • [quote]引用[/quote]
    • [quote=使用者名稱][/quote]
    使用
    • [quote]Lorem ipsum dolor sit amet[/quote]
    • [quote=John Doe]Lorem ipsum dolor sit amet[/quote]
    • [quote=John Doe;920305]Lorem ipsum dolor sit amet[/quote]
    使用示例
    • Lorem ipsum dolor sit amet
    • 引用 作者: John Doe
      Lorem ipsum dolor sit amet
    • 引用 作者: John Doe 查看文章
      Lorem ipsum dolor sit amet
    示例輸出結果

高亮

[highlight] 標籤允許強調您的文字。

  • 使用
    [highlight][/highlight]
  • 使用示例
    [highlight]此文本被高亮顯示[/highlight]
  • 示例輸出結果
    此文本被高亮顯示

停止解析 BB 代碼

[noparse] 標籤允許您不解析 BB 代碼。

  • [noparse][b]值[/b][/noparse]
    使用
  • [noparse][b]Lorem ipsum dolor sit amet[/b][/noparse]
    使用示例
  • [b]Lorem ipsum dolor sit amet[/b]
    示例輸出結果

附加檔案

[attach] 標籤允許您將附件插入在文章文本中,而不是文章的下方。它只會在上傳它的文章中顯示。

  • [attach]attachmentid[/attach]
    使用
  • [attach]12345[/attach]
    使用示例
  • 示例輸出結果

Flow Player

  • [flow][/flow]
    使用
  • [flow]filename[/flow]
    使用示例

  • 示例輸出結果

Max Image Width 100%

  • [max-width][/max-width]
    使用
  • [max-width]url[/max-width]
    使用示例
  • 示例輸出結果

YouKu

  • [youku][/youku]
    使用
  • [youku]XMTYxMjAxOTUy[/youku]
    使用示例
  • 示例輸出結果