テンプレート:Infobox material/doc

提供:Noita Wiki
ナビゲーションに移動 検索に移動

See also Materials and Category:Materials.

Usage

{{Infobox material
| name              =
| image             =
| icon              =
| type              =
| id                =
| wang              =
| tags              =

<!-- stats -->
| density           =
| hardness          = <!-- For solids and powders -->
| durability        = <!-- For solids -->
| lifetime          = <!-- mostly used for Mist materials -->

<!-- sources/locations -->
| biomes            =

<!-- effects -->
| submergeEffect    = <!-- For liquids and gases -->
| stainEffect       = <!-- For liquids -->
| ingestEffect      = <!-- For solids, powders, and liquids -->

<!-- behaviour -->
| conductive        =
| burnable          =
| freezes           = <!-- For liquids -->
| melts             = <!-- For solids and powders -->
| breakInto         = <!-- For solids -->
| slippery          = <!-- For solids -->

| notes =
}}

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.

テンプレート引数

このテンプレートは、パラメーターを複数行に分けて記述することが推奨されています。

引数説明状態
namename

The name of the material

既定
{{PAGENAME}}
Water
文字列推奨
idid

The internal material name

rock_static
文字列推奨
imageimage

The material texture and/or example images of the material in-game.

Water.png
ファイル推奨
iconicon

The example images of the material in-game.

Water.png
ファイル推奨
typetype

Specify the type of [[Material]] this is listed under in the main Materials page (Solid, Liquid, Gas, or Powder)

Solid
文字列必須
biomesbiomes

Specify the [[Biomes]] this material can typically be found in, if any.

ページ名推奨
densitydensity

The in-game density value of the material. This typically ranges from 1-15. Density values can be found at [[Density]]

2
数値必須
durabilitydurability

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

数値推奨
hardnesshardness

For solids and powders only. The hardness value of the material in game, represented by a "HP" value in the materials.xml file.

数値推奨
lifetimelifetime

Mostly used for mist materials; the lifetime in frames that the material will exist for.

数値推奨
conductiveconductive

Whether or not a material conducts electricity.

ブール値推奨
burnableburnable

Whether or not a material can be set aflame.

ブール値推奨
slipperyslippery

Whether or not a material functions as a slippery surface.

ブール値推奨
freezesfreezes

The name of the material this can freeze into on contact with cold materials, spells, or biomes.

文字列推奨
meltsmelts

The name of the material this can melt into on contact with hot materials, spells, or biomes.

文字列推奨
stainEffectstainEffect

Describe the effect this material's stain has on the player or enemies.

Makes the player Wet.
文字列推奨
ingestEffectingestEffect

Describe the [[Status Effect]] applied when the material is ingested.

文字列推奨
submergeEffectsubmergeEffect

For gaseous materials, describe the effect of being submerged in the gas.

文字列推奨
breakIntobreakInto

Solids only. The material that is created when this solid is damaged / broken.

文字列推奨
tagstags

A list of tags that apply to this material, separated by commas.

文字列推奨
notesnotes

Any additional noteworthy features of the material.

文字列推奨

Example

{{Infobox material
| name = Water
| id = water
| icon = Item Potion.png
| type = Liquid
| biomes = Various
| durability = 3
| hardness = 1000
| conductive = true
| slippery = true
| burnable = 0
| submergeEffect = Damage
| melts = Steam
| breakInto = Ice
| freezes = Ice
| stainEffect = Resist combustion
| ingestEffect = None
| density = 1 (Base)
| tags = water, impure, liquid
| notes = some notes go here, it explodes randomly idk

| id2 = lava_test_long_material_id_name
| name2 = Lava
| type2 = Liquid
| biomes2 = Mines, Lava Lake, Snowy Depths
| durability2 =
| lifetime2 = 10
| burnable2 = yes
| submergeEffect2 = 
| freezes2 = Rock
| stainEffect2 = {{status|on fire}}
| ingestEffect2 = {{status|internal fire|10}}
| density2 = 6
| tags2 = impure, liquid
}}