Template:Data value table

来自Minecraft Wiki
跳转至: 导航搜索
快捷方式
Dvt
[查看 | 编辑 | 历史 | 清除缓存]文档页面

该模板用于生成关于方块/物品的数据值的表格。

参数:

  • spritetype:sprite 的使用类型 - itemblock。默认为 block
  • sprite::sprite 的名称 - 详见 Template:ItemSpriteTemplate:BlockSprite 以查找可用的值,默认为 air
  • dv:用于手动设置数据值,而不是按顺序计算。
  • foot=1:必须在表格的末尾处使用,确保页面的下一个表格的数据值是从0开始的。
  • 未命名参数:用于提供说明。

例子:

{{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}}

效果:

DV 描述
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 (未使用)
12 (未使用)
13 (未使用)
14 Cap texture on all six sides
15 Stem texture on all six sides