Template:Cell/doc
![]() | これはTemplate:Cellの解説サブページです。 使用方法、カテゴリ、およびその他テンプレートページ自体に含まれない情報を収容しています。 |
この{{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
編集