Difference between revisions of "Mine Blocks Wiki:Sandbox/Infobox"
Jump to navigation
Jump to search
If you find a typo, inconsistency, or error, please sign up and help out the wiki! We can't do it without your help! :D Thank you!
Line 1: | Line 1: | ||
<div class="infobox infobox-object" role="region"> | <div class="infobox infobox-object" role="region"> | ||
+ | <div class="infobox-inner"> | ||
{{#if: {{{name|}}} | <h2 class="infobox-title" data-source="name">{{{name|}}}</h2>}} | {{#if: {{{name|}}} | <h2 class="infobox-title" data-source="name">{{{name|}}}</h2>}} | ||
{{#if: {{{image|}}} | <div class="infobox-image" data-source="image">[[Image:{{{image}}}|center|150px|class=image-thumbnail pixel]]</div>}} | {{#if: {{{image|}}} | <div class="infobox-image" data-source="image">[[Image:{{{image}}}|center|150px|class=image-thumbnail pixel]]</div>}} | ||
Line 17: | Line 18: | ||
{{#if: {{{renewable|}}} | <div class="infobox-item" data-source="renewable"><div class="infobox-label">Renewable:</div><div class="infobox-value">{{{renewable}}}</div></div>}} | {{#if: {{{renewable|}}} | <div class="infobox-item" data-source="renewable"><div class="infobox-label">Renewable:</div><div class="infobox-value">{{{renewable}}}</div></div>}} | ||
{{#if: {{{id|}}} | <div class="infobox-item" data-source="id"><div class="infobox-label">Identifier:</div><div class="infobox-value"><code>{{{id}}}</code>{{#if: {{{id2|}}} | <br><code>{{{id2|}}}</code>}}{{#if: {{{id3|}}} | <br><code>{{{id3|}}}</code>}}{{#if: {{{id4|}}} | <br><code>{{{id4|}}}</code>}}{{#if: {{{id5|}}} | <br><code>{{{id5|}}}</code>}}{{#if: {{{id6|}}} | <br><code>{{{id6|}}}</code>}}</div></div>}} | {{#if: {{{id|}}} | <div class="infobox-item" data-source="id"><div class="infobox-label">Identifier:</div><div class="infobox-value"><code>{{{id}}}</code>{{#if: {{{id2|}}} | <br><code>{{{id2|}}}</code>}}{{#if: {{{id3|}}} | <br><code>{{{id3|}}}</code>}}{{#if: {{{id4|}}} | <br><code>{{{id4|}}}</code>}}{{#if: {{{id5|}}} | <br><code>{{{id5|}}}</code>}}{{#if: {{{id6|}}} | <br><code>{{{id6|}}}</code>}}</div></div>}} | ||
+ | </div> | ||
</div><noinclude> | </div><noinclude> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Usage== | ==Usage== | ||
<pre><nowiki> | <pre><nowiki> |
Revision as of 17:37, 28 November 2021
Usage
{{Object |image= |name= |type= |durability= |mine with= |heals= |effects= |restores= |drops= |rare drops= |stackable= |flammable= |physics= |backdrop= |found naturally= |renewable= |id= }}