Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 03:25, 5 June 2025 by imported>Simanelix (why divide by 2? armor says not to)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]

Template:Documentation header Template:Lua This template creates an armor bar.

Parameter Function Default value
Template:P Integer armor value between 0 and 32. Empty armor = 0, half armor = 1, full armor = 2, etc. 0
Template:P Width of each icon in pixels. 18
Template:P Page linked when clicking on an icon. None
Template:P Total amount of armor points to be shown. 0
Code Result
{{armorbar}} Template:Armorbar
{{armorbar|0|9px}} Template:Armorbar
{{armorbar|1}} Template:Armorbar
{{armorbar|2}} Template:Armorbar
{{armorbar|5}} Template:Armorbar
{{armorbar|5|total=20}} Template:Armorbar
{{armorbar|20}} Template:Armorbar
{{armorbar|10|9px}} Template:Armorbar
{{armorbar|6|45px}} Template:Armorbar

See also

Template:Iconbar see also

de:Vorlage:Rüstungsleiste fr:Modèle:Armures ko:틀:갑옷 게이지 nl:Sjabloon:Armorbar pl:Szablon:Armorbar pt:Predefinição:Barra de armadura ru:Шаблон:Защита th:แม่แบบ:Armorbar uk:Шаблон:Armorbar

zh:Template:Armorbar
The above text is transcluded from Template:MC/Armorbar/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:MC/Armorbar/doc. (View all subpages of this page.)
Contents