Anonymous user
Template:Item infobox: Difference between revisions
no edit summary
imported>Ttv pedro270707 mNo edit summary |
imported>Denatidum No edit summary |
||
(30 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div style="float:right; margin-left: 20px;"> | <includeonly><div style="float:right; margin-left: 20px;"> | ||
<div class="infobox out"> | <div class="infobox out"> | ||
<span class="shadow c- | <span class="shadow c-0">{{{title|{{PAGENAME}}}}}</span> | ||
</div> | </div> | ||
{{#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|}}} | {{Inventory slot|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> | ||
Line 46: | Line 58: | ||
<tr> | <tr> | ||
<th>Restores</th> | <th>Restores</th> | ||
<td>{{ | <td>{{hp|{{{restores|}}}}}</td> | ||
</tr> | </tr> | ||
| }} | | }} |