Template:Block
Jump to navigation
Jump to search
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
Description
To use this template, add the {{Block}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses Fandom's infobox syntax.
Categories
When an article uses this template it will automatically get assigned the category Blocks. If the renewable
parameter is Yes then the article will also get assigned the Renewable resources category.
Syntax
{{Block | title = | image = [e.g. "Example.jpg"] | imagecaption = | imageitem = | mod = | transparent = | luminance = | blast_resistance= | tool = | renewable = | stackable = | flammable = | sounds = | experience = | drops = | nameid = }}
Parameter | Function | Default/Example value |
---|---|---|
title |
Optional value to use a different title instead of the page name | {{BASEPAGENAME}}
|
image |
Image of the block (should be approx. 300x300px) | Block.png |
imagecaption |
Caption of the image if needed | None |
imageitem |
Image of the block inside an inventory (should be approx. 300x300px) ONLY NECCESARY IF IT IS DIFFERENT FROM THE BLOCK MODEL |
None |
mod |
The mod from which the block comes. Should be linked | None |
transparent |
Wether the block is in any way transparent | None |
luminance |
The lightlevel the block emits | None |
blast_resistance |
How blast resistant the block is | None |
tool |
What tool, if any, should be used to break this block | None |
renewable |
Whether the block is renewable | No |
stackable |
Whether the block is stackable or not | No |
flammable |
Whether the block is flammable or not | None |
sounds |
Sounds associated with this block | None |
experience |
How to obtain experience from this block, and how much | None |
drops |
The drops this block has. Usually it drops itself | None |
nameid |
The block's named identifier. | None |
Sample output
{{Block | title = Waystone | image = Waystone.png | imagecaption = A waystone | imageitem = | mod = [[Waystones]] | transparent = Yes | luminance = N/A | blast_resistance= 18,000,000 | tool = Pickaxe | renewable = Yes | stackable = Yes(64) | flammable = No | sounds = | experience = | drops = | nameid = waystones:waystone }}