Template:Infobox political party/seats/doc
This is a documentation subpage for Template:Infobox political party/seats. It contains usage information, categories and other content that is not part of the original template page. |
This is a documentation subpage for Template:Infobox political party/seats. It contains usage information, categories and other content that is not part of the original template page. |
Usage
{{Infobox political party/seats|seats_won|total_seats|color}}
- seats_won is the number of seats held by the political party
- total_seats is the total number of seats possible
- color is a valid web color, which can be specified either by name, as a hex triplet (#rrbbgg), or hex triplet from most
- REDIRECT Template:Template link code templates.
Examples
Code | Result |
---|---|
{{Infobox political party/seats|50|100|red}}
|
50 / 100 |
{{Infobox political party/seats|50|100|#9999FF}}
|
50 / 100 |
{{Infobox political party/seats|50|100|{{Green Party (UK)/meta/color}}}}
|
50 / 100 |
{{Infobox political party/seats|50|100|rgb(255,255,16)}}
|
50 / 100 |
Related pages
- {{Infobox political party}}
- {{Bar graph}}