Template:Block: Difference between revisions

From Voidscape
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(13 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|N/A}}}
|{{{tool|N/A}}}
|-
|-
!Hardness
!Hardness
|{{{hardness|–1}}}
|{{{hardness|0}}}
 
|-
|-
!Blast Resistance
!Blast Resistance
|{{{blastres|0}}}
|{{{blastres|0}}}
|-
|-
!Luminance
!Luminance
|{{{luminance|0}}}
|{{{luminance|0}}}
|-
|-
!Stackable
!Stackable
|{{{stackable|No}}}
|{{{stackable|No}}}
|-
!Transparency
|{{{transparent|No}}}
|-
|-
!Renewable
!Renewable
|{{{renewable|No}}}
|{{{renewable|No}}}
|-
|-
!ID
!ID
|{{modid}}{{{id|}}}
|{{{id|}}}
|}<noinclude>
|}<noinclude>
Template for creating pages on Blocks. 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 Page Title)
|name=Optional (Defaults to the Page Title)
|image= [[image:FileLink.png]]
|image=file name
|tool= Best tool for harvesting (Defaults to N/A)
|imageext=(optional)
|hardness= In-Code Block Hardness (Defaults to -1. Proper negative values break WikiTables)
|tool=Tool Type for harvesting (Defaults to N/A)
|blastres= In-Code Blast Resistance (Defaults to 0)
|hardness=Block Hardness (Defaults to -1. Proper negative values break WikiTables)
|luminance= In-Code Illumination (Defaults to 0)
|blastres=Blast Resistance (Defaults to 0)
|stackable= Is the block stackable? (Yes/No)
|luminance=Illumination (Defaults to 0)
|transparent= Can you see through the block? (Yes/Partially/No)
|stackable=Is the block item stackable? (Yes/No)
|renewable= Can the block be obtained infinitely? (Yes/No)
|renewable=Can the block be obtained infinitely? (Yes/No)
|id= In-Game ID (Use F3 + H for In-Game Tooltips)
|id=Registry ID (Obtain this in-game by using F3 + H)
}}
}}
</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)
}}