Template:Infobox block: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
update; consolidate Template:Block and Template:Fluid
→‎Documentation: no longer deprecated
Line 47: Line 47:
| <code>image</code> || Image of the block (should be approx. 150x150px) || [[:File:No image.png|No image.png]]
| <code>image</code> || Image of the block (should be approx. 150x150px) || [[:File:No image.png|No image.png]]
|-
|-
| <code>type</code> || Type <sup>(Deprecated?)</sup> || ?
| <code>type</code> || Type(solid block, solid, block, or fluid) || ?
|-
|-
| <code>gravity</code> || Affected by gravity? || ?
| <code>gravity</code> || Affected by gravity? || ?

Revision as of 00:17, 27 August 2010

Template:Block/rowTemplate:Block/rowTemplate:Block/rowTemplate:Block/row
Infobox block
File:No image.png
Data Value ? dec (? hex)

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 = 
| type = 
| gravity = 
| dirt = 
| transparent = 
| light = 
| datadec = 
| datahex = 
}}
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? ?
datadec Decimal Data Value ?
datahex Hexadecimal Data Value ?