Template:Progressbar

From MC Public Wiki
Revision as of 17:05, 14 October 2011 by Admin (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{#vardefine: nodoc | {{{nodoc}}} }}{{#vardefine: baddoc | {{{baddoc}}} }}

Template-info.png Documentation

This template creates a progress bar.

Parameter Function Default value
1 Integer progress value between 0 and 32. Empty tab = 0, half tab = 1, full tab = 2, see examples below. 0
2 Width of each icon in CSS units like "px" or "em". 18px
Code Result
{{progressbar}} File:Empty Pb.png
{{progressbar|0|9px}} File:Empty Pb.png
{{progressbar|1}} File:Half Pb.png
{{progressbar|2}} File:Pb.png
{{progressbar|5}} File:Pb.pngFile:Pb.pngFile:Half Pb.png
{{progressbar|20}} File:Pb.pngFile:Pb.pngFile:Pb.pngFile:Pb.pngFile:Pb.pngFile:Pb.pngFile:Pb.pngFile:Pb.pngFile:Pb.pngFile:Pb.png
{{progressbar|10|10px}} File:Pb.pngFile:Pb.pngFile:Pb.pngFile:Pb.pngFile:Pb.png
{{progressbar|6|48px}} File:Pb.pngFile:Pb.pngFile:Pb.png

The above documentation is transcluded from Template:Progressbar/doc. (edit | history)