Note: There are 2 types of tables. Simple tables type and Advanced tables type. These two types have different syntax inside the editor. Simple tables can be formatted using Cookbook:FormattingSimpleTables
注意: テーブルは２種類あります。 シンプルなテーブルと拡張テーブルです。
Simple tables are created via use of the double pipe character:
||. Lines beginning with this markup denote rows in a table; within such lines the double-pipe is used to delimit cells. In the examples below a border is added for illustration (the default is no border).
Header cells can be created by placing ! as the first character of a cell. Note that these are table headers, not headings, so it doesn't extend to !!, !!!, etc.
A table can have a caption, indicated by
||!caption!||. Any caption must appear prior to other rows of the table.
Cell contents may be aligned left, centered, or aligned right.
Note that header and detail cells have different default alignments.
To get a cell to span multiple columns, follow the cell with empty cells. (At present there is no markup for spanning rows.)
Any line that begins with
|| but doesn't have a closing
|| sets the table attributes for any tables that follow. These attributes can control the size and position of the table, borders, background color, and cell spacing. (In fact these are just standard HTML attributes that are placed in the <table> tag.)
width= attribute to set a table's width, using either a percentage value or an absolute size.
border= attribute sets the size of a table's borders.
align=right to center, left, or right align a table. Note that
align=right create a floating table, such that text wraps around the table.
Notice how text wraps to the right of a table using "align=left".
bgcolor= attribute sets the background color for a table. At present there is no way to specify the color of individual rows or cells in a table (but see Cookbook:FormattingSimpleTables).
Tutoriais de Tecnologia Web