Difference between revisions of "Template:Block"
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!
m |
|||
Line 13: | Line 13: | ||
{{#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: {{{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: {{{renewable|}}} | <tr class="infobox-item" data-source="renewable"><th class="infobox-label">Renewable:</th><td class="infobox-value">{{{renewable}}}</td></tr>}} | {{#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>}} | + | {{#if: {{{id|}}} | <tr class="infobox-item" data-source="id"><th class="infobox-label">Identifier{{#if: {{{id2|}}}|s}}:</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> | </table> | ||
</div><noinclude> | </div><noinclude> |
Revision as of 11:23, 3 January 2022
Adds a table that provides a brief summary about a block's stats.
Usage
{{Object |image= |name= |type= |mine with= |drops= |stackable= |flammable= |physics= |backdrop= |found naturally= |renewable= |id= |id2= |id3= |id4= |id5= |id6= }}