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"> | ||
− | + | {{#if: {{{name|}}} | <h2 class="infobox-title" data-source="name">{{{name|}}}</h2>}} | |
− | {{#if: {{{name|}}} | | + | {{#if: {{{image|}}} | <div class="infobox-image" data-source="image">[[Image:{{{image}}}|center|150px|class=image-thumbnail pixel]]</div>}} |
− | {{#if: {{{image|}}} | | + | {{#if: {{{type|}}} | <div class="infobox-item" data-source="type"><div class="infobox-label">Type:</div><div class="infobox-value">{{{type}}}</div></div>}} |
− | {{#if: {{{type|}}} | < | + | {{#if: {{{durability|}}} | <div class="infobox-item" data-source="durability"><div class="infobox-label">Durability:</div><div class="infobox-value">{{{durability}}}</div></div>}} |
− | {{#if: {{{durability|}}} | < | + | {{#if: {{{mine with|}}} | <div class="infobox-item" data-source="mine-with"><div class="infobox-label">Mine with:</div><div class="infobox-value">{{{mine with}}}</div></div>}} |
− | {{#if: {{{mine with|}}} | < | + | {{#if: {{{heals|}}} | <div class="infobox-item" data-source="heals"><div class="infobox-label">Heals:</div><div class="infobox-value">{{{heals}}}</div></div>}} |
− | {{#if: {{{heals|}}} | < | + | {{#if: {{{effects|}}} | <div class="infobox-item" data-source="effects"><div class="infobox-label">[[Effects]]:</div><div class="infobox-value">{{{effects}}}</div></div>}} |
− | {{#if: {{{effects|}}} | < | + | {{#if: {{{restores|}}} | <div class="infobox-item" data-source="restores"><div class="infobox-label">[[Food|Restores]]:</div><div class="infobox-value">{{{restores}}}</div></div>}} |
− | {{#if: {{{restores|}}} | < | + | {{#if: {{{drops|}}} | <div class="infobox-item" data-source="drops"><div class="infobox-label">Drops:</div><div class="infobox-value">{{{drops}}}</div></div>}} |
− | {{#if: {{{drops|}}} | < | + | {{#if: {{{rare drops|}}} | <div class="infobox-item" data-source="rare-drops"><div class="infobox-label">Rare drops:</div><div class="infobox-value">{{{rare drops}}}</div></div>}} |
− | {{#if: {{{rare drops|}}} | < | + | {{#if: {{{stackable|}}} | <div class="infobox-item" data-source="stackable"><div class="infobox-label">Stackable:</div><div class="infobox-value">{{{stackable}}}</div></div>}} |
− | {{#if: {{{stackable|}}} | < | + | {{#if: {{{flammable|}}} | <div class="infobox-item" data-source="flammable"><div class="infobox-label">Flammable:</div><div class="infobox-value">{{{flammable}}}</div></div>}} |
− | {{#if: {{{flammable|}}} | < | + | {{#if: {{{physics|}}} | <div class="infobox-item" data-source="physics"><div class="infobox-label">Physics:</div><div class="infobox-value">{{{physics}}}</div></div>}} |
− | {{#if: {{{physics|}}} | < | + | {{#if: {{{backdrop|}}} | <div class="infobox-item" data-source="backdrop"><div class="infobox-label">[[Backdrops|Backdrop]]:</div><div class="infobox-value">{{{backdrop}}}</div></div>}} |
− | {{#if: {{{backdrop|}}} | < | + | {{#if: {{{found naturally|}}} | <div class="infobox-item" data-source="found-naturally"><div class="infobox-label">Found naturally:</div><div class="infobox-value">{{{found naturally}}}</div></div>}} |
− | {{#if: {{{found naturally|}}} | < | + | {{#if: {{{renewable|}}} | <div class="infobox-item" data-source="renewable"><div class="infobox-label">Renewable:</div><div class="infobox-value">{{{renewable}}}</div></div>}} |
− | {{#if: {{{renewable|}}} | < | + | {{#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><noinclude> | </div><noinclude> | ||
==Usage== | ==Usage== |
Revision as of 18:56, 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= }}