Minecraft Wiki

除另有声明,转载时均必须注明出处若簡繁轉換出錯,請以遊戲內為準请勇于扩充与修正内容有兴趣逛逛我们的微博沟通交流,欢迎到社区专页需要协助,请在告示板留言

了解更多

Minecraft Wiki
Advertisement

Template:Doc/start

该模板十分常用且常见。修改前请确保已经获得共识
对于小修改和与其他语言的版本更新/修改同步,可以直接操作。

This template provides a uniform design for block pages.

该模板提供对方块介绍页面的统一描述模板。

{{Block
|title=
|image=
|image2=
|image3=
|invimage=
|invimage2=
|invimage3=
|invimage4=
|invimage5=
|invimage6=
|invimage7=
|invimage8=
|invimage9=
|invimage10=
|invimage11=
|invimage12=
|invimage13=
|invimage14=
|invimage15=
|invimage16=
|type=
|gravity=
|dirt=
|transparent=
|light=
|tntres=
|tool=
|renewable=
|stackable=
|data=
|nameid=
|fluidspeed=
|movespeed=
|firstver=
|notes=
}}

请注意开始和结束的{{ }}标记,请将其一同复制到新建方块页面中。对于有多重数据值的方块,使用|multipledata= 而不是 |data= 。见下:

Please note the unusual markup at the beginning and end; copy it verbatim if you are creating a new block page. Also note that if the item has multiple data values, use |multipledata= instead of |data=. See below:

参数 功能 默认值
title 当需要时用该参数替代页面名作为标题 {{BASEPAGENAME}} <!-- 页面名 -->
image 方块图像(大小应该在150*150像素左右) 可以使用类似image1.png; image2.png; image3.png; image4.png的语法表示多重图片。 若存在, {{{title}}}.png <!-- 页面名.png --> 否则为 No block image.png (链接到上传页面)。
image2 第二个多图像方块的图片。(大小应该在150*150像素左右)(推荐使用上一行的语法代替) None
image3 第三个多图像方块的图片。(大小应该在150*150像素左右) None
invimage 物品栏内的图像。可使用None强制取消。调用 Template:Grid 若存在,Grid {{{title}}}.png <!-- 页面名.png --> 否则None
invimage2 第二个多图像方块的物品栏内。调用 Template:Grid None
invimage3 第三个多图像方块的物品栏内。调用 Template:Grid None
invimage4 第四个多图像方块的物品栏内。调用 Template:Grid None
invimage5 第五个多图像方块的物品栏内。调用 Template:Grid None
invimage6 第六个多图像方块的物品栏内。调用 Template:Grid。 (以下类推到16个) None
invimage7 Seventh image for seven-state objects in inventory. Uses Template:Grid. None
invimage8 Eighth image for eight-state objects in inventory. Uses Template:Grid. None
invimage9 Ninth image for nine-state objects in inventory. Uses Template:Grid. None
invimage10 Tenth image for ten-state objects in inventory. Uses Template:Grid. None
invimage11 Eleventh image for eleven-state objects in inventory. Uses Template:Grid. None
invimage12 Twelfth image for twelve-state objects in inventory. Uses Template:Grid. None
invimage13 Thirteenth image for thirteen-state objects in inventory. Uses Template:Grid. None
invimage14 Fourteenth image for fourteen-state objects in inventory. Uses Template:Grid. None
invimage15 Fifteenth image for fifteen-state objects in inventory. Uses Template:Grid. None
invimage16 Sixteenth image for sixteen-state objects in inventory. Uses Template:Grid. None
type 类型(固体/非固体 方块/流体) ?
gravity 受重力影响(是/否) ?
dirt 需求泥土或阳光(是/否) None
transparent 是否透明/可透视?(是/否)不一定像看似的那么明显, 参 透明度. ?
light 是否发光?若发光,使用语法:“是,9” If "Yes," add the light value like this: "Yes, 9" ?
tntres 爆炸抗性。 ?
tool 采集工具。图片表示只能用该工具采集,字表示可以使用一切工具采集但这种方式最快。任何工具表示可以用任意方法迅速采集。无None表示不可采集。 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 the block can be (instantly) broken with any tool. "None" means the block cannot be broken. ?
renewable 可再生(是/否) ?
stackable 可堆叠(数量) N/A
data 单个数据值 None
nameid 名称ID ,如 minecraft:end_portal None
multipledata 多个数据值, use {{dv}} None
fluidspeed 流速 None
movespeed 行走速度 None
firstver 最早出现版本 (e.g. Alpha 1.0.17, classic 0.0.23a). None
notes 加一行备注 None

See also

Minecraft
Minecraft Dungeons
其他

Template:Doc/end

Advertisement