Template:Cell

{{cell|COLOR}}

テンプレートの解説[表示] [編集] [履歴] [キャッシュを破棄]

この{{cell}}テンプレートは背景色を作り、表を完成させるテンプレート。

Usage[編集]

{{cell|COLOR}}
Complete specification
{{cell|Color|Text|style=Style}}
Default
{{cell|Color| |style=font-size:50%;}}

Examples[編集]

Example 1[編集]

Code
{| width="50%" cellspacing=0
{{cell|red}}{{cell|blue}}{{cell|green}}
|}
Result
     

Example 2[編集]

Code
{| width="50%" cellspacing=0
{{cell|red| }}{{cell|blue| }}{{cell|green| }}
|}
Result

Example 3[編集]

Code
{| width="50%" cellspacing=0
{{cell|red|R|style=text-align:center}}{{cell|blue|B|style=text-align:center}}{{cell|green|G|style=text-align:center}}
|}
Result
R B G

Note[編集]

The {{cell2}} and {{cell3}} templates can be used to condense a sequence of cells of the same color.

See also[編集]