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!
Line 2: | Line 2: | ||
<table class="infobox-inner"> | <table class="infobox-inner"> | ||
<tr class="infobox-title" data-source="name"><th colspan="2">{{{name|{{BASEPAGENAME}}}}}</th></tr> | <tr class="infobox-title" data-source="name"><th colspan="2">{{{name|{{BASEPAGENAME}}}}}</th></tr> | ||
− | <tr class="infobox-image" data-source="image"><td | + | <tr class="infobox-image" data-source="image"><td class="ts-container" colspan="2"> |
− | |||
{{#if: {{{image1|}}} || <span class="ts-slide ts-active">[[Image:{{{image|{{BASEPAGENAME}}}}}.png|center|150px|class=image-thumbnail pixel]]</span>}} | {{#if: {{{image1|}}} || <span class="ts-slide ts-active">[[Image:{{{image|{{BASEPAGENAME}}}}}.png|center|150px|class=image-thumbnail pixel]]</span>}} | ||
{{#if: {{{image1|}}} | <span class="ts-slide">[[File:{{{image1|Invisible-sprite}}}.png|center|150px|class=image-thumbnail pixel]]</span>}} | {{#if: {{{image1|}}} | <span class="ts-slide">[[File:{{{image1|Invisible-sprite}}}.png|center|150px|class=image-thumbnail pixel]]</span>}} | ||
Line 21: | Line 20: | ||
{{#if: {{{image15|}}} | <span class="ts-slide">[[File:{{{image15|Invisible-sprite}}}.png|center|150px|class=image-thumbnail pixel]]</span>}} | {{#if: {{{image15|}}} | <span class="ts-slide">[[File:{{{image15|Invisible-sprite}}}.png|center|150px|class=image-thumbnail pixel]]</span>}} | ||
{{#if: {{{image16|}}} | <span class="ts-slide">[[File:{{{image16|Invisible-sprite}}}.png|center|150px|class=image-thumbnail pixel]]</span>}} | {{#if: {{{image16|}}} | <span class="ts-slide">[[File:{{{image16|Invisible-sprite}}}.png|center|150px|class=image-thumbnail pixel]]</span>}} | ||
− | |||
</td></tr> | </td></tr> | ||
{{#if: {{{type|}}} | <tr class="infobox-item" data-source="type"><th class="infobox-label">Type:</th><td class="infobox-value">{{{type}}}</td></tr>}} | {{#if: {{{type|}}} | <tr class="infobox-item" data-source="type"><th class="infobox-label">Type:</th><td class="infobox-value">{{{type}}}</td></tr>}} |
Revision as of 17:09, 4 January 2022
Block | |
---|---|
|
Adds a table that provides a brief summary about a block's stats.
Usage
{{Block |image= |name= |type= |mine with= |drops= |stackable= |flammable= |physics= |backdrop= |found naturally= |renewable= |id= |id2= |id3= |id4= |id5= |id6= }}