Template:Item infobox: Difference between revisions

From BTA-Mirror
imported>Ttv pedro270707
mNo edit summary
imported>Ttv pedro270707
mNo edit summary
Line 8: Line 8:
</div>
</div>
| }}
| }}
{{#if: {{{item|}}} |
{{#if: {{{item|{{{durability|}}}}}} |
<div class="infobox out">
<div class="infobox out">
{{Inventory slot|{{{item|}}}}}
{{#if: {{{item|}}} | {{Inventory slot|{{{item|}}}}} | }}
</div>
{{#if: {{{description{{{durability|{{{renewable|{{{stackable|}}}}}}}}}}}} |
<table class="infobox-table">
{{#if: {{{description|}}} |
<tr>
<th>Description</th>
<td>{{{description|}}}</td>
</tr>
| }}
{{#if: {{{durability|}}} |
<tr>
<th>Durability</th>
<td>{{{durability|}}}</td>
</tr>
| }}
{{#if: {{{renewable|}}} |
<tr>
<th>Renewable</th>
<td>{{#ifeq: {{{renewable|}}} | y | Yes | {{#ifeq: {{{renewable|}}} | n | No | {{{renewable|}}} }} }}</td>
</tr>
| }}
{{#if: {{{stackable|}}} |
<tr>
<th>Stackable</th>
<td>{{#iferror: {{#expr: {{{stackable|}}} }} | {{{stackable|}}} | {{#ifexpr: {{{stackable|}}} < 2 | No | Yes ({{#expr: {{{stackable|}}} }}) }} }}</td>
</tr>
| }}
</table>
| }}
| }}
{{#if: {{{durability|}}} |
<div class="infobox out">
</div>
</div>
| }}
| }}
</div></includeonly><noinclude>{{Item infobox|title=Steel Ingot|image={{ItemToImageMap|key=Steel Ingot|width=160|height=160}}|item=Steel Ingot}}</noinclude>
</div></includeonly><noinclude>{{Item infobox|title=Steel Ingot|image={{ItemToImageMap|key=Steel Ingot|width=160|height=160}}|item=Steel Ingot|description=Iron and Nether Coal fused into a strong alloy.|durability=100|renewable=n|stackable=64}}</noinclude>

Revision as of 13:38, 6 March 2023

Steel Ingot

Description Iron and Nether Coal fused into a strong alloy.
Durability 100
Renewable No
Stackable Yes (64)