Template:Infobox political party/seats/doc
Appearance
This is a documentation subpage for Template:Infobox political party/seats. It may contain 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 may contain usage information, categories and other content that is not part of the original template page. |
Usage
[change source]{{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 the
{{party color}}
template.
Examples
[change source]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|{{party color|Green Party (UK)}}}}
|
50 / 100 |
{{Infobox political party/seats|50|100|rgb(255,255,16)}}
|
50 / 100 |
Related pages
[change source]- {{Infobox political party}}
- {{Bar graph}}