Template:Item infobox: Difference between revisions

no edit summary
imported>Ttv pedro270707
mNo edit summary
imported>Denatidum
No edit summary
 
(14 intermediate revisions by 3 users not shown)
Line 5: Line 5:
{{#if: {{{image|}}} |
{{#if: {{{image|}}} |
<div class="infobox in">
<div class="infobox in">
{{#arraydefine:images|{{{image|}}}|;}}{{animated|160px|{{#arrayprint:images|{{!}}|@image@|@image@}}}}
{{animated|160px|{{{image|}}}}}
</div>
</div>
| }}
| }}
Line 23: Line 23:
<th>Durability</th>
<th>Durability</th>
<td>{{{durability|}}}</td>
<td>{{{durability|}}}</td>
</tr>
| }}
            {{#if: {{{blastresistance|}}} |
<tr>
<th>Blast resistance</th>
<td>{{{blastresistance|}}}</td>
</tr>
| }}
            {{#if: {{{hardness|}}} |
<tr>
<th>Hardness</th>
<td>{{{hardness|}}}</td>
</tr>
</tr>
| }}
| }}
{{#if: {{{tool|}}} |
{{#if: {{{tool|}}} |
<tr>
<tr>
<th>Tool(s)</th>
<th>[[Tool|Tool(s)]]</th>
<td>{{Inventory slot|item={{{tool|}}}}}</td>
<td>{{Inventory slot|item={{{tool|}}}}}</td>
</tr>
</tr>
Anonymous user