Template:Percentage bar/doc

From PRD Wiki
Revision as of 04:21, 24 April 2025 by wp>Tule-hog (use subcat (this template is used in articles))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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%