Template:Armor/doc: Difference between revisions

From Create: Minecraft Mod Wiki
Jump to navigation Jump to search
Create: Minecraft Mod Wiki>Joker876
Created page with "{{Documentation subpage}} This template displays armor points and visualizes these with the help of an armor bar. For a more compact display, all armor..."
 
Create: Minecraft Mod Wiki>Joker876
No edit summary
Line 8: Line 8:
! Result
! Result
|-
|-
| <nowiki>{{Armor|0}}</nowiki> || {{Armor|0}}
| {{T|Armor|0}} || {{Armor|0}}
|-
|-
| <nowiki>{{Armor|4}}</nowiki> || {{Armor|4}}
| {{T|Armor|4}} || {{Armor|4}}
|-
|-
| <nowiki>{{Armor|16}}</nowiki> || {{Armor|16}}
| {{T|Armor|16}} || {{Armor|16}}
|-
|-
| <nowiki>{{Armor|20}}</nowiki> || {{Armor|20}}
| {{T|Armor|20}} || {{Armor|20}}
|-
|-
| <nowiki>{{Armor|41}}</nowiki> || {{Armor|41}}
| {{T|Armor|41}} || {{Armor|41}}
|}
|}



Revision as of 11:18, 15 April 2021

This is a documentation subpage for Template:Armor.
It contains usage information, categories and other content that is not part of the original template page.

This template displays armor points and visualizes these with the help of an armor bar.

For a more compact display, all armor point values above 10 (5 armor points) are replaced by 🛡 × [armor / 2].

Code Result
{{Armor|<0>}} 0 (🛡)
{{Armor|<4>}} 4 (🛡🛡)
{{Armor|<16>}} 16 (🛡 × 8)
{{Armor|<20>}} 20 (🛡 × 10)
{{Armor|<41>}} 41 (🛡 × 20.5)