Template:Party cell/sandbox
style="background: linear-gradient(to right, parameter 1 should be a party name. 0.5em, transparent 0.5em); padding-left: 0.7em; "
This is the template sandbox page for Template:Party cell (diff). |
Usage
Example: {{Party cell|1=Democratic|2=left|3=top}}
.
<templatedata> { "params": { "1": { "label": "Party", "description": "Political party", "example": "Federalist", "required": true, "type": "string" }, "2": { "label": "Side", "description": "Which side the color bar is placed on", "example": "left", "suggestedvalues": [ "left", "right" ], "default": "left", "type": "string" }, "3": { "label": "Position", "description": "Used only for politicians who switch parties", "example": "top", "suggestedvalues": [ "top", "middle", "bottom" ], "default": "empty", "type": "string" } }, "description": "This template is used to format table cells with a sidebar of a political party color.", "format": "inline" } </templatedata>
The above documentation is transcluded from Template:Party cell/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |