Jump to: navigation, search

Template:Armorbar/doc

Revision as of 15:46, 14 February 2014 by MrTJP (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Documentation
This template uses Module:Iconbar, a script written in the Lua programming language. Please see wp:Lua and mw:Extension:Scribunto to learn more about Lua.

This template creates an armor bar.

Parameter Function Default value
1 Integer health value between 0 and 32. Empty armor = 0, half armor = 1, full armor = 2, see examples below. 0
2 Width of each icon in CSS units like "px" or "em". 18px
Code Result
{{armorbar}}
{{armorbar|0|9px}}
{{armorbar|1}}
{{armorbar|2}}
{{armorbar|5}}
{{armorbar|20}}
{{armorbar|10|9px}}
{{armorbar|6|45px}}

See also

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.

fr:Modèle:Armures/doc



Cookies help us deliver our services. By using our services, you agree to our use of cookies.