Difference between revisions of "Mine Blocks Wiki:Sandbox/Infobox"

From Mine Blocks Wiki
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!

(Replaced content with "{{Delete|Moved contents to actual template pages (such as Template:Block)}}")
Tag: Replaced
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox infobox-object" role="region">
+
{{Delete|Moved contents to actual template pages (such as [[Template:Block]])}}
<table class="infobox-inner">
 
{{#if: {{{name|}}} | <tr><th><h2 class="infobox-title" data-source="name">{{{name|}}}</h2></tr></th>}}
 
{{#if: {{{image|}}} | <tr><td><div class="infobox-image" data-source="image">[[Image:{{{image}}}|center|150px|class=image-thumbnail pixel]]</div></tr></td>}}
 
{{#if: {{{type|}}} | <tr class="infobox-item" data-source="type"><th class="infobox-label">Type:</th><td class="infobox-value">{{{type}}}</td></tr>}}
 
{{#if: {{{durability|}}} | <tr class="infobox-item" data-source="durability"><th class="infobox-label">Durability:</th><td class="infobox-value">{{{durability}}}</td></tr>}}
 
{{#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: {{{heals|}}} | <tr class="infobox-item" data-source="heals"><th class="infobox-label">Heals:</th><td class="infobox-value">{{{heals}}}</td></tr>}}
 
{{#if: {{{effects|}}} | <tr class="infobox-item" data-source="effects"><th class="infobox-label">[[Effects]]:</th><td class="infobox-value">{{{effects}}}</td></tr>}}
 
{{#if: {{{restores|}}} | <tr class="infobox-item" data-source="restores"><th class="infobox-label">[[Food|Restores]]:</th><td class="infobox-value">{{{restores}}}</td></tr>}}
 
{{#if: {{{drops|}}} | <tr class="infobox-item" data-source="drops"><th class="infobox-label">Drops:</th><td class="infobox-value">{{{drops}}}</td></tr>}}
 
{{#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: {{{stackable|}}} | <tr class="infobox-item" data-source="stackable"><th class="infobox-label">Stackable:</th><td class="infobox-value">{{{stackable}}}</td></tr>}}
 
{{#if: {{{flammable|}}} | <tr class="infobox-item" data-source="flammable"><th class="infobox-label">Flammable:</th><td class="infobox-value">{{{flammable}}}</td></tr>}}
 
{{#if: {{{physics|}}} | <tr class="infobox-item" data-source="physics"><th class="infobox-label">Physics:</th><td class="infobox-value">{{{physics}}}</td></tr>}}
 
{{#if: {{{backdrop|}}} | <tr class="infobox-item" data-source="backdrop"><th class="infobox-label">[[Backdrops|Backdrop]]:</th><td class="infobox-value">{{{backdrop}}}</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: {{{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>
 
==Usage==
 
<pre><nowiki>
 
{{Object
 
|image=
 
|name=
 
|type=
 
|durability=
 
|mine with=
 
|heals=
 
|effects=
 
|restores=
 
|drops=
 
|rare drops=
 
|stackable=
 
|flammable=
 
|physics=
 
|backdrop=
 
|found naturally=
 
|renewable=
 
|id=
 
}}
 
</nowiki></pre>
 
</noinclude>
 

Latest revision as of 08:51, 28 December 2021


This page is a candidate for deletion!

Reason: Moved contents to actual template pages (such as Template:Block). If you disagree with its deletion, please explain why at Category talk:Candidates for deletion or improve the page and remove the {{delete}} tag.

Remember to check what links here and the page history before deleting.