Difference between revisions of "Template:Armor"

From Minetest Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<includeonly>{{#switch: {{{1}}}
 
<includeonly>{{#switch: {{{1}}}
| 0.5 = [[File:Half_armor.png | 16px]]
+
| 0.5 = [[File:Half_armor.png]]
| 1 = [[File:Armor.png | 16px]]
+
| 1   = [[File:Armor.png]]
| 1.0 = [[File:Armor.png | 16px]]
+
| 1.0 = [[File:Armor.png]]
| 1.5 = [[File:Armor.png | 16px]][[File:Half_armor.png | 16px]]
+
| 1.5 = [[File:Armor.png]][[File:Half_armor.png]]
| 2 = [[File:Armor.png | 16px]][[File:Armor.png | 16px]]
+
| 2   = [[File:Armor.png]][[File:Armor.png]]
| 2.0 = [[File:Armor.png | 16px]][[File:Armor.png | 16px]]
+
| 2.0 = [[File:Armor.png]][[File:Armor.png]]
| 2.5 = [[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Half_armor.png | 16px]]
+
| 2.5 = [[File:Armor.png]][[File:Armor.png]][[File:Half_armor.png]]
| 3 = [[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]]
+
| 3   = [[File:Armor.png]][[File:Armor.png]][[File:Armor.png]]
| 3.0 = [[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]]
+
| 3.0 = [[File:Armor.png]][[File:Armor.png]][[File:Armor.png]]
| 3.5 = [[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Half_armor.png | 16px]]
+
| 3.5 = [[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Half_armor.png]]
| 4 = [[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]]
+
| 4   = [[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]]
| 4.0 = [[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]]
+
| 4.0 = [[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]]
| 4.5 = [[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Half_armor.png | 16px]]
+
| 4.5 = [[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Half_armor.png]]
| 5 = [[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]]
+
| 5   = [[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]]
| 5.0 = [[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]]
+
| 5.0 = [[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]]
| 5.5 = [[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Half_armor.png | 16px]]
+
| 5.5 = [[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Half_armor.png]]
| 6 = [[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]]
+
| 6   = [[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]]|[[File:Armor.png]]
| 6.0 = [[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]]
+
| 6.0 = [[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]]
| 6.5 = [[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Half_armor.png | 16px]]
+
| 6.5 = [[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Half_armor.png]]
| 7 = [[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]]
+
| 7   = [[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]]
| 7.0 = [[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]]
+
| 7.0 = [[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]]
| [[File:Armor.png | 16px]]
+
| 7.5 = [[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Half_armor.png]]
 +
| 8  = [[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]]
 +
| 8.0 = [[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]]
 +
| [[File:Armor.png]]
 
}}</includeonly>
 
}}</includeonly>
 
<noinclude>
 
<noinclude>
Line 31: Line 34:
 
|
 
|
 
  <nowiki>{{Armor | 3.5}}</nowiki>
 
  <nowiki>{{Armor | 3.5}}</nowiki>
|{{Armor | 3.5}}
+
|{{Armor | 6.5}}
 
|}
 
|}
 
</noinclude>
 
</noinclude>

Revision as of 15:02, 31 July 2014


Examples

source output
{{Armor | 3.5}}
Armor.pngArmor.pngArmor.pngArmor.pngArmor.pngArmor.pngHalf armor.png