¡Tenemos Twitter!  
Únete a nuestro servidor de Discord

Plantilla:Data value table

De Minecraft Wiki
(Redirigido desde «Plantilla:Dvt»)
Saltar a: navegación, buscar
Documentación
ImagenTraducir.png
Se necesita traducir el contenido de este artículo
Este artículo contiene texto en inglés. Puedes colaborar traduciéndolo

A template to generate tables for block/item data values.

Parameters:

  • spritetype: the type of sprite to use - item or block. Defaults to block.
  • sprite: the name of the sprite - see 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=huge-mushroom-pores|Pores on all sides}}
{{dvt|spritetype=block|sprite=huge-mushroom|Cap texture on top, west and north}}
{{dvt|spritetype=block|sprite=huge-mushroom|Cap texture on top and north}}
{{dvt|spritetype=block|sprite=huge-mushroom|Cap texture on top, north and east}}
{{dvt|spritetype=block|sprite=huge-mushroom-pores|Cap texture on top and west}}
{{dvt|spritetype=block|sprite=huge-mushroom-pores|Cap texture on top}}
{{dvt|spritetype=block|sprite=huge-mushroom-pores|Cap texture on top and east}}
{{dvt|spritetype=block|sprite=huge-mushroom-pores|Cap texture on top, south and west}}
{{dvt|spritetype=block|sprite=huge-mushroom-pores|Cap texture on top and south}}
{{dvt|spritetype=block|sprite=huge-mushroom-pores|Cap texture on top, east and south}}
{{dvt|spritetype=block|sprite=huge-mushroom-stalk|Stem texture on all four sides, pores on top and bottom}}
{{dvt|dv=11}}
{{dvt|dv=12}}
{{dvt|dv=13}}
{{dvt|spritetype=block|sprite=huge-mushroom|Cap texture on all six sides}}
{{dvt|spritetype=block|sprite=huge-mushroom-stalk|Stem texture on all six sides|foot=1}}

produces:

VD Descripción

0 Pores on all sides

1 Cap texture on top, west and north

2 Cap texture on top and north

3 Cap texture on top, north and east

4 Cap texture on top and west

5 Cap texture on top

6 Cap texture on top and east

7 Cap texture on top, south and west

8 Cap texture on top and south

9 Cap texture on top, east and south

10 Stem texture on all four sides, pores on top and bottom

11 (sin uso)

12 (sin uso)

13 (sin uso)

14 Cap texture on all six sides

15 Stem texture on all six sides

La documentación anterior se ha incluido desde Plantilla:Data value table/doc.