style="background-color: #F8F9FA; width: 0.3em;" |
Template:Party color cell 用于产生一个带有特定政党颜色的彩色表格单元。
使用
参数
参数
|
描述
|
1
|
政党名称
|
2
|
选填; The cell width. Defaults to 0.3em.
|
rowspan
|
选填; The number of rows to span.
|
colspan
|
选填; The number of columns to span.
|
举例
{| class="wikitable"
|-
| {{party color cell|Aontú}}
| Candidate
|
|-
|
|...
|}
or to override the default width of 10px,
{| class="wikitable"
|-
| {{party color cell|Aontú|10px}}
| Candidate
|
|-
|
|...
|}
or to override the default rowspan of 1,
{| class="wikitable"
|-
| {{party color cell|Aontú|rowspan=3}}
| Candidate
|
|-
|...
|-
|...
|-
|
|...
|}