Difference between revisions of "Template:Object"

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!

 
m
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<table cellpadding=5 width=300 style="border:solid 2pt;float:right;margin:10px">
+
<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></td></tr>
 
<tr bgcolor=#55AAEE><td height=40 valign=bottom><center><font size=5 color=#000055>{{{name}}}</font></center></td></tr>
  
<tr bgcolor=#999999><td height=200 valign=top><center>
+
<tr bgcolor=#EEEEEE><td height=200 valign=top><center>
  
[[image:{{{image}}}|128px]]
+
[[image:{{{image}}}|256px|class=pixel]]
  
 
<p></p>
 
<p></p>
  
 
<table bgcolor=#DDE4E4 width=100%>
 
<table bgcolor=#DDE4E4 width=100%>
<tr><td>'''Name:'''</td><td>'''{{{name}}}'''</td></tr>
+
<tr><td width=100px>'''Name:'''</td><td>'''{{{name}}}'''</td></tr>
 
<tr><td>'''Type:'''</td><td>'''{{{type}}}'''</td></tr>
 
<tr><td>'''Type:'''</td><td>'''{{{type}}}'''</td></tr>
 
{{#if: {{{durability|}}} | <tr><td>'''Durability:'''</td><td>'''{{{durability}}}'''</td></tr>}}
 
{{#if: {{{durability|}}} | <tr><td>'''Durability:'''</td><td>'''{{{durability}}}'''</td></tr>}}
 
{{#if: {{{mine with|}}} | <tr><td>'''Mine with:'''</td><td>'''{{{mine with}}}'''</td></tr>}}
 
{{#if: {{{mine with|}}} | <tr><td>'''Mine with:'''</td><td>'''{{{mine with}}}'''</td></tr>}}
 
{{#if: {{{heals|}}} | <tr><td>'''Heals:'''</td><td>'''{{{heals}}}'''</td></tr>}}
 
{{#if: {{{heals|}}} | <tr><td>'''Heals:'''</td><td>'''{{{heals}}}'''</td></tr>}}
{{#if: {{{poison|}}} | <tr><td>'''Poison:'''</td><td>'''{{{poison}}}'''</td></tr>}}
+
{{#if: {{{effects|}}} | <tr><td>'''[[Effects]]:'''</td><td>'''{{{effects}}}'''</td></tr>}}
 +
{{#if: {{{restores|}}} | <tr><td>'''[[Food|Restores]]:'''</td><td>'''{{{restores}}}'''</td></tr>}}
 +
{{#if: {{{drops|}}} | <tr><td>'''Drops:'''</td><td>'''{{{drops}}}'''</td></tr>}}
 +
{{#if: {{{rare drops|}}} | <tr><td>'''Rare drops:'''</td><td>'''{{{rare drops}}}'''</td></tr>}}
 
{{#if: {{{stackable|}}} | <tr><td>'''Stackable:'''</td><td>'''{{{stackable}}}'''</td></tr>}}
 
{{#if: {{{stackable|}}} | <tr><td>'''Stackable:'''</td><td>'''{{{stackable}}}'''</td></tr>}}
 +
{{#if: {{{flammable|}}} | <tr><td>'''Flammable:'''</td><td>'''{{{flammable}}}'''</td></tr>}}
 
{{#if: {{{physics|}}} | <tr><td>'''Physics:'''</td><td>'''{{{physics}}}'''</td></tr>}}
 
{{#if: {{{physics|}}} | <tr><td>'''Physics:'''</td><td>'''{{{physics}}}'''</td></tr>}}
 +
{{#if: {{{backdrop|}}} | <tr><td>'''[[Backdrops|Backdrop]]:'''</td><td>'''{{{backdrop}}}'''</td></tr>}}
 
{{#if: {{{found naturally|}}} | <tr><td>'''Found naturally:'''</td><td>'''{{{found naturally}}}'''</td></tr>}}
 
{{#if: {{{found naturally|}}} | <tr><td>'''Found naturally:'''</td><td>'''{{{found naturally}}}'''</td></tr>}}
 
{{#if: {{{renewable|}}} | <tr><td>'''Renewable:'''</td><td>'''{{{renewable}}}'''</td></tr>}}
 
{{#if: {{{renewable|}}} | <tr><td>'''Renewable:'''</td><td>'''{{{renewable}}}'''</td></tr>}}
 +
{{#if: {{{id|}}} | <tr><td>'''Identifier:'''</td><td>'''<code>{{{id}}}</code>'''</td></tr>}}
 
</table>
 
</table>
  
</center></td></tr></table>
+
</center></td></tr></table><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>

Revision as of 10:33, 17 May 2020

{{{name}}}

[[image:{{{image}}}|256px|class=pixel]]








Name:{{{name}}}
Type:{{{type}}}

Usage

{{Object
|image=
|name=
|type=
|durability=
|mine with=
|heals=
|effects=
|restores=
|drops=
|rare drops=
|stackable=
|flammable=
|physics=
|backdrop=
|found naturally=
|renewable=
|id=
}}