本站文本内容除另有声明外,转载时均必须注明出处。(详情…本站文本内容除另有声明外,转载时均必须注明出处。(详情…中文Minecraft Wiki是完全公开的。请勇于扩充与修正内容!中文Minecraft Wiki是完全公开的。请勇于扩充与修正内容!Minecraft中文Wiki微博正在更新!或许有兴趣去看看Minecraft中文Wiki微博正在更新!或许有兴趣去看看想与其他用户进行编辑上的沟通?社区专页正是为此创建的。想与其他用户进行编辑上的沟通?社区专页正是为此创建的。翻译或创建页面之前,不妨看看译名标准化Wiki条例页面。翻译或创建页面之前,不妨看看译名标准化Wiki条例页面。需要管理员的协助?在管理员告示板留言也许可以帮到您。需要管理员的协助?在管理员告示板留言也许可以帮到您。
各位用户:为了让我们能更好了解您的需求,提供更优良的服务,请帮助我们填写一份问卷。编者问卷读者问卷(需要花费7分钟左右)

Hi Gamepedia users and contributors! Please complete this survey to help us learn how to better meet your needs in the future. We have one for editors and readers. This should only take about 7 minutes!

Template:Technical Block/doc

来自Minecraft Wiki
跳转至: 导航搜索
这是文档页面,它应该被放置到主模板页。查看Template:Documentation以获取更多信息。
Lua logo.svg
此模板使用了模块:Infobox,这些脚本均使用Lua编写。
更多详情,请参阅维基百科:LuaMediaWiki:扩展:Scribunto
Technical Block
No image.svg
透明

?

亮度

?

爆炸抗性

?

硬度

?

可燃尽

?

可被熔岩点燃

?

This template provides a uniform design for technical blocks.

{{Technical Block
|title=
|image=
|invimage=
|type=
|gravity=
|transparent=
|light=
|tntres=
|tool=
|stackable=
|flammable=
|availability=
|experience=
|drops=
|data=
|nameid=
|fluidspeed=
|movespeed=
|firstver=
|firstdev=
|notes=
}}

Note that if the item has multiple data values, use |multipledata= instead of |data=. See below:

Parameter Function Default value
title The text in the blue box
image Image of the block (should be approx. 150×150px) {{{title}}}.png if it exists, otherwise No image.svg (linking to the page where to upload the missing image)
imageN Other images for two-state blocks (also approx. 150×150px) None
invimage Image for object in inventory. Can use None to force no invimage. Uses Template:Grid. Grid {{{title}}}.png if it exists, otherwise None
invimageN Other images for object in inventory. Uses Template:Grid. None
type Type (solid block, solid, block, or fluid) ?
gravity Affected by gravity? None
transparent Can you see through some part of this block? Not as obvious as it seems, see Opacity. None
light Emits Light? If "Yes," add the light value like this: "Yes, 9" None
tntres Block's resistance to explosions. The value comes from the code; there aren't any units for it. None
tool Tool to use. Picture means, the block can only be broken with this tool (this quality or better). Outline means, the block can be broken with any tool, but this tool is the quickest. "Any tool" means that every tool is equally effective (or the block can be instantly broken with anything). "None" means the block cannot be broken. None
stackable Stackable None
flammable Whether the block is flammable or not None
availability The availability of an item None
experience The amount of experience dropped when mined or smelted None
drops The item entities dropped when destroyed None
data Single decimal data value None
multipledata Multiple decimal data values, use {{dv}} None
nameid The block's named identifier {{{title}}}
fluidspeed Speed of fluid movement None
movespeed Speed of walking through None
firstver First version that it was seen in (e.g. Alpha 1.0.17, classic 0.0.23a). None
firstdev First development snapshot it was seen in, requires firstver. None
notes Adds a centred column spanning across both rows at the bottom of the box None

See also[编辑源代码]