Editing
Template:Composition bar/doc
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Usage == <nowiki>{{</nowiki>Composition bar|''amount''|''total''|''bar-color''|''options...''}} ; amount : The first parameter is the number of sub-units. ; total : The second parameter is the total number of sub-units possible. ; bar-color : (default is light grey) The third parameter is the background color of the left part of the bar - a valid [[web colors|web color]], which can be specified by name, as a [[hex triplet]] (#rrbbgg), or rgb triplet (rgb(0β255,0β255,0β255)).<br />In the case of political parties, most will have their logo color available in {{party color|tlc|political party}} templates. Additional display options: ; background-color=... : (default is transparent) is the background color of the right part of the bar - a valid [[web colors|web color]]. ; border=... : (default is medium grey) is the color of the border, or "none" for no border ; width=... : (default is 100px) a width value for the bar, such as "100%" or "8em" (unitless numbers are interpreted as px) ; per=... : (default is false), when set to any value (true), adds a percentage to the bar as well ; ref=... : (default is blank), may be used to add a reference/citation for the numbers.
Edit summary
(Briefly describe your changes)
Please note that all contributions to A2wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
A2wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit source
View history
More
Search
Navigation
Main page
Current events
Random page
About A2wiki
interaction
Help
Community portal
Recent changes
Upload file
Tools
What links here
Related changes
Special pages
Page information