Template:Percentage bar/doc: Difference between revisions

From Project Basis
Jump to navigation Jump to search
use subcat (this template is used in articles)
 
m 1 revision imported
 
(No difference)

Latest revision as of 02:12, 20 July 2026

Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab.

Usage

Normal usage
  • {{Percentage bar|0}}
    0%
  • {{Percentage bar|50}}
    50%
  • {{Percentage bar|100}}
    100%
  • {{Percentage bar|50.5}}
    50.5%
With label
  • {{Percentage bar|50|label}}
    label
  • {{Percentage bar|50|}}
With color
  • {{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}}
With width
  • {{Percentage bar|50|width=200}}
    50%
  • {{Percentage bar|50|width=25%}}
    50%
  • {{Percentage bar|50|width=55%}}
    50%
  • {{Percentage bar|50|width=75%}}
    50%
  • {{Percentage bar|50|width=100%}}
    50%
  • {{Percentage bar|50.5|width=100%}}
    50.5%