Template:Composition bar/doc: Difference between revisions

From CivWiki
Jump to navigation Jump to search
Content added Content deleted
(interwiki)
(→‎See also: interwiki)
Line 42: Line 42:
[[de:Vorlage:Infobox Partei/Mandate]]
[[de:Vorlage:Infobox Partei/Mandate]]
[[es:Plantilla:Ficha de partido político/escaños]]
[[es:Plantilla:Ficha de partido político/escaños]]
[[fr:Modèle:Infobox parti politique/Sièges]]
[[id:Templat:Infobox partai politik/kursi]]
[[id:Templat:Infobox partai politik/kursi]]
[[ja:Template:政党/議席数]]
[[ja:Template:政党/議席数]]

Revision as of 15:58, 15 March 2012

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}} Template:Infobox political party/seats
{{Infobox political party/seats|50|100|#9999FF}} Template:Infobox political party/seats
{{Infobox political party/seats|50|100|{{Green Party (UK)/meta/color}}}} Template:Infobox political party/seats
{{Infobox political party/seats|50|100|rgb(255,255,16)}} Template:Infobox political party/seats

See also