Jump to content

Template:Item infobox: Difference between revisions

no edit summary
imported>Ttv pedro270707
m (Changed text color to BTA white)
imported>Denatidum
No edit summary
 
(20 intermediate revisions by 3 users not shown)
Line 5: Line 5:
{{#if: {{{image|}}} |
{{#if: {{{image|}}} |
<div class="infobox in">
<div class="infobox in">
{{{image|}}}
{{animated|160px|{{{image|}}}}}
</div>
</div>
| }}
| }}
{{#if: {{{description|}}}{{{item|}}}{{{durability|}}}{{{tool|}}}{{{renewable|}}}{{{stackable|}}}{{{restores|}}} |
{{#if: {{{description|}}}{{{item|}}}{{{durability|}}}{{{tool|}}}{{{renewable|}}}{{{stackable|}}}{{{restores|}}} |
<div class="infobox out">
<div class="infobox out">
{{#if: {{{item|}}} | {{#arraydefine:items|{{{item|}}}|;}}{{#arrayprint:items||@item@|{{Inventory slot|item=@item@}}}}}}
{{#if: {{{item|}}} | {{#arraydefine:items|{{{item|}}}|;}}{{#arrayprint:items||@item@|{{Inventory slot|item=@item@|link=n}}}}}}
{{#if: {{{description|}}}{{{durability|}}}{{{tool|}}}{{{renewable|}}}{{{stackable|}}}{{{restores|}}} |
{{#if: {{{description|}}}{{{durability|}}}{{{tool|}}}{{{renewable|}}}{{{stackable|}}}{{{restores|}}} |
<table class="infobox-table">
<table class="infobox-table">
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