![]() |
VOOZH | about |
A template to generate tables for block/item data values.
Parameters:
spritetype: the type of sprite to use - entity, item or block. Defaults to block.sprite: the name of the sprite - see Template:EntitySprite, Template:ItemSprite and Template:BlockSprite for available values. Defaults to air.dv: used to manually set the data value, instead of counting sequentially.foot=1: must be used at the end of a table to make sure the next table on the page starts at data value 0.Example usage:
{{dvt|spritetype=block|sprite=mushroom-block-pores|Pores on all sides}}
{{dvt|spritetype=block|sprite=mushroom-blocks|Cap texture on top, west and north}}
{{dvt|spritetype=block|sprite=mushroom-blocks|Cap texture on top and north}}
{{dvt|spritetype=block|sprite=mushroom-blocks|Cap texture on top, north and east}}
{{dvt|spritetype=block|sprite=mushroom-block-pores|Cap texture on top and west}}
{{dvt|spritetype=block|sprite=mushroom-block-pores|Cap texture on top}}
{{dvt|spritetype=block|sprite=mushroom-block-pores|Cap texture on top and east}}
{{dvt|spritetype=block|sprite=mushroom-block-pores|Cap texture on top, south and west}}
{{dvt|spritetype=block|sprite=mushroom-block-pores|Cap texture on top and south}}
{{dvt|spritetype=block|sprite=mushroom-block-pores|Cap texture on top, east and south}}
{{dvt|spritetype=block|sprite=mushroom-stem|Stem texture on all four sides, pores on top and bottom}}
{{dvt|dv=11}}
{{dvt|dv=12}}
{{dvt|dv=13}}
{{dvt|spritetype=block|sprite=mushroom-blocks|Cap texture on all six sides}}
{{dvt|spritetype=block|sprite=mushroom-stem|Stem texture on all six sides|foot=1}}
produces: