Difference between revisions of "Template:Block"

From The Twilight Forest Wiki
Jump to navigation Jump to search
(Reverting Image Size to previous version. It makes the blocks look very crunchy and bad being 128px. Reduced padding as well. Implimented Built-In MiningTool system.)
Line 3: Line 3:


|-
|-
|colspan="2" style="background-color: #222; padding: 35px;"|[[File:{{{image|Unknown.png}}}|center|128px]]
|colspan="2" style="background-color: #222; padding: 18px;"|[[File:{{{image|Unknown.png}}}|center|256px]]


|-
|-
Line 23: Line 23:
|-
|-
!Tool
!Tool
|{{{tool|}}}
|{{{tool|Unknown}}} [[File:{{{tool|Unknown}}}.png|link=|32px]]


|-
|-
Line 44: Line 44:
Here is a general breakdown of how to use this template:
Here is a general breakdown of how to use this template:
<pre>
<pre>
{{Armor
{{Block
|name=        <!-- The Name of this Block (Optional)  -->
|name=        <!-- The Name of this Block (Optional)  -->
|image=      <!-- The Image File of this Block      -->
|image=      <!-- The Image File of this Block      -->
Line 59: Line 59:


{{Block
{{Block
|style=
|name=Block of Fiery Metal
|image=Block of Fiery Metal.png
|hardness=5
|blastres=6
|tool=Iron Pickaxe
|renewable=No
|stackable=Yes <small>(64)</small>
|id=fiery_block
}}
}}


[[Category:Infobox templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>

Revision as of 20:54, 12 March 2024

This template is used to make a nice table for anything relating to Blocks and their related pages.
Here is a general breakdown of how to use this template:

{{Block
|name=        <!-- The Name of this Block (Optional)  -->
|image=       <!-- The Image File of this Block       -->
|transparent= <!-- Is this Block Transparent? Yes/No  -->
|luminance=   <!-- The Amount of Light Emitted        -->
|hardness=    <!-- The Block Hardness Value           -->
|blastres=    <!-- The Blast Resistance Value         -->
|stackable=   <!-- Is this Block Stackable? How many? -->
|renewable=   <!-- Is this Block Renewable? Yes/No    -->
|flammable=   <!-- Is this Block Flammable? Yes/No    -->
|id=          <!-- The ID of the Block                -->
}}
Block of Fiery Metal
Block of Fiery Metal.png
Transparency None
Luminance None
Hardness 5
Blast Resistance 6
Tool Iron Pickaxe Iron Pickaxe.png
Renewable No
Stackable Yes (64)
Flammable No
ID fiery_block