本站文本内容除另有声明外,转载时均必须注明出处,并遵守CC BY-NC-SA 3.0协议。(转载须知)
本站是中文Minecraft Wiki的镜像站,与Mojang Studios、Weird Gloop没有从属关系。(免责声明)
模板:Mod/Item
该模板为Mods的物品页面提供了一个 统一的设计。当一个物品可回复生命值时,推荐使用Template:Mod/Food。
普通物品模板和Mod/Item 物品的不同之处在于:
- 标题默认为{{SUBPAGENAME}}而不是{{BASEPAGENAME}}
- 图像默认为附加Mod名称到image的最后{{{title}}} (Mod名称).png
- 版本链接为Mods/Mod名称/版本 n.n.n
- 分类链接为Mods/Mod名称/{{{type}}}
{{Item |title= |image= |image2= |image3= |invimage= |invimage2= |invimage3= |invimage4= |invimage5= |invimage6= |invimage7= |invimage8= |invimage9= |invimage10= |invimage11= |invimage12= |invimage13= |invimage14= |invimage15= |invimage16= |invimage17= |invimage18= |invimage19= |invimage20= |invimage21= |invimage22= |invimage23= |invimage24= |invimage25= |type= |otherosonly= |durability= |renewable= |stackable= |data= |firstver= }}
请注意,如果物品有多个数据值,使用|multipledata=
。详见下文:
参数 | 功能 | 默认值/示例值 |
---|---|---|
title |
可选。此值用来显示一个不同于页面名称的标题。 | {{SUBPAGENAME}}
|
image |
方块的图形(近似于150x150px)。示例
|
如存在则为{{{title}}} (Mod名称).png ,否则为No image.svg(链接到上传图片页面)
|
image2 |
块的图形(近似于150x150px)。 | None |
image3 |
块的图形(近似于150x150px)。 | None |
invimage |
物品在物品栏里的图像。可使用None来强制不使用图像。使用Template:Grid。 | Grid {{{title}}} 如存在则为(Mod名称).png ,否则为 None
|
invimage2 |
在物品栏有2个状态的物品的第2个图像。使用Template:Grid。 | None |
invimage3 |
在物品栏有3个状态的物品的第3个图像。使用Template:Grid。 | None |
invimage4 |
Fourth image for four-state objects in inventory. 使用Template:Grid。 | None |
invimage5 |
Fifth image for five-state objects in inventory. 使用Template:Grid。 | None |
invimage6 |
Sixth image for six-state objects in inventory. 使用Template:Grid。 | None |
invimage7 |
Seventh image for seven-state objects in inventory. 使用Template:Grid。 | None |
invimage8 |
Eighth image for eight-state objects in inventory. 使用Template:Grid。 | None |
invimage9 |
Ninth image for nine-state objects in inventory. 使用Template:Grid。 | None |
invimage10 |
Tenth image for ten-state objects in inventory. 使用Template:Grid。 | None |
invimage11 |
Eleventh image for eleven-state objects in inventory. 使用Template:Grid。 | None |
invimage12 |
Twelfth image for twelve-state objects in inventory. 使用Template:Grid。 | None |
invimage13 |
Thirteenth image for thirteen-state objects in inventory. 使用Template:Grid。 | None |
invimage14 |
Fourteenth image for fourteen-state objects in inventory. 使用Template:Grid。 | None |
invimage15 |
Fifteenth image for fifteen-state objects in inventory. 使用Template:Grid。 | None |
invimage16 |
Sixteenth image for sixteen-state objects in inventory. 使用Template:Grid。 | None |
invimage17 |
Seventeenth image for seventeen-state objects in inventory. 使用Template:Grid。 | None |
invimage18 |
Eighteenth image for eighteen-state objects in inventory. 使用Template:Grid。 | None |
invimage19 |
Nineteenth image for nineteen-state objects in inventory. 使用Template:Grid。 | None |
invimage20 |
Twentieth image for twenty-state objects in inventory. 使用Template:Grid。 | None |
invimage21 |
Twenty-First image for twenty-one-state objects in inventory. 使用Template:Grid。 | None |
invimage22 |
Twenty-Second image for twenty-two-state objects in inventory. 使用Template:Grid。 | None |
invimage23 |
Twenty-Third image for twenty-three-state objects in inventory. 使用Template:Grid。 | None |
invimage24 |
Twenty-Forth image for twenty-four-state objects in inventory. 使用Template:Grid。 | None |
invimage25 |
Twenty-Fifth image for twenty-five-state objects in inventory. 使用Template:Grid。 | None |
type |
类型(武器、远程武器、可合成物品、工具等) | ? |
otherosonly |
指定物品可用版本如果只在特定版本的Minecraft中可用。 | None |
durability |
物品耐久度 | N/A |
renewable |
物品是否为可再生 | ? |
stackable |
可堆叠 | ? |
data |
一个decimal数据值 | None |
multipledata |
多个decimal数据值,使用{{dv}} |
None |
firstver |
该物品首次出现时的Mod版本号(示例 Alpha 1.2 或 1.5.0)。 | None |
multiplever |
该物品多次出现的Mod版本号 | None |
另见
- Minecraft
{{Biome}}
{{Block}}
{{Development phase}}
{{Enchantment}}
{{Effect}}
{{Entity}}
{{Item}}
{{Structure}}
- Minecraft Dungeons
{{DungeonsEnchantment}}
{{DungeonsEntity}}
{{DungeonsItem}}
- 其他
{{3rd Party Tool}}
{{Album}}
{{Book}}
{{Company}}
{{Person}}
{{Profile}}
{{Program}}
{{Version nav}}