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!
(Tablet layout shouldn't have the TOC smh) |
|||
Line 1: | Line 1: | ||
<div class="infobox infobox-object" role="region"> | <div class="infobox infobox-object" role="region"> | ||
− | {{#if: {{{name|}}} | < | + | <table class="infobox-inner"> |
− | {{#if: {{{image|}}} | < | + | {{#if: {{{name|}}} | <tr class="infobox-title" data-source="name"><th>{{{name|}}}</th></tr>}} |
− | {{#if: {{{type|}}} | < | + | {{#if: {{{image|}}} | <tr class="infobox-image" data-source="image"><td>[[Image:{{{image}}}|center|150px|class=image-thumbnail pixel]]</td></tr>}} |
− | {{#if: {{{durability|}}} | < | + | {{#if: {{{type|}}} | <tr class="infobox-item" data-source="type"><th class="infobox-label">Type:</th><td class="infobox-value">{{{type}}}</td></tr>}} |
− | {{#if: {{{mine with|}}} | < | + | {{#if: {{{durability|}}} | <tr class="infobox-item" data-source="durability"><th class="infobox-label">Durability:</th><td class="infobox-value">{{{durability}}}</td></tr>}} |
− | {{#if: {{{heals|}}} | < | + | {{#if: {{{mine with|}}} | <tr class="infobox-item" data-source="mine-with"><th class="infobox-label">Mine with:</th><td class="infobox-value">{{{mine with}}}</td></tr>}} |
− | {{#if: {{{effects|}}} | < | + | {{#if: {{{heals|}}} | <tr class="infobox-item" data-source="heals"><th class="infobox-label">Heals:</th><td class="infobox-value">{{{heals}}}</td></tr>}} |
− | {{#if: {{{restores|}}} | < | + | {{#if: {{{effects|}}} | <tr class="infobox-item" data-source="effects"><th class="infobox-label">[[Effects]]:</th><td class="infobox-value">{{{effects}}}</td></tr>}} |
− | {{#if: {{{drops|}}} | < | + | {{#if: {{{restores|}}} | <tr class="infobox-item" data-source="restores"><th class="infobox-label">[[Food|Restores]]:</th><td class="infobox-value">{{{restores}}}</td></tr>}} |
− | {{#if: {{{rare drops|}}} | < | + | {{#if: {{{drops|}}} | <tr class="infobox-item" data-source="drops"><th class="infobox-label">Drops:</th><td class="infobox-value">{{{drops}}}</td></tr>}} |
− | {{#if: {{{stackable|}}} | < | + | {{#if: {{{rare drops|}}} | <tr class="infobox-item" data-source="rare-drops"><th class="infobox-label">Rare drops:</th><td class="infobox-value">{{{rare drops}}}</td></tr>}} |
− | {{#if: {{{flammable|}}} | < | + | {{#if: {{{stackable|}}} | <tr class="infobox-item" data-source="stackable"><th class="infobox-label">Stackable:</th><td class="infobox-value">{{{stackable}}}</td></tr>}} |
− | {{#if: {{{physics|}}} | < | + | {{#if: {{{flammable|}}} | <tr class="infobox-item" data-source="flammable"><th class="infobox-label">Flammable:</th><td class="infobox-value">{{{flammable}}}</td></tr>}} |
− | {{#if: {{{backdrop|}}} | < | + | {{#if: {{{physics|}}} | <tr class="infobox-item" data-source="physics"><th class="infobox-label">Physics:</th><td class="infobox-value">{{{physics}}}</td></tr>}} |
− | {{#if: {{{found naturally|}}} | < | + | {{#if: {{{backdrop|}}} | <tr class="infobox-item" data-source="backdrop"><th class="infobox-label">[[Backdrops|Backdrop]]:</th><td class="infobox-value">{{{backdrop}}}</td></tr>}} |
− | {{#if: {{{renewable|}}} | < | + | {{#if: {{{found naturally|}}} | <tr class="infobox-item" data-source="found-naturally"><th class="infobox-label">Found naturally:</th><td class="infobox-value">{{{found naturally}}}</td></tr>}} |
− | {{#if: {{{id|}}} | < | + | {{#if: {{{renewable|}}} | <tr class="infobox-item" data-source="renewable"><th class="infobox-label">Renewable:</th><td class="infobox-value">{{{renewable}}}</td></tr>}} |
+ | {{#if: {{{id|}}} | <tr class="infobox-item" data-source="id"><th class="infobox-label">Identifier:</th><td 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></td>}}</tr>}} | ||
+ | </table> | ||
</div><noinclude> | </div><noinclude> | ||
==Usage== | ==Usage== |
Revision as of 19:14, 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= }}