Invincible Holy Kingdom  

返回   Invincible Holy Kingdom > 論壇幫助

BB Code
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代碼列表
[b], [i], [u] 粗體 / 斜體 / 下劃線
[color] 顏色
[size] 大小
[font] 字體
[highlight] Highlight
[left], [right], [center] 左對齊 / 右對齊 / 居中
[indent] 縮進
[email] Email Linking
[url] 超連結URL
[thread] 主題鏈結
[post] 文章鏈結
[list] 子彈型列表 / 高級列表
[img] 圖片
[code] 代碼
[php] PHP代碼
[quote] 引用
[noparse] Stop BB Code Parsing
[attach] 附件
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][email protected][email] - the end brackets must include a forward slash ([/email])

粗體 / 斜體 / 下劃線
[b], [i] 和 [u] 標籤允許你創建粗體,斜體和下劃線文本.
使用 [b][/b]
[i][/i]
[u][/u]
使用示例 [b]歡迎光臨weaver4u論壇.[/b]
[i]歡迎光臨weaver4u論壇.[/i]
[u]歡迎光臨weaver4u論壇.[/u]
示例輸出結果 歡迎光臨weaver4u論壇.
歡迎光臨weaver4u論壇.
歡迎光臨weaver4u論壇.

顏色
[color] 標籤允許你改變文本顏色.
使用 [color=選項][/color]
使用示例 [color=blue]歡迎光臨weaver4u論壇.[/color]
示例輸出結果 歡迎光臨weaver4u論壇.

大小
[size] 標籤允許你改變文本的大小.
使用 [size=選項][/size]
使用示例 [size=+2]歡迎光臨weaver4u論壇![/size]
示例輸出結果 歡迎光臨weaver4u論壇!

字體
[font] 標籤允許你改變文本的字體.
使用 [font=選項][/font]
使用示例 [font=courier]歡迎光臨weaver4u論壇.[/font]
示例輸出結果 歡迎光臨weaver4u論壇.

Highlight
The [highlight] tag allows you to emphasize your text.
使用 [highlight][/highlight]
使用示例 [highlight]this text is highlighted[/highlight]
示例輸出結果 this text is highlighted

左對齊 / 右對齊 / 居中
[left], [right] 和 [center] 標籤允許你改變文本對齊方式.
使用 [left][/left]
[center][/center]
[right][/right]
使用示例 [left]this text is left-aligned[/left]
[center]歡迎光臨weaver4u論壇.[/center]
[right]this text is right-aligned[/right]
示例輸出結果
this text is left-aligned
歡迎光臨weaver4u論壇.
this text is right-aligned

縮進
[indent] 標籤可以縮進你的文本.
使用 [indent][/indent]
使用示例 [indent]歡迎光臨weaver4u論壇.[/indent]
示例輸出結果
歡迎光臨weaver4u論壇.

Email Linking
The [email] tag allows you to link to an email address. You can include an optional parameter to 'name' your link.
使用 [email][/email]
[email=選項][/email]
使用示例 [email][email protected][/email]
[[email protected]]Click Here to Email Me[/email]
示例輸出結果 [email protected]
Click Here to Email Me

超連結URL
[url] 標籤允許你鏈結到其他站點和檔.你可以在該鏈結裏包含可選的鏈結名.
使用 [url][/url]
[url=選項][/url]
使用示例 [url]http://ihkguild.omg.hk[/url]
[url=http://ihkguild.omg.hk]Invincible Holy Kingdom[/url]
示例輸出結果 http://ihkguild.omg.hk
Invincible Holy Kingdom

主題鏈結
[thread] 標籤允許你使用指定的主題ID鏈結主題.你可以在這個鏈結裏包含可選的鏈結名.
使用 [thread]主題ID[/thread]
[thread=主題ID][/thread]
使用示例 [thread]42918[/thread]
[thread=42918]點我哦~~[/thread]
(Note: The threadid/postid is just an example and may not link to a valid thread/post.)
示例輸出結果 http://ihkguild.omg.hk/showthread.php?t=42918
點我哦~~

文章鏈結
[post] 標籤允許你使用指定的文章ID鏈結到文章.你可用在這個鏈結裏包含可選的鏈結名.
使用 [post]文章ID[/post]
[post=文章ID][/post]
使用示例 [post]269302[/post]
[post=269302]點我哦~~[/post]
(Note: The threadid/postid is just an example and may not link to a valid thread/post.)
示例輸出結果 http://ihkguild.omg.hk/showthread.php?p=269302#post269302
點我哦~~

子彈型列表
[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

圖片
[img] 標籤允許你在文章中插入圖片.你可以將此標籤和[url]標籤聯合使用,這樣可以給圖片加上鏈結.
使用 [img][/img]
使用示例 [img]http://ihkguild.omg.hk/images/family/statusicon/forum_new.gif[/img] (沒有鏈結)

[url=http://www.example.com] [img]http://ihkguild.omg.hk/images/family/statusicon/forum_new.gif[/img] [/url] (鏈結)
示例輸出結果 (沒有鏈結)

(鏈結)

代碼
[code] 標籤可以插入一段代碼.
使用 [code][/code]
使用示例 [code]
<script type="text/javascript">
<!--
    alert("Hello world!");
//-->
</script>
[/code]
示例輸出結果
代碼:
<script type="text/javascript">
<!--
	alert("Hello world!");
//-->
</script>

PHP代碼
[php] 標籤的功能和 [code] 標籤的功能差不多,但是可以對php代碼語法高亮顯示.雖然為PHP設計,但是也適用其他類似C語言的語言.
使用 [php][/php]
使用示例 [php]
$myvar = 'Hello World!';
for ($i = 0; $i < 10; $i++)
{
    echo $myvar . "\n";
}
[/php]
示例輸出結果
PHP代碼:
$myvar 'Hello World!';
for (
$i 0$i 10$i++)
{
    echo 
$myvar "\n";


引用
The [quote] tag allows you to attribute text to someone else.
使用 [quote]引用[/quote]
[quote=用戶名][/quote]
使用示例 [quote]Lorem ipsum dolor sit amet[/quote]
[quote=John Doe]Lorem ipsum dolor sit amet[/quote]
[quote=John Doe;81458]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

Stop BB Code Parsing
The [noparse] tag allows you to stop the parsing of BB code.
使用 [noparse][b]值[/b][/noparse]
使用示例 [noparse][b]Lorem ipsum dolor sit amet[/b][/noparse]
示例輸出結果 [b]Lorem ipsum dolor sit amet[/b]

附件
The [attach] tag allows you to display an attachment in your post rather than at the bottom. It will only display attachments that belong to the post in which it is utilized.
使用 [attach]attachmentid[/attach]
使用示例 [attach]12345[/attach]
示例輸出結果


所有時間均為GMT +8.現在時間是02:28 PM.


Powered by: vBulletin Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.