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
 
(12 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]])}}
{{#if: {{{name|}}} | <h2 class="infobox-title" data-source="name">{{{name|}}}</h2>}}
 
{{#if: {{{image|}}} | <div class="infobox-image" data-source="image">[[Image:{{{image}}}|center|150px|class=image-thumbnail pixel]]</div>}}
 
{{#if: {{{type|}}} | <div class="infobox-item" data-source="type"><h3 class="infobox-label">Type:</div><div class="infobox-value">{{{type}}}</div></div>}}
 
{{#if: {{{durability|}}} | <div class="infobox-item" data-source="durability"><h3 class="infobox-label">Durability:</div><div class="infobox-value">{{{durability}}}</div></div>}}
 
{{#if: {{{mine with|}}} | <div class="infobox-item" data-source="mine-with"><h3 class="infobox-label">Mine with:</div><div class="infobox-value">{{{mine with}}}</div></div>}}
 
{{#if: {{{heals|}}} | <div class="infobox-item" data-source="heals"><h3 class="infobox-label">Heals:</div><div class="infobox-value">{{{heals}}}</div></div>}}
 
{{#if: {{{effects|}}} | <div class="infobox-item" data-source="effects"><h3 class="infobox-label">[[Effects]]:</div><div class="infobox-value">{{{effects}}}</div></div>}}
 
{{#if: {{{restores|}}} | <div class="infobox-item" data-source="restores"><h3 class="infobox-label">[[Food|Restores]]:</div><div class="infobox-value">{{{restores}}}</div></div>}}
 
{{#if: {{{drops|}}} | <div class="infobox-item" data-source="drops"><h3 class="infobox-label">Drops:</div><div class="infobox-value">{{{drops}}}</div></div>}}
 
{{#if: {{{rare drops|}}} | <div class="infobox-item" data-source="rare-drops"><h3 class="infobox-label">Rare drops:</div><div class="infobox-value">{{{rare drops}}}</div></div>}}
 
{{#if: {{{stackable|}}} | <div class="infobox-item" data-source="stackable"><h3 class="infobox-label">Stackable:</div><div class="infobox-value">{{{stackable}}}</div></div>}}
 
{{#if: {{{flammable|}}} | <div class="infobox-item" data-source="flammable"><h3 class="infobox-label">Flammable:</div><div class="infobox-value">{{{flammable}}}</div></div>}}
 
{{#if: {{{physics|}}} | <div class="infobox-item" data-source="physics"><h3 class="infobox-label">Physics:</div><div class="infobox-value">{{{physics}}}</div></div>}}
 
{{#if: {{{backdrop|}}} | <div class="infobox-item" data-source="backdrop"><h3 class="infobox-label">[[Backdrops|Backdrop]]:</div><div class="infobox-value">{{{backdrop}}}</div></div>}}
 
{{#if: {{{found naturally|}}} | <div class="infobox-item" data-source="found-naturally"><h3 class="infobox-label">Found naturally:</div><div class="infobox-value">{{{found naturally}}}</div></div>}}
 
{{#if: {{{renewable|}}} | <div class="infobox-item" data-source="renewable"><h3 class="infobox-label">Renewable:</div><div class="infobox-value">{{{renewable}}}</div></div>}}
 
{{#if: {{{id|}}} | <div class="infobox-item" data-source="id"><h3 class="infobox-label">Identifier:</div><div 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>}}</div></div>}}
 
</div><noinclude>
 
{{Clear}}
 
----
 
 
 
<table cellpadding=5 width=350 style="border: solid 2pt; float: right; margin:10px" class="infobox">
 
 
 
<tr bgcolor=#55AAEE><td height=40 valign=bottom><center><font size=5 color=#000055>{{{name}}}</font></center>
 
 
 
<tr bgcolor=#EEEEEE><td height=200 valign=top><center>
 
 
 
[[image:{{{image}}}|256px|class=pixel]]
 
 
 
<p></p>
 
 
 
<table bgcolor=#DDE4E4 width=100%>
 
<tr><td width=100px></div></div>Name:</div></div></div></div>{{{name}}}</div></div>
 
</div></div>Type:</div></div></div></div>{{{type}}}</div></div>
 
{{#if: {{{durability|}}} | </div></div>Durability:</div></div></div></div>{{{durability}}}</div></div>}}
 
{{#if: {{{mine with|}}} | </div></div>Mine with:</div></div></div></div>{{{mine with}}}</div></div>}}
 
{{#if: {{{heals|}}} | </div></div>Heals:</div></div></div></div>{{{heals}}}</div></div>}}
 
{{#if: {{{effects|}}} | </div></div>[[Effects]]:</div></div></div></div>{{{effects}}}</div></div>}}
 
{{#if: {{{restores|}}} | </div></div>[[Food|Restores]]:</div></div></div></div>{{{restores}}}</div></div>}}
 
{{#if: {{{drops|}}} | </div></div>Drops:</div></div></div></div>{{{drops}}}</div></div>}}
 
{{#if: {{{rare drops|}}} | </div></div>Rare drops:</div></div></div></div>{{{rare drops}}}</div></div>}}
 
{{#if: {{{stackable|}}} | </div></div>Stackable:</div></div></div></div>{{{stackable}}}</div></div>}}
 
{{#if: {{{flammable|}}} | </div></div>Flammable:</div></div></div></div>{{{flammable}}}</div></div>}}
 
{{#if: {{{physics|}}} | </div></div>Physics:</div></div></div></div>{{{physics}}}</div></div>}}
 
{{#if: {{{backdrop|}}} | </div></div>[[Backdrops|Backdrop]]:</div></div></div></div>{{{backdrop}}}</div></div>}}
 
{{#if: {{{found naturally|}}} | </div></div>Found naturally:</div></div></div></div>{{{found naturally}}}</div></div>}}
 
{{#if: {{{renewable|}}} | </div></div>Renewable:</div></div></div></div>{{{renewable}}}</div></div>}}
 
{{#if: {{{id|}}} | </div></div>Identifier:</div></div></div></div><code>{{{id}}}</code></div></div>}}
 
</table>
 
 
 
</center></table>
 
 
 
==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.