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 2: | Line 2: | ||
{{#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>}} | ||
− | {{#if: {{{type|}}} | <div class="infobox-item" data-source="type"><h3 class="infobox-label">Type:</ | + | {{#if: {{{type|}}} | <div class="infobox-item" data-source="type"><h3 class="infobox-label">Type:</h3><div class="infobox-value">{{{type}}}</div></div>}} |
− | {{#if: {{{durability|}}} | <div class="infobox-item" data-source="durability"><h3 class="infobox-label">Durability:</ | + | {{#if: {{{durability|}}} | <div class="infobox-item" data-source="durability"><h3 class="infobox-label">Durability:</h3><div class="infobox-value">{{{durability}}}</div></div>}} |
− | {{#if: {{{mine with|}}} | <div class="infobox-item" data-source="mine-with"><h3 class="infobox-label">Mine with:</ | + | {{#if: {{{mine with|}}} | <div class="infobox-item" data-source="mine-with"><h3 class="infobox-label">Mine with:</h3><div class="infobox-value">{{{mine with}}}</div></div>}} |
− | {{#if: {{{heals|}}} | <div class="infobox-item" data-source="heals"><h3 class="infobox-label">Heals:</ | + | {{#if: {{{heals|}}} | <div class="infobox-item" data-source="heals"><h3 class="infobox-label">Heals:</h3><div class="infobox-value">{{{heals}}}</div></div>}} |
− | {{#if: {{{effects|}}} | <div class="infobox-item" data-source="effects"><h3 class="infobox-label">[[Effects]]:</ | + | {{#if: {{{effects|}}} | <div class="infobox-item" data-source="effects"><h3 class="infobox-label">[[Effects]]:</h3><div class="infobox-value">{{{effects}}}</div></div>}} |
− | {{#if: {{{restores|}}} | <div class="infobox-item" data-source="restores"><h3 class="infobox-label">[[Food|Restores]]:</ | + | {{#if: {{{restores|}}} | <div class="infobox-item" data-source="restores"><h3 class="infobox-label">[[Food|Restores]]:</h3><div class="infobox-value">{{{restores}}}</div></div>}} |
− | {{#if: {{{drops|}}} | <div class="infobox-item" data-source="drops"><h3 class="infobox-label">Drops:</ | + | {{#if: {{{drops|}}} | <div class="infobox-item" data-source="drops"><h3 class="infobox-label">Drops:</h3><div class="infobox-value">{{{drops}}}</div></div>}} |
− | {{#if: {{{rare drops|}}} | <div class="infobox-item" data-source="rare-drops"><h3 class="infobox-label">Rare drops:</ | + | {{#if: {{{rare drops|}}} | <div class="infobox-item" data-source="rare-drops"><h3 class="infobox-label">Rare drops:</h3><div class="infobox-value">{{{rare drops}}}</div></div>}} |
− | {{#if: {{{stackable|}}} | <div class="infobox-item" data-source="stackable"><h3 class="infobox-label">Stackable:</ | + | {{#if: {{{stackable|}}} | <div class="infobox-item" data-source="stackable"><h3 class="infobox-label">Stackable:</h3><div class="infobox-value">{{{stackable}}}</div></div>}} |
− | {{#if: {{{flammable|}}} | <div class="infobox-item" data-source="flammable"><h3 class="infobox-label">Flammable:</ | + | {{#if: {{{flammable|}}} | <div class="infobox-item" data-source="flammable"><h3 class="infobox-label">Flammable:</h3><div class="infobox-value">{{{flammable}}}</div></div>}} |
− | {{#if: {{{physics|}}} | <div class="infobox-item" data-source="physics"><h3 class="infobox-label">Physics:</ | + | {{#if: {{{physics|}}} | <div class="infobox-item" data-source="physics"><h3 class="infobox-label">Physics:</h3><div class="infobox-value">{{{physics}}}</div></div>}} |
− | {{#if: {{{backdrop|}}} | <div class="infobox-item" data-source="backdrop"><h3 class="infobox-label">[[Backdrops|Backdrop]]:</ | + | {{#if: {{{backdrop|}}} | <div class="infobox-item" data-source="backdrop"><h3 class="infobox-label">[[Backdrops|Backdrop]]:</h3><div class="infobox-value">{{{backdrop}}}</div></div>}} |
− | {{#if: {{{found naturally|}}} | <div class="infobox-item" data-source="found-naturally"><h3 class="infobox-label">Found naturally:</ | + | {{#if: {{{found naturally|}}} | <div class="infobox-item" data-source="found-naturally"><h3 class="infobox-label">Found naturally:</h3><div class="infobox-value">{{{found naturally}}}</div></div>}} |
− | {{#if: {{{renewable|}}} | <div class="infobox-item" data-source="renewable"><h3 class="infobox-label">Renewable:</ | + | {{#if: {{{renewable|}}} | <div class="infobox-item" data-source="renewable"><h3 class="infobox-label">Renewable:</h3><div class="infobox-value">{{{renewable}}}</div></div>}} |
− | {{#if: {{{id|}}} | <div class="infobox-item" data-source="id"><h3 class="infobox-label">Identifier:</ | + | {{#if: {{{id|}}} | <div class="infobox-item" data-source="id"><h3 class="infobox-label">Identifier:</h3><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><noinclude> | </div><noinclude> | ||
{{Clear}} | {{Clear}} |
Revision as of 17:19, 28 November 2021
[[image:{{{image}}}|256px|class=pixel]]
|
Usage
{{Object |image= |name= |type= |durability= |mine with= |heals= |effects= |restores= |drops= |rare drops= |stackable= |flammable= |physics= |backdrop= |found naturally= |renewable= |id= }}