Template:Composition bar/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
=== Usage === |
=== Usage === |
||
<pre> |
<pre> |
||
{{Infobox political party/seats |
{{Infobox political party/seats|seats_won|total_seats|red|green|blue}} |
||
⚫ | |||
</pre> |
</pre> |
||
Where red, green and blue are numbers between 0 and 1. |
Where red, green and blue are numbers between 0 and 1. |
||
Alternatively, use the [[hex triplet]] from most {{tl|Conservative Party (UK)/meta/color}} and similar templates: |
Alternatively, use the [[hex triplet]] from most {{tl|Conservative Party (UK)/meta/color}} and similar templates: |
||
<pre> |
|||
⚫ | |||
</pre> |
|||
Do not pad values with spaces. |
|||
=== See also === |
=== See also === |
Revision as of 18:20, 22 February 2010
This is a documentation subpage for Template:Composition bar. 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|red|green|blue}} {{Infobox political party/seats|seats_won|total_seats|hex=#rrggbb}}
Where red, green and blue are numbers between 0 and 1.
Alternatively, use the hex triplet from most {{Conservative Party (UK)/meta/color}} and similar templates:
Do not pad values with spaces.