Template:Infobox block: Difference between revisions
Jump to navigation
Jump to search
fixed added images |
stackability |
||
| Line 30: | Line 30: | ||
-->|hoe=[[File:Use-hoe.png|30px]]<!-- | -->|hoe=[[File:Use-hoe.png|30px]]<!-- | ||
-->|unknown|unknowntool|unknown tool=[[File:UnknownTool|40px]]}}}}}} | -->|unknown|unknowntool|unknown tool=[[File:UnknownTool|40px]]}}}}}} | ||
{{Block/row|label=Stackable|field={{{stackable|?}}}}} | |||
{{#switch:{{lc:{{{type}}}}}|fluid = | {{#switch:{{lc:{{{type}}}}}|fluid = | ||
{{Block/row|label=Speed of fluid movement | {{Block/row|label=Speed of fluid movement|field={{{fluidspeed|?}}}}} | ||
{{Block/row|label=Speed of walking through | {{Block/row|label=Speed of walking through|field={{{movespeed|?}}}}} | ||
}} | }} | ||
{{Block/row|label=Data value{{#if:{{{data2|}}}|s|}}|field={{{data|{{#if:{{{datadec|}}}|<!-- | {{Block/row|label=Data value{{#if:{{{data2|}}}|s|}}|field={{{data|{{#if:{{{datadec|}}}|<!-- | ||
| Line 70: | Line 71: | ||
| light = | | light = | ||
| tool = | | tool = | ||
| stackable = | |||
| datadec = | | datadec = | ||
| datahex = | | datahex = | ||
| Line 96: | Line 98: | ||
|- | |- | ||
| <code>tool</code> || Tool to use || ? | | <code>tool</code> || Tool to use || ? | ||
|- | |||
| <code>stackable</code> || Stackable || ? | |||
|- | |- | ||
| <code>datadec</code> || Decimal Data Value || ? | | <code>datadec</code> || Decimal Data Value || ? | ||
Revision as of 21:56, 11 October 2010
Template:Block/rowTemplate:Block/rowTemplate:Block/rowTemplate:Block/rowTemplate:Block/rowTemplate:Block/rowTemplate:Block/row
| Infobox block | |
Documentation
These usage notes will not be included in articles bearing this template.
This template provides a uniform design for block pages.
{{Block
| name =
| image =
| image2 =
| invimage =
| type =
| gravity =
| dirt =
| transparent =
| light =
| tool =
| stackable =
| datadec =
| datahex =
| fluidspeed =
| movespeed =
}}
| Parameter | Function | Default value |
|---|---|---|
name |
Name of the block | {{BASEPAGENAME}}
|
image |
Image of the block (should be approx. 150x150px) | No image.png |
type |
Type(solid block, solid, block, or fluid) | ? |
gravity |
Affected by gravity? | ? |
dirt |
Requires sunlight/dirt? | ? |
transparent |
Allows light to pass through? | ? |
light |
Emits Light? | ? |
tool |
Tool to use | ? |
stackable |
Stackable | ? |
datadec |
Decimal Data Value | ? |
datahex |
Hexadecimal Data Value | ? |
data |
Data Value (overrides dec and hex values) | datadec and datahex
|