Template:Infobox political party/seats/doc

From The League Wiki
< Template:Infobox political party‎ | seats
Revision as of 14:04, 16 March 2020 by Roctos (talk | contribs) (Created page with "{{documentation subpage}} {{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> == Usage == :<code><nowiki>{{</nowiki>Infobox po...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 {{political party/meta/color}} 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