style="background: linear-gradient(to right, parameter 1 should be a party name. 0.5em, transparent 0.5em); padding-left: 0.7em; "
Usage
editExample: {{Party cell|Democratic|left|top}}
This template is used to format table cells with a sidebar of a political party color.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Party | 1 | Political party
| String | required |
Side | 2 | Which side the color bar is placed on
| String | optional |
Position | 3 | Used only for politicians who switch parties
| String | optional |