Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

Template:Percentage bar/doc

From Wikipedia, the free encyclopedia

Usage

[edit]
  • {{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%