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!
(6 intermediate revisions by the same user not shown) | |||
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" data-delay-ms="2000" 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">[[File:{{{image1|Invisible-sprite.png}}}|center|150px|class=image-thumbnail pixel]]</span>}}{{#if: {{{image2|}}} | <span class="ts-slide">[[File:{{{image2|Invisible-sprite.png}}}|center|150px|class=image-thumbnail pixel]]</span>}}{{#if: {{{image3|}}} | <span class="ts-slide">[[File:{{{image3|Invisible-sprite.png}}}|center|150px|class=image-thumbnail pixel]]</span>}}{{#if: {{{image4|}}} | <span class="ts-slide">[[File:{{{image4|Invisible-sprite.png}}}|center|150px|class=image-thumbnail pixel]]</span>}}{{#if: {{{image5|}}} | <span class="ts-slide">[[File:{{{image5|Invisible-sprite.png}}}|center|150px|class=image-thumbnail pixel]]</span>}}{{#if: {{{image6|}}} | <span class="ts-slide">[[File:{{{image6|Invisible-sprite.png}}}|center|150px|class=image-thumbnail pixel]]</span>}}{{#if: {{{image7|}}} | <span class="ts-slide">[[File:{{{image7|Invisible-sprite.png}}}|center|150px|class=image-thumbnail pixel]]</span>}}{{#if: {{{image8|}}} | <span class="ts-slide">[[File:{{{image8|Invisible-sprite.png}}}|center|150px|class=image-thumbnail pixel]]</span>}}{{#if: {{{image9|}}} | <span class="ts-slide">[[File:{{{image9|Invisible-sprite.png}}}|center|150px|class=image-thumbnail pixel]]</span>}}{{#if: {{{image10|}}} | <span class="ts-slide">[[File:{{{image10|Invisible-sprite.png}}}|center|150px|class=image-thumbnail pixel]]</span>}}{{#if: {{{image11|}}} | <span class="ts-slide">[[File:{{{image11|Invisible-sprite.png}}}|center|150px|class=image-thumbnail pixel]]</span>}}{{#if: {{{image12|}}} | <span class="ts-slide">[[File:{{{image12|Invisible-sprite.png}}}|center|150px|class=image-thumbnail pixel]]</span>}}{{#if: {{{image13|}}} | <span class="ts-slide">[[File:{{{image13|Invisible-sprite.png}}}|center|150px|class=image-thumbnail pixel]]</span>}}{{#if: {{{image14|}}} | <span class="ts-slide">[[File:{{{image14|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: {{{image1|}}} || <span class="ts-slide ts-active">[[Image:{{{image|{{BASEPAGENAME}}}}} | ||
− | {{#if: {{{image1|}}} | <span class="ts-slide">[[File:{{{image1|Invisible-sprite}}} | ||
− | {{#if: {{{image2|}}} | <span class="ts-slide">[[File:{{{image2|Invisible-sprite}}} | ||
− | {{#if: {{{image3|}}} | <span class="ts-slide">[[File:{{{image3|Invisible-sprite}}} | ||
− | {{#if: {{{image4|}}} | <span class="ts-slide">[[File:{{{image4|Invisible-sprite}}} | ||
− | {{#if: {{{image5|}}} | <span class="ts-slide">[[File:{{{image5|Invisible-sprite}}} | ||
− | {{#if: {{{image6|}}} | <span class="ts-slide">[[File:{{{image6|Invisible-sprite}}} | ||
− | {{#if: {{{image7|}}} | <span class="ts-slide">[[File:{{{image7|Invisible-sprite}}} | ||
− | {{#if: {{{image8|}}} | <span class="ts-slide">[[File:{{{image8|Invisible-sprite}}} | ||
− | {{#if: {{{image9|}}} | <span class="ts-slide">[[File:{{{image9|Invisible-sprite}}} | ||
− | {{#if: {{{image10|}}} | <span class="ts-slide">[[File:{{{image10|Invisible-sprite}}} | ||
− | {{#if: {{{image11|}}} | <span class="ts-slide">[[File:{{{image11|Invisible-sprite}}} | ||
− | {{#if: {{{image12|}}} | <span class="ts-slide">[[File:{{{image12|Invisible-sprite}}} | ||
− | {{#if: {{{image13|}}} | <span class="ts-slide">[[File:{{{image13|Invisible-sprite}}} | ||
− | {{#if: {{{image14|}}} | <span class="ts-slide">[[File:{{{image14|Invisible-sprite}}} | ||
− | {{#if: {{{image15|}}} | <span class="ts-slide">[[File:{{{image15|Invisible-sprite}}} | ||
− | {{#if: {{{image16|}}} | <span class="ts-slide">[[File:{{{image16|Invisible-sprite}}} | ||
− | |||
</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>}} | ||
Line 42: | Line 24: | ||
<nowiki> | <nowiki> | ||
{{Block | {{Block | ||
− | |image= | + | | image = |
− | |name= | + | | imageN = |
− | |type= | + | | name = |
− | |mine with= | + | | type = |
− | |drops= | + | | mine with = |
− | |stackable= | + | | drops = |
− | |flammable= | + | | stackable = |
− | |physics= | + | | flammable = |
− | |backdrop= | + | | physics = |
− | |found naturally= | + | | backdrop = |
− | |renewable= | + | | found naturally = |
− | |id= | + | | renewable = |
− | | | + | | id = |
− | + | | idN = | |
− | |||
− | |||
− | |||
}} | }} | ||
</nowiki> | </nowiki> | ||
</pre> | </pre> | ||
+ | |||
+ | N = A number | ||
</noinclude> | </noinclude> |
Latest revision as of 09:25, 7 July 2022
Block | |
---|---|
Adds a table that provides a brief summary about a block's stats.
Usage
{{Block | image = | imageN = | name = | type = | mine with = | drops = | stackable = | flammable = | physics = | backdrop = | found naturally = | renewable = | id = | idN = }}
N = A number