Minecraft Wiki

Discordlogo.png  ¡Únete al servidor de Discord!

Make Stuff icon (MCE).png El sitio ha recibido cambios en su estado. Por favor lean la nota al respecto para más información.

LEE MÁS

Minecraft Wiki
Advertisement
Minecraft Wiki
[ver | editar | historial | purgar]Documentación

This template is used to create the tables on Data values.

Parameters

Unnamed paremeters
  • {{{1}}}: The name of the block, defaults to "unused". A suffix can be added using parentheses after the name.
  • {{{2}}}: Optional notes. Type the letter(s) corresponding to the note(s) you want to add it.
    • I: Has a separate ID as an inventory item.
    • D: Use the item's Damage field to define its durability.
    • S: Requires additional data from the saved game's Data array to fully define the block.
    • B: Requires additional data in the item's Damage field to fully define the inventory item.
    • E: Requires a block entity to store additional data.
  • {{{3}}}: Optional prefix
Named parameters
  • {{{obtain}}}: Limitations on obtaining. Defaults to any. Values include:
    • give: Only available using /give.
    • none: Cannot be obtained no matter what. May be placed using /setblock.
    • creative: Available in creative mode by item list.
    • pick block: Available in creative mode by block picking.
    • trading: Can be obtained by trading with villagers or in creative mode.
    • enchantments: Only available by having enchanted tools or in creative mode.
    • enchantments only: Only available by having enchanted tools or via use of /give, but unobtainable in the creative mode menu.
  • {{{icon}}}: Name of the icon, excluding the .png. If {{{sprite}}} is set, then the name of the sprite. Defaults to {{{1}}}.
  • {{{iconsize}}}: Size of the icon, defaults to 25px.
  • {{{nameid}}}: Change the nameid to something other than {{{1}}}.
  • {{{link}}}: Link to a different article than {{{1}}}.
  • {{{section}}}: Set the section in data values to something other than {{{1}}}.
Table parameters
  • {{{dv}}}: Sets the data value. Defaults to the previous plus 1.
  • {{{sprite}}}: If set, the icon uses the sprite template listed instead of a file. Setting it causes all later templates to use the same option. To reset to use a files, set it to be empty.
  • {{{table}}}: Sets the header title for the template and all following uses. Defaults to Blocks.
  • {{{namecolumn}}}: If set to 0 then all following uses of the template will have no name column. To use the name column again later simply set it back to 1.
  • {{{foot}}}: If set, then it adds the foot to the table.

Example

{{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}}
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
[ver | editar | historial | purgar]La documentación arriba es transcluída desde Plantilla:Tabla vd/doc.


Advertisement