Šablona:Progressbar/doc

Z Minecraft Wiki
Přejít na: navigace, hledání
This is the documentation page, it should be transcluded into the main template page. See Template:Documentation for more information

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}} 18px
{{progressbar|0|9px}} 9px
{{progressbar|1}} 18px
{{progressbar|2}} 18px
{{progressbar|5}} 18px18px18px
{{progressbar|20}} 18px18px18px18px18px18px18px18px18px18px
{{progressbar|10|10px}} 10px10px10px10px10px
{{progressbar|6|48px}} 48px48px48px