ഫലകം:Party color cell/doc
ദൃശ്യരൂപം
![]() | This is a documentation subpage for ഫലകം:Party color cell. It may contain usage information, categories and other content that is not part of the original ഫലകം page. |
![]() | This template uses Lua: |
Template:Party color cell is used to produce a colored table cell with a given political party's colors.
Usage[തിരുത്തുക]
{{Party color cell|name}}
Parameters[തിരുത്തുക]
Parameter | Description |
---|---|
1 | The political party's name. |
2 | Optional; The cell width. Defaults to 0.3em. |
rowspan | Optional; The number of rows to span. |
colspan | Optional; The number of columns to span. |
Examples[തിരുത്തുക]
{| class="wikitable" |- | {{party color cell|Aontú}} | Candidate | |- | |... |}
Candidate | ||
... |
or to override the default width of 10px,
{| class="wikitable" |- | {{party color cell|Aontú|10px}} | Candidate | |- | |... |}
Candidate | ||
... |
or to override the default rowspan of 1,
{| class="wikitable" |- | {{party color cell|Aontú|rowspan=3}} | Candidate | |- |... |- |... |- | |... |}
Candidate | ||
... | ||
... | ||
... |