Template:Percentage bar: Difference between revisions

From PZwiki
(Docu, small updates)
m (rm {{underconstruction}})
Line 1: Line 1:
<noinclude>
<noinclude>
{{Underconstruction}}
{{Documentation/sandbox|doc=
{{Documentation/sandbox|doc=
This template is used to show a percentage as a bar. By default the parameter given is a percentage out of 100, but the total can be changed by giving the parameter <code>total=X</code> where X is the total number.
This template is used to show a percentage as a bar. By default the parameter given is a percentage out of 100, but the total can be changed by giving the parameter <code>total=X</code> where X is the total number.

Revision as of 03:53, 28 March 2024

Notebook.pngTemplate Documentation

This template is used to show a percentage as a bar. By default the parameter given is a percentage out of 100, but the total can be changed by giving the parameter total=X where X is the total number.

Usage

{{Percentage bar|50}}

0.5
50%  

{{Percentage bar|50|total=200}}

0.25
25%  

Attribution

Team fortress 2 wiki

Editors can experiment in this template's sandbox.