Content may (a) follow its cell mark on the same line after any optional HTML attributes or (b) on lines below the cell mark.
Content that uses wiki markup that itself needs to start on a new line, such as lists, headings, or nested tables, must be on its own new line.
Pipe character as content.
To insert a pipe (|) character into a table, use the <nowiki>|</nowiki> escaping markup.
基礎
Create a table with editor toolbar
In wikitext editor, place the caret where you want to insert a table. Then, in the toolbar, press “上級”, then choose 表 button.A dialog opens.
From the dialog, you can choose whether to enable a table header row, to stylize the table with border and to make the table sortable.A preview example is displayed.You can also set row and column counts you need. Then, press “挿入” button.
{|
|Lorem ipsum dolor sit amet,
consetetur sadipscing elitr,
sed diam nonumy eirmod tempor invidunt
ut labore et dolore magna aliquyam erat,
sed diam voluptua.
At vero eos et accusam et justo duo dolores
et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum
dolor sit amet.
|
* Lorem ipsum dolor sit amet
* consetetur sadipscing elitr
* sed diam nonumy eirmod tempor invidunt
|}
Lorem ipsum dolor sit amet,
consetetur sadipscing elitr,
sed diam nonumy eirmod tempor invidunt
ut labore et dolore magna aliquyam erat,
sed diam voluptua.
At vero eos et accusam et justo duo dolores
et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum
dolor sit amet.
You can also use cell attributes when you are listing multiple cells on a single line.Note that the cells are separated by ||, and within each cell the attribute(s) and value are separated by |.
If "border-width:" has more than one number, the four numbers are for top, right, bottom, left (REMEMBER clockwise order ↑→↓←):
入力
出力
{|style="border-style: solid; border-width: 10px 20px 100px 0"
|
こんにちは
|}
こんにちは
When there are fewer than 4 values :
three values i.e. top, right, bottom: then the default value for left is the one of right (second value). Width is then the same on left and right side.
two values i.e. top, right: then the default value for bottom is the one of top (first value), and left by default is assigned the value of right (second value). Width on top is then the same as on bottom; width on left is the same as on right.
1 つの値、すなわち top の場合: right の既定値は top のものとなり、bottom と left も同じです。4 番目の幅は同じで、通常のボーダーを構築します。これはライティングのショートカットです。
Another method to define the widths of the four sides of a cell is to use "border-left", "border-right", "border-top" and "border-bottom":
The HTML attributes (such as "width=", "border=", "cellspacing=", "cellpadding=") do not need any length unit (the pixel unit is assumed).
また、HTML5では無効となります。
"Cellpadding" is for setting the space between the cell wall and the cell content.
However when tables are rendered on non-visual media, you can help the browser to determine which table header cell applies to the description of any selected cell (in order to repeat its content in some accessibility helper) using a scope="row" or scope="col" attribute on table header cells.In most cases with simple tables, you'll use scope="col" on all header cells of the first row, and scope="row" on the first cell of the following rows:
表をページの右側または左側に配置した場合、表の後に来るテキストは表の端から始まり、表の周りには何もない状態になります。
You can make the text to be wrapped around the table by making the table to float around the text instead of just aligning it.This can be achieved using the float CSS attribute, which can specify where the table floats to the right side or to the left.float パラメータを指定すると余白で表の配置を調整しません。周囲の文字列との間隔を指定できます。
入力
出力
{| class="wikitable" style="float:right; margin-left: 10px;"
| オレンジ
| りんご
|-
| パン
| パイ
|-
| バター
| アイスクリーム
|}
Lorem ipsum dolor sit amet, consectetuer adipiscing
elit, sed diam nonummy nibh euismod tincidunt ut
laoreet dolore magna aliquam erat volutpat. Ut wisi
enim ad minim veniam, quis nostrud exerci tation
ullamcorper suscipit lobortis nisl ut aliquip ex ea
commodo consequat. Duis autem vel eum iriure dolor
in hendrerit in vulputate velit esse molestie consequat,
vel illum dolore eu feugiat nulla facilisis at vero
eros et accumsan et iusto odio dignissim qui blandit
praesent luptatum zzril delenit augue duis dolore te
feugait nulla facilisi.
オレンジ
りんご
パン
パイ
バター
アイスクリーム
Lorem ipsum dolor sit amet, consectetuer adipiscing
elit, sed diam nonummy nibh euismod tincidunt ut
laoreet dolore magna aliquam erat volutpat. Ut wisi
enim ad minim veniam, quis nostrud exerci tation
ullamcorper suscipit lobortis nisl ut aliquip ex ea
commodo consequat. Duis autem vel eum iriure dolor
in hendrerit in vulputate velit esse molestie consequat,
vel illum dolore eu feugiat nulla facilisis at vero
eros et accumsan et iusto odio dignissim qui blandit
praesent luptatum zzril delenit augue duis dolore te
feugait nulla facilisi.
Phab: T108245: "Fully support basic table editing in the visual editor" を参照してください。
タスクの一覧を参照しましょう。レ点は完了した印です。技術の専門用語を読んでも、具体的に改良された点や、どんな機能が追加されたか理解するのは難しいかもしれません。そこで下欄に説明文を記入してください。