Template:Infobox material
使用于所有材料子页面。
目前无需手动填写表格,由wiki的数据库自动填写的,详情见#Usage。
测试
Usage
现在请使用{{Infobox material/nameload}}
或者是{{Infobox material/load}}
模板来输出材料数据,{{Infobox material/load}}
是按组输出,页面相同则为同一组,{{Infobox material/nameload}}
是按自选id输出,需要自选id
Note: This template supports up to 5 tabs; simply append 2, 3, 4, or 5 to parameter names to add values to the corresponding secondary tabs. For example, name2 and type2 would populate a second tab with those two values.
Details
This template is used by all Materials.
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
name | name | The name of the material
| 字符串 | 推荐 |
id | id | The internal material name
| 字符串 | 推荐 |
image | image | The material texture and/or example images of the material in-game.
| 文件 | 推荐 |
type | type | Specify the type of [[Material]] this is listed under in the main Materials page (Solid, Liquid, Gas, or Powder)
| 字符串 | 必填 |
biomes | biomes | Specify the [[Biomes]] this material can typically be found in, if any. | 页面名称 | 推荐 |
density | density | The in-game density value of the material. This typically ranges from 1-15. Density values can be found at [[Density]]
| 数字 | 必填 |
durability | durability | For solid materials only. The durability value of the material in-game, typically ranging from 0-14. Durability values can be found here: https://docs.google.com/spreadsheets/d/1MVcKCzQ9-LL6JNh1sle36MNrKLXsgDdAyKw39NxVl-Q/edit | 数字 | 推荐 |
hardness | hardness | For solids and powders only. The hardness value of the material in game, represented by a "HP" value in the materials.xml file. | 数字 | 推荐 |
lifetime | lifetime | Mostly used for mist materials; the lifetime in frames that the material will exist for. | 数字 | 推荐 |
conductive | conductive | Whether or not a material conducts electricity. | 布尔值 | 推荐 |
burnable | burnable | Whether or not a material can be set aflame. | 布尔值 | 推荐 |
parent | parent | Specify the material ID that is the parent of this material, if any. | 字符串 | 推荐 |
inheritsReactions | inheritsReactions | Specify whether this material inherits reactions from its parent. | 布尔值 | 推荐 |
freezes | freezes | The name of the material this can freeze into on contact with cold materials, spells, or biomes. | 字符串 | 推荐 |
melts | melts | The name of the material this can melt into on contact with hot materials, spells, or biomes. | 字符串 | 推荐 |
stainEffect | stainEffect | Describe the effect this material's stain has on the player or enemies.
| 字符串 | 推荐 |
ingestEffect | ingestEffect | Describe the [[Status Effect]] applied when the material is ingested. | 字符串 | 推荐 |
submergeEffect | submergeEffect | For gaseous materials, describe the effect of being submerged in the gas. | 字符串 | 推荐 |
breakInto | breakInto | Solids only. The material that is created when this solid is damaged / broken. | 字符串 | 推荐 |
tags | tags | A list of tags that apply to this material, separated by commas. | 字符串 | 推荐 |
notes | notes | Any additional noteworthy features of the material. | 字符串 | 推荐 |
- Infobox templates