Template:InfoboxBlock: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<div class="infobox"> | <div class="infobox"> | ||
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div> | <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div> | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}]]</div> | <div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}]]</div> | ||
}} | }} | ||
{{#if:{{{item|}}}|<div class="infobox-items"><div class="infobox-item-row><div class="item-slot">[[File:{{PAGENAME:{{{item}}}}}|link={{#if:{{{ | {{#if:{{{item|}}}|<div class="infobox-items"><div class="infobox-item-row><div class="item-slot">[[File:{{PAGENAME:{{{item}}}}}|link={{#if:{{{itemlink|}}}|{{PAGENAME:{{{itemlink}}}}}}}]]{{#if:{{{itemtooltip|}}}|<span class="item-tooltip">{{{itemtooltip}}}</span>}}</div>{{#if:{{{item2|}}}|<div class="item-slot">[[File:{{PAGENAME:{{{item2}}}}}|link={{#if:{{{itemlink2|}}}|{{PAGENAME:{{{itemlink2}}}}}}}]]{{#if:{{{itemtooltip2|}}}|<span class="item-tooltip">{{{itemtooltip2}}}</span>}}</div>}}{{#if:{{{item3|}}}|<div class="item-slot">[[File:{{PAGENAME:{{{item3}}}}}|link={{#if:{{{itemlink3|}}}|{{PAGENAME:{{{itemlink3}}}}}}}]]{{#if:{{{itemtooltip3|}}}|<span class="item-tooltip">{{{itemtooltip3}}}</span>}}</div>}}{{#if:{{{item4|}}}|<div class="item-slot">[[File:{{PAGENAME:{{{item4}}}}}|link={{#if:{{{itemlink4|}}}|{{PAGENAME:{{{itemlink4}}}}}}}]]{{#if:{{{itemtooltip4|}}}|<span class="item-tooltip">{{{itemtooltip4}}}</span>}}</div>}}</div>{{#if:{{{item5|}}}|<div class="infobox-item-row><div class="item-slot">[[File:{{PAGENAME:{{{item5}}}}}|link={{#if:{{{itemlink5|}}}|{{PAGENAME:{{{itemlink5}}}}}}}]]{{#if:{{{itemtooltip5|}}}|<span class="item-tooltip">{{{itemtooltip5}}}</span>}}</div>{{#if:{{{item6|}}}|<div class="item-slot">[[File:{{PAGENAME:{{{item6}}}}}|link={{#if:{{{itemlink6|}}}|{{PAGENAME:{{{itemlink6}}}}}}}]]{{#if:{{{itemtooltip6|}}}|<span class="item-tooltip">{{{itemtooltip6}}}</span>}}</div>}}{{#if:{{{item7|}}}|<div class="item-slot">[[File:{{PAGENAME:{{{item7}}}}}|link={{#if:{{{itemlink7|}}}|{{PAGENAME:{{{itemlink7}}}}}}}]]{{#if:{{{itemtooltip7|}}}|<span class="item-tooltip">{{{itemtooltip7}}}</span>}}</div>}}{{#if:{{{item8|}}}|<div class="item-slot">[[File:{{PAGENAME:{{{item8}}}}}|link={{#if:{{{itemlink8|}}}|{{PAGENAME:{{{itemlink8}}}}}}}]]{{#if:{{{itemtooltip8|}}}|<span class="item-tooltip">{{{itemtooltip8}}}</span>}}</div>}}</div> | ||
}}{{#if:{{{ | }}{{#if:{{{item9|}}}|<div class="infobox-item-row><div class="item-slot">[[File:{{PAGENAME:{{{item9}}}}}|link={{#if:{{{itemlink9|}}}|{{PAGENAME:{{{itemlink9}}}}}}}]]{{#if:{{{itemtooltip9|}}}|<span class="item-tooltip">{{{itemtooltip9}}}</span>}}</div>{{#if:{{{item10|}}}|<div class="item-slot">[[File:{{PAGENAME:{{{item10}}}}}|link={{#if:{{{itemlink10|}}}|{{PAGENAME:{{{itemlink10}}}}}}}]]{{#if:{{{itemtooltip10|}}}|<span class="item-tooltip">{{{itemtooltip10}}}</span>}}</div>}}{{#if:{{{item11|}}}|<div class="item-slot">[[File:{{PAGENAME:{{{item11}}}}}|link={{#if:{{{itemlink11|}}}|{{PAGENAME:{{{itemlink11}}}}}}}]]{{#if:{{{itemtooltip11|}}}|<span class="item-tooltip">{{{itemtooltip11}}}</span>}}</div>}}{{#if:{{{item12|}}}|<div class="item-slot">[[File:{{PAGENAME:{{{item12}}}}}|link={{#if:{{{itemlink12|}}}|{{PAGENAME:{{{itemlink12}}}}}}}]]{{#if:{{{itemtooltip12|}}}|<span class="item-tooltip">{{{itemtooltip12}}}</span>}}</div>}}</div>}}</div>}} | ||
<table class="infobox-table"> | <table class="infobox-table"> | ||
<tr> | <tr> | ||
<th>Stack Limit</th> | |||
<td>{{{stacklimit}}}</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th>Hardness</th> | |||
<td>{{{hardness}}}</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th>Blast Resistance</th> | |||
<td>{{{resistance}}}</td> | |||
</tr> | </tr> | ||
{{#if:{{{lightlevel|}}}| | {{#if:{{{lightlevel|}}}|<tr> | ||
<tr> | <th>Light Level</th> | ||
<td>{{{lightlevel}}}</td> | |||
</tr>}} | |||
</tr> | </table> | ||
}} | |||
</table> | |||
</div> | </div> |
Revision as of 18:24, 17 February 2023
InfoboxBlock
Stack Limit | {{{stacklimit}}} |
---|---|
Hardness | {{{hardness}}} |
Blast Resistance | {{{resistance}}} |