Template:Composition bar/doc: Difference between revisions

width correction
(updating again, template reverted to 2015 version)
(width correction)
Line 3:
{{high-use| 4913 }}
 
This template displays the numeric composition of a thing in terms of its sub-units. For example, it is frequently used as part of {{tl|Infobox political party}} to show the number of seats a given political party holds in a legislature. A single line, flexible width version of this template is available at [[Template:Composition bar compact]].
 
== Usage ==
Line 19:
: (default is medium-dark grey) is the background color of the right part of the bar - a valid [[web colors|web color]].
; width=...
: (default is 100%) is the width of the bar in px, only fixed widths in px are supported
; per=...
: (default is false), when set to any value (true), adds a percentage to the bar as well