Template:Percentage bar: Difference between revisions
Appearance
en>Jonesey95 fix text color in dark mode; this generally works but may cause problems, in which case revert or try specifying a different CSS value |
Richard470l (talk | contribs) m 1 revision imported: Add. |
(No difference)
|
Latest revision as of 23:59, 12 October 2025
This template uses TemplateStyles: |
Usage[edit source]
- Normal usage
{{Percentage bar|0}}
→{{Percentage bar|50}}
→{{Percentage bar|100}}
→{{Percentage bar|50.5}}
→
- With label
{{Percentage bar|50|label}}
→{{Percentage bar|50|}}
→
- With color
{{Percentage bar|50||FF0000}}
→{{Percentage bar|50|hex=FF0000}}
→{{Percentage bar|50|c=red}}
→{{Percentage bar|50|hex=FF0000}}
→{{Percentage bar|50|c=red}}
→
- With width
{{Percentage bar|50|width=200}}
→{{Percentage bar|50|width=25%}}
→{{Percentage bar|50|width=55%}}
→{{Percentage bar|50|width=75%}}
→{{Percentage bar|50|width=100%}}
→{{Percentage bar|50.5|width=100%}}
→