目前 phpbb 官方論壇最新版本為 1.3.1
以下是檔頭說明部分擷取:
代碼: 選擇全部
########################################################
## MOD Title: Table BBCode
## MOD Author: SlapShot434 < slapshot434@gmail.com > (Matt Halpin) http://slapshot.termee.com
## MOD Description: This hack enables users to easily create tables in their posts without requiring you to allow the table, tr and td HTML tags.
## MOD Version: 1.3.1
##
## Installation Level: Intermediate
## Installation Time: 10-15 Minutes
## Files To Edit: includes/bbcode.php,
## templates/subSilver/bbcode.tpl
## templates/subSilver/posting_body.tpl
## posting.php
## language/lang_english/lang_main.php
## language/lang_english/lang_bbcode.php
## Included Files: templates/subSilver/images/icon_tablebbcode.gif
########################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
## Works with phpBB 2.0.6 thru 2.0.16
##
## Only use this install file if you do NOT have the Multi BBCode MOD Version 1.4.x installed on your forum.
##
## This MOD may interfere with your forum if you have already
## installed another BBCode MOD.
## Be sure to change the numbers of the "addbbcode" numbers if neccessary
##
##############################################################
## MOD History:
## 07/15/2005 - v. 1.3.1 (Special thanks to seleleth for providing fixes to certain problems)
## Changed the [mrow] tag greatly
## - Now sets up a row for the new [mcol] tag
## - Supports fontsize and color attributes
## Created a new tag - [mcol] (Please read the updated BBCode FAQ for changes)
## - Automatically centers and bolds text for new headers
## - Supports fontsize and color attributes
## Created a new attribute - fontsize (Please read the updated BBCode FAQ for changes)
## - Sets font text size to user-selected px size
## - Can be used with any tag
## - Can be used in conjunction with other attributes
## - Set default table font size to the FONTSIZE3 setting in the current template
## Converted "color=" to an attribute used with any tag
## Changed cellspacing to 0 (from 2) so table borders aren't so huge
## Updated BBCode FAQ to show new features
##
## 11/6/2004 - v. 1.2.4
## Updated to work with the newest version (v1.4.0) of the Multi BBCode MOD
## - No longer includes a link to the BBCode FAQ
正體中文化參考:
#
#-----[ OPEN ]-----
#
language/lang_chinese_traditional_taiwan/lang_main.php
#
#-----[ FIND ]-----
# ps. 後面代碼省略\r
代碼: 選擇全部
$lang['bbcode_f_help'] =
#
#-----[ AFTER, ADD ]-----
#
代碼: 選擇全部
$lang['bbcode_t_help'] = '建立表格: 點選[BBCode 代碼], 獲取更多訊息...(alt+t)';
#
#-----[ OPEN ]-----
#
language/lang_chinese_traditional_taiwan/lang_bbcode.php
#
#-----[ FIND ]-----
#
#
#-----[ BEFORE, ADD ]-----
#
// + Table BBCode 1.3.1
$faq[] = array("--", "<a name=\"tables\"></a>建立表格");
$faq[] = array("[table]及[/table]標籤功能為何?", "你需要<b>[table]</b>及<b>[/table]</b>來定義表格的開始及結束,<br />使用 <b>[table]</b> 在表格的開頭, <br />和使用 <b>[/table]</b> 在表格的結尾.");
$faq[] = array("[mrow]標籤功能為何?", "使用<b>[mrow]</b> 來製作起始列 (置中, 粗體字).<br />附註: [/mrow] 是不需要輸入的<br /><br /><b><u>例如:</u></b><br /><br />[table]<b>[mrow]</b>主要的列[/table]<br /><br />如下所示...<br /><br /><table align=\"top\" cellpadding=\"2\" cellspacing=\"0\" style=\"font-size: 12px\" border=\"1\" bgcolor=\"#FFFFFF\"><tr><td style=\"font-weight: bold; text-align: center;\">主要的列</td></tr></table>");
$faq[] = array("[mcol]標籤功能為何?", "使用<b>[mcol]</b> 來製作起始列的欄 (置中, 粗體字).<br />附註: [/mcol] 是不需要輸入的<br /><br /><b><u>例如:</u></b><br /><br />[table][mrow]主要的列, 第一欄<b>[mcol]</b>主要的列, 第二欄[col]主要的列, 有規律的欄[/table]<br /><br />如下所示...<br /><br /><table align=\"top\" cellpadding=\"2\" cellspacing=\"0\" style=\"font-size: 12px\" border=\"1\" bgcolor=\"#FFFFFF\"><tr><td style=\"font-weight: bold; text-align: center;\">主要的列, 第一欄</td><td style=\"font-weight: bold; text-align: center;\">主要的列, 第二欄</td><td>主要的列, 有規律的欄</td></tr></table>");
$faq[] = array("[row]標籤功能為何?", "使用<b>[row]</b> 來製作新增列 (不置中, 一般字)<br />附註: [/row] 是不需要輸入的<br /><br /><b><u>例如:</u></b><br /><br />[table][mrow]主要的列<b>[row]</b>有規律的列[/table]<br /><br />如下所示...<br /><br /><table align=\"top\" cellpadding=\"2\" cellspacing=\"0\" style=\"font-size: 12px\" border=\"1\" bgcolor=\"#FFFFFF\"><tr><td style=\"font-weight: bold; text-align: center;\">主要的列</td></tr><tr><td>有規律的列</td></tr></table>");
$faq[] = array("[col]標籤功能為何?", "使用<b>[col]</b> 來製作新增欄 (不置中, 一般字)<br />附註: [/col] 是不需要輸入的<br /><br /><b><u>例如:</u></b><br /><br />[table][mrow]主要的列, 第一欄[mcol]主要的列, 第二欄[row]有規律的列, 第一欄<b>[col]</b>有規律的列, 第二欄[/table]<br /><br />如下所示...<br /><br /><table align=\"top\" cellpadding=\"2\" cellspacing=\"0\" style=\"font-size: 12px\" border=\"1\" bgcolor=\"#FFFFFF\"><tr><td style=\"font-weight: bold; text-align: center;\">主要的列, 第一欄</td><td style=\"font-weight: bold; text-align: center;\">主要的列, 第二欄</td></tr><tr><td>有規律的列, 第一欄</td><td>有規律的列, 第二欄</td></tr></table>");
$faq[] = array("是否需要增加 [mrow], [mcol], [row], 或 [col] 的關閉標籤呢?", "不, 除了 [/table] 標籤之外, 其餘的都不需要.");
$faq[] = array("什麼是不同的屬性?", "您可以使用 <a href=\"#color\">\"color=\"</a> 和 <a href=\"#fontsize\">\"fontsize=\"</a> 相容於其他的標籤. 您可以像一般 HTML 語法一樣, 用<b>空格</b>將它們分隔開, 不必在乎排列的順序.<br /><br /><a name=\"color\"><br /></a><span style=\"font-size: 16px\"><b><u>顏色</u></b></span><br /><br />這 \"color=\" 屬性允許您改變背景顏色.<br />您可以輸入特定的顏色名稱 (如: red, blue, yellow, ...等) 或者使用 RGB 值 (如: #FFFFFF, #000000, ...等).<br /><br /><b><u>例如:</u></b><br />[table color=blue][mrow color=green]主要的列, 第一欄[mcol color=red]主要的列, 第二欄[row color=#FF0000]有規律的第一列, 第一欄[col color=#00FF00]有規律的第一列, 第二欄[row]有規律的第二列, 第一欄[col]有規律的第二列, 第二欄[/table]<br /> 展示如下...<br /><table align=\"top\" cellpadding=\"2\" cellspacing=\"0\" style=\"font-size: 12px\" border=\"1\" bgcolor=\"#0000FF\"><tr bgcolor=\"#00FF00\"><td style=\"font-weight: bold; text-align: center;\">主要的列, 第一欄</td><td bgcolor=\"#FF0000\" style=\"font-weight: bold; text-align: center;\">主要的列, 第二欄</td></tr><tr bgcolor=\"#FF0000\"><td>有規律的第一列, 第一欄</td><td bgcolor=\"#00FF00\">有規律的第一列, 第二欄</td></tr><tr><td>有規律的第二列, 第一欄</td><td>有規律的第二列, 第二欄</table><br /><hr><br /><a name=\"fontsize\"></a><br /><span style=\"font-size: 16px\"><b><u>字型大小</u></b></span><br /><br />這 \"fontsize=\" 屬性允許您改變字型大小.<br />預設的字型大小是 FONTSIZE3, 無論如何, 您都可以在 [table] 標籤中改變它.<br /><br /><b><u>例如:</u></b><br />[table fontsize=18][mrow fontsize=10]主要的列, 第一欄[mcol fontsize=14]主要的列, 第二欄[row fontsize=5]有規律的第一列, 第一欄[col fontsize=28]有規律的第一列, 第二欄[row]有規律的第二列, 第一欄[col]Regular Row 2 Column 2[/table]<br /> Will show up as<br /><table align=\"top\" cellpadding=\"2\" cellspacing=\"0\" style=\"font-size: 18px\" border=\"1\" bgcolor=\"#FFFFFF\"><tr style=\"font-size: 10px\"><td style=\"font-weight: bold; text-align: center;\">主要的列, 第一欄</td><td style=\"font-weight: bold; text-align: center; font-size: 14px\">主要的列, 第二欄</td></tr><tr style=\"font-size: 5px\"><td>有規律的第一列, 第一欄</td><td style=\"font-size: 28px\">有規律的第一列, 第二欄</td></tr><tr><td>有規律的第二列, 第一欄</td><td>有規律的第二列, 第二欄</table>");
// - Table BBCode 1.3.1
ps.
目前最新版本是 1.3.1
裡頭有兩個安裝說明檔:
Install_table_bbcode.mod
Install_table_bbcode_with_multi_bbcode_mod140.mod
這部份 (lang_main.php) 是針對前者.
關於後者的正體中文化, 請參考這裡:
http://phpbb-tw.net/phpbb/viewtopic.php?p=226311#226311