VOOZH about

URL: https://minecraft.wiki/w/Template:Data_value_table

⇱ Template:Data value table – Minecraft Wiki


Template:Data value table

From Minecraft Wiki
Jump to navigation Jump to search
Documentation[view] [edit] [history] [purge]
Shortcut

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.
  • An unnamed parameter provides a description.

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:

DV Description
👁 BlockSprite mushroom-block-pores.png: Sprite image for mushroom-block-pores in Minecraft
0 Pores on all sides
👁 BlockSprite mushroom-blocks.png: Sprite image for mushroom-blocks in Minecraft
1 Cap texture on top, west and north
👁 BlockSprite mushroom-blocks.png: Sprite image for mushroom-blocks in Minecraft
2 Cap texture on top and north
👁 BlockSprite mushroom-blocks.png: Sprite image for mushroom-blocks in Minecraft
3 Cap texture on top, north and east
👁 BlockSprite mushroom-block-pores.png: Sprite image for mushroom-block-pores in Minecraft
4 Cap texture on top and west
👁 BlockSprite mushroom-block-pores.png: Sprite image for mushroom-block-pores in Minecraft
5 Cap texture on top
👁 BlockSprite mushroom-block-pores.png: Sprite image for mushroom-block-pores in Minecraft
6 Cap texture on top and east
👁 BlockSprite mushroom-block-pores.png: Sprite image for mushroom-block-pores in Minecraft
7 Cap texture on top, south and west
👁 BlockSprite mushroom-block-pores.png: Sprite image for mushroom-block-pores in Minecraft
8 Cap texture on top and south
👁 BlockSprite mushroom-block-pores.png: Sprite image for mushroom-block-pores in Minecraft
9 Cap texture on top, east and south
👁 BlockSprite mushroom-stem.png: Sprite image for mushroom-stem in Minecraft
10 Stem texture on all four sides, pores on top and bottom
👁 BlockSprite air.png: Sprite image for air in Minecraft
11 (unused)
👁 BlockSprite air.png: Sprite image for air in Minecraft
12 (unused)
👁 BlockSprite air.png: Sprite image for air in Minecraft
13 (unused)
👁 BlockSprite mushroom-blocks.png: Sprite image for mushroom-blocks in Minecraft
14 Cap texture on all six sides
👁 BlockSprite mushroom-stem.png: Sprite image for mushroom-stem in Minecraft
15 Stem texture on all six sides
[view] [edit] [history] [purge]The above documentation is transcluded from Template:Data value table/doc.
Retrieved from "https://minecraft.wiki/w/Template:Data_value_table?oldid=2388531"

Navigation menu