Template:Infobox political party/seats/doc

Usage change

{{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

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