Template:Block: Difference between revisions

From Voidscape
Jump to navigation Jump to search
m (stinky negative numbers)
No edit summary
 
(20 intermediate revisions by 2 users not shown)
Line 3: Line 3:


|-
|-
|colspan="2" style="background-color: #222" |{{{image|}}}
|colspan="2" style="background-color: #120E17;text-align:center"|[[Image:{{{image|Grid XX}}}.{{{imageext|png}}}|256px]]
 
|-
|-
!Tool
!Tool
|{{{tool|}}}
|{{{tool|N/A}}}
 
|-
|-
!Hardness
!Hardness
|{{{hardness|–1}}}
|{{{hardness|0}}}
 
|-
|-
!Blast Resistance
!Blast Resistance
|{{{blastres|}}}
|{{{blastres|0}}}
 
|-
!Transparency
|{{{transparent|No}}}
 
|-
|-
!Luminance
!Luminance
|{{{luminance|0}}}
|{{{luminance|0}}}
|-
!Renewable
|{{{renewable|}}}
|-
|-
!Stackable
!Stackable
|{{{stackable|}}}
|{{{stackable|No}}}
 
|-
|-
!Flammable
!Renewable
|{{{flammable|No}}}
|{{{renewable|No}}}
 
|-
|-
!ID
!ID
|{{{id|}}}
|{{{id|}}}
|}<noinclude>
|}<noinclude>
Template for creating pages on Items. By definition, a Block is an object that may be placed or broken in the world.


Usage:
Usage:
<pre>
<pre>
{{Block
{{Block
|name= (optional, defaults to the article's title)
|name=Optional (Defaults to the Page Title)
|image= (filelink)
|image=file name
|tool= (best tool for harvesting)
|imageext=(optional)
|hardness= (block hardness, defaults to -1 since negative values break tables)
|tool=Tool Type for harvesting (Defaults to N/A)
|blastres= (blast resistance)
|hardness=Block Hardness (Defaults to -1. Proper negative values break WikiTables)
|transparent= (defaults to no)
|blastres=Blast Resistance (Defaults to 0)
|luminance= (light emitted, defaults to 0)
|luminance=Illumination (Defaults to 0)
|renewable= (yes/no)
|stackable=Is the block item stackable? (Yes/No)
|stackable= (yes/no)
|renewable=Can the block be obtained infinitely? (Yes/No)
|flammable= (defaults to no)
|id=Registry ID (Obtain this in-game by using F3 + H)
|id= (in-game id)
}}
}}
</pre>
</pre>
[[Category:Infobox templates]]
</noinclude>
</noinclude>

Latest revision as of 22:46, 7 February 2024

Block
Tool N/A
Hardness 0
Blast Resistance 0
Luminance 0
Stackable No
Renewable No
ID

Usage:

{{Block
|name=Optional (Defaults to the Page Title)
|image=file name
|imageext=(optional)
|tool=Tool Type for harvesting (Defaults to N/A)
|hardness=Block Hardness (Defaults to -1. Proper negative values break WikiTables)
|blastres=Blast Resistance (Defaults to 0)
|luminance=Illumination (Defaults to 0)
|stackable=Is the block item stackable? (Yes/No)
|renewable=Can the block be obtained infinitely? (Yes/No)
|id=Registry ID (Obtain this in-game by using F3 + H)
}}