Template:Block/doc

From Better Than Wolves Wiki
Jump to: navigation, search
Template-info.png Documentation
Block


Type

?

Stackable

?

Tool

{{{tool}}}

First Appearance

{{{firstver}}}

Gravity

{{{gravity}}}

Luminance

{{{light}}}

Flammable

{{{flammable}}}

Data Value

{{{data}}}

This template provides a uniform design for block pages.

{{Block
|title=
|image=
|image2=
|image3=
|invimage=
|invimage2=
|invimage3=
|invimage4=
|gravity=
|transparent=
|light=
|tntres=
|tool=
|tool2=
|renewable=
|stackable=
|flammable=
|drops=
|movespeed=
|data=
}}

Note that if the item has multiple data values, use |multipledata= instead of |data=. See below:

Parameter Function Default value
name Only needed to change the name from the page name. {{BASEPAGENAME}}
image Image of the block (should be approx. 150×150px). {{{title}}}.png if it exists, otherwise No image.svg (linking to the page where to upload the missing image)
imageN Other images for two-state blocks (also approx. 150×150px). None
invimage Image for object in inventory. Can use "None" to force no invimage. Uses Template:Grid. Grid {{{title}}}.png if it exists, otherwise None
invimageN Other images for object in inventory. Uses Template:Grid. None
gravity Whether the block is affected by gravity.  ?
transparent Can you see through some part of this block? Not as obvious as it seems, see Opacity.  ?
light How much light this block emits. 0 for blocks that do not emit light.  ?
tntres Block's resistance to explosions. The value comes from the code; there aren't any units for it. If empty tries to look up the page name from Template:Blast Resistance Values, and hidden in case the block isn't defined there. None
tool Tool to use. Picture means, the block can only be broken with this tool (this quality or better). Outline means, the block can be broken with any tool, but this tool is the quickest. "Any tool" means that every tool is equally effective (or the block can be instantly broken with anything). "None" means the block cannot be broken.  ?
tool2 Second tool that can be used, same format than the tool field. None
renewable Whether the block is renewable.  ?
stackable Whether the block is stackable. If yes, also shows maximum stack size.  ?
flammable Whether the block is flammable.  ?
drops The item entities dropped when destroyed.  ?
movespeed The movement speed of players and mobs walking on this block. None
data Single decimal data value. None
multipledata Multiple decimal data values, use {{dv}}. None

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.