Difference between revisions of "Template:Block"

From The Twilight Forest Wiki
Jump to navigation Jump to search
(Change to 1.4em)
Line 41: Line 41:
|{{{id|}}}
|{{{id|}}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
Usage:
This template is used to make a nice table for anything relating to Blocks and their related pages.<br>
Here is a general breakdown of how to use this template:
<pre>
<pre>
{{Block
{{Armor
|name= (optional, defaults to the article's title)
|name=       <!-- The Name of this Block (Optional) -->
|image= (filelink)
|image=       <!-- The Image File of this Block      -->
|transparent= (defaults to no)
|transparent= <!-- Is this Block Transparent? Yes/No  -->
|luminance= (light emitted, defaults to none)
|luminance=   <!-- The Amount of Light Emitted        -->
|hardness= (block hardness)
|hardness=   <!-- The Block Hardness Value          -->
|blastres= (blast resistance)
|blastres=   <!-- The Blast Resistance Value        -->
|tool= (best tool for harvesting)
|stackable=   <!-- Is this Block Stackable? How many? -->
|renewable= (yes/no)
|renewable=   <!-- Is this Block Renewable? Yes/No    -->
|stackable= (yes/no)
|flammable=   <!-- Is this Block Flammable? Yes/No    -->
|flammable= (defaults to no)
|id=         <!-- The ID of the Block                -->
|id= (in-game id)
}}
}}
</pre>
</pre>

Revision as of 10:58, 21 February 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:

{{Armor
|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
Unknown.png
Transparency None
Luminance None
Hardness
Blast Resistance
Tool
Renewable
Stackable
Flammable No
ID