Template:Percentage bar/doc
This is a documentation subpage for Template:Percentage bar. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
lemba{{Percentage bar|50}}
→50%{{Percentage bar|50|label}}
→label{{Percentage bar|50|}}
→{{Percentage bar|50||FF0000}}
→{{Percentage bar|50|hex=FF0000}}
→50%{{Percentage bar|50|c=red}}
→50%{{Percentage bar|50|hex=FF0000}}
→{{Percentage bar|50|c=red}}
→{{Percentage bar|0}}
→0%{{Percentage bar|100}}
→100%{{Percentage bar|50|width=200}}
→50%
- Relative width
{{Percentage bar|50|width=25%}}
→50%{{Percentage bar|50|width=55%}}
→50%{{Percentage bar|50|width=75%}}
→50%{{Percentage bar|50|width=100%}}
→50%
Other
{{Percentage bar|50.5}}
→50.5%{{Percentage bar|50.5|width=100%}}
→50.5%