Template:Block

From ManicDigger

Revision as of 21:12, 12 April 2012 by Restcoser (Talk | contribs)
Jump to: navigation, search
Block
Default Texture File:Block.jpg
Destroyable Unknown
Solid Unknown
Gravity Unknown
Special Function None

Usage

Please use this template for block pages on single blocks (for example: wood, grass, stone, etc.) To use the table, paste the following code at the start of the page:

{{Block|
|name =
|ID =  
|texture = 
|destroy = 
|solid = 
|gravity = 
|function = 
}}

The parameters must be filled in or else the table will show default values shown in the table to the top-right of this page. for example, if the block does not have a special function, you may simply type "|function" to automatically say "None"

When you don't specify a name, it will still work, it will take the pagename instead, this will be the block's name most times. When you don't specify a picture, the Template will try to use [[File:PAGENAME.jpg]], or, if the name for the block is given, [[File:BLOCKNAME.jpg]].

  • 'name' - the name of the block(optional)
  • 'ID' - the ID of the block (optional)
  • 'texture' - the picture of the blocks default texture (optional)
  • 'destroy' - how many hits it takes to destroy the block
  • 'solid' - whether or not the block is passable or solid (unpassable)
  • 'gravity' - whether or not the block is affected by gravity
  • 'function' - the special function of the block
NOTE: the texture parameter needs to be a picture link like:
[[File: pictureFile.jpeg]]

Every page with this Template is added to Category:Blocks

Personal tools