Difference between revisions of "Template:Armor"

From Luanti Wiki
Jump to navigation Jump to search
(Moved doc to /doc subpage)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{{1}}}
+
<includeonly>{{#invoke:IconBar|bar|name=armor}}</includeonly><noinclude>
| 0  = [[File:Empty_armor.png]]
+
{{Documentation}}
| 0.5 = [[File:Half_armor.png]]
+
<!-- Categories go on the /doc subpage -->
| 1  = [[File:Armor.png]]
 
| 1.0 = [[File:Armor.png]]
 
| 1.5 = [[File:Armor.png]][[File:Half_armor.png]]
 
| 2  = [[File:Armor.png]][[File:Armor.png]]
 
| 2.0 = [[File:Armor.png]][[File:Armor.png]]
 
| 2.5 = [[File:Armor.png]][[File:Armor.png]][[File:Half_armor.png]]
 
| = [[File:Armor.png]][[File:Armor.png]][[File:Armor.png]]
 
| 3.0 = [[File:Armor.png]][[File:Armor.png]][[File:Armor.png]]
 
| 3.5 = [[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Half_armor.png]]
 
| 4  = [[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]]
 
| 4.0 = [[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]]
 
| 4.5 = [[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Half_armor.png]]
 
| 5  = [[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]]
 
| 5.0 = [[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]]
 
| 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]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]]
 
| 6.0 = [[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]]
 
| 6.5 = {{for loop||Armor.png|Armor.png|Armor.png|Armor.png|Armor.png|call=Insert_image}}
 
| 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]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]]
 
| 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]]
 
| 8.5 = [[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:Half_armor.png]]
 
| 9  = [[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]]
 
| 9.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]]
 
| 9.5 = [[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]][[File:Half_armor.png]]
 
| 10  = [[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]][[File:Armor.png]]
 
| 10.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]][[File:Armor.png]]
 
| 10.5 = [[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]][[File:Armor.png]][[File:Half_armor.png]]
 
| 11  = [[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]][[File:Armor.png]][[File:Armor.png]]
 
| 11.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]][[File:Armor.png]][[File:Armor.png]]
 
| 11.5 = [[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]][[File:Armor.png]][[File:Armor.png]][[File:Half_armor.png]]
 
| 12  = [[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]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]]
 
| 12.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]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]]
 
| 12.5 = [[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]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Half_armor.png]]
 
| 13  = [[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]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]]
 
| 13.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]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]]
 
| 13.5 = [[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]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Half_armor.png]]
 
| 14  = [[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]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]]
 
| 14.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]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]]
 
| 14.5 = [[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]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Half_armor.png]]
 
| 15  = [[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]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]]
 
| 15.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]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]]
 
| 16  = [[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]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]][[File:Armor.png]]
 
| 16.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]][[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>
 
<noinclude>
 
== Examples ==
 
{| class="wikitable"
 
! source
 
! output
 
|-
 
|
 
<nowiki>{{Armor | 6.5}}</nowiki>
 
|{{Armor | 6.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