Difference between revisions of "Template:Armor"

From Minetest Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{#switch: {{{1}}} | 0.5 = 16px | 1 = 16px | 1.0 = 16px | 1.5 = 16pxFil...")
 
(Moved doc to /doc subpage)
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{{1}}}
+
<includeonly>{{#invoke:IconBar|bar|name=armor}}</includeonly><noinclude>
| 0.5 = [[File:Half_armor.png | 16px]]
+
{{Documentation}}
| 1 = [[File:Armor.png | 16px]]
+
<!-- Categories go on the /doc subpage -->
| 1.0 = [[File:Armor.png | 16px]]
 
| 1.5 = [[File:Armor.png | 16px]][[File:Half_armor.png | 16px]]
 
| 2 = [[File:Armor.png | 16px]][[File:Armor.png | 16px]]
 
| 2.0 = [[File:Armor.png | 16px]][[File:Armor.png | 16px]]
 
| 2.5 = [[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Half_armor.png | 16px]]
 
| 3 = [[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]]
 
| 3.0 = [[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]]
 
| 3.5 = [[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Half_armor.png | 16px]]
 
| 4 = [[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]]
 
| 4.0 = [[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]]
 
| 4.5 = [[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Half_armor.png | 16px]]
 
| 5 = [[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 | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]][[File:Armor.png | 16px]]
 
| [[File:Armor.png | 16px]]
 
}}</includeonly>
 
<noinclude>
 
== Examples ==
 
{| class="wikitable"
 
! source
 
! output
 
|-
 
|
 
<nowiki>{{Armor | 3.5}}</nowiki>
 
|{{Armor | 3.5}}
 
|}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 06:22, 10 May 2017

Documentation icon.png Documentation[view] [edit] [history] [purge]
Languages Language: English
Lua logo.png This template uses Module:IconBar, a script written in Lua.
Please see wikipedia:Wikipedia:Lua and mw:Extension:Scribunto to learn more.

Examples

Source Output
{{Armor|6.5}} Armor.pngArmor.pngArmor.pngArmor.pngArmor.pngArmor.pngHalf armor.png