Template:Armorbar/doc: Difference between revisions
imported>Denatidum (Created page with "This template implements a Minecraft-like armor bar. == Arguments == {| class="wikitable" ! Argument !! Default value !! Note |- | <code>size</code> || <code>18</code> || Sets the size of each armor point. |- | <code>value</code> || <code>0</code> || Sets the amount of armor points. |- | <code>total</code> || <code>0</code> || Sets the total amount of armor points. Use if empty armor points are needed after the filled armor points. |} == Usage == {| class="wikitable" !...") |
imported>Denatidum (Created page with "This template implements a Minecraft-like armor bar. == Arguments == {| class="wikitable" ! Argument !! Default value !! Note |- | <code>size</code> || <code>18</code> || Sets the size of each armor point. |- | <code>value</code> || <code>0</code> || Sets the amount of armor points. |- | <code>total</code> || <code>0</code> || Sets the total amount of armor points. Use if empty armor points are needed after the filled armor points. |} == Usage == {| class="wikitable" !...") |
(No difference)
|
Revision as of 20:09, 19 March 2023
This template implements a Minecraft-like armor bar.
Arguments
Argument | Default value | Note |
---|---|---|
size |
18 |
Sets the size of each armor point. |
value |
0 |
Sets the amount of armor points. |
total |
0 |
Sets the total amount of armor points. Use if empty armor points are needed after the filled armor points. |
Usage
Code | Result |
---|---|
{{armorbar}} |
♥ |
{{armorbar|size=9}} |
♥ |
{{armorbar|value=1}} |
♥ |
{{armorbar|value=2}} |
|
{{armorbar|value=5}} |
|
{{armorbar|value=5|total=10}} |
|
{{armorbar|value=7|size=45}} |