Template:Infobox material

From Noita Wiki
Jump to navigation Jump to search

This template defines the table "Materials". View table.

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.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
namename

The name of the material

Default
{{PAGENAME}}
Example
Water
Stringsuggested
idid

The internal material name

Example
rock_static
Stringsuggested
wangwang

The material's Wang Pixel colour

Example
69F6c420
Stringsuggested
imageimage

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

Example
Water.png
Filesuggested
iconicon

The example images of the material in-game.

Example
Water.png
Filesuggested
typetype

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

Example
Solid
Stringrequired
biomesbiomes

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

Page namesuggested
densitydensity

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

Example
2
Numberrequired
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

Numbersuggested
hardnesshardness

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

Numbersuggested
lifetimelifetime

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

Numbersuggested
conductiveconductive

Whether or not a material conducts electricity.

Booleansuggested
burnableburnable

Whether or not a material can be set aflame.

Booleansuggested
slipperyslippery

Whether or not a material functions as a slippery surface.

Booleansuggested
freezesfreezes

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

Stringsuggested
meltsmelts

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

Stringsuggested
stainEffectstainEffect

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

Example
Makes the player Wet.
Stringsuggested
ingestEffectingestEffect

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

Stringsuggested
submergeEffectsubmergeEffect

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

Stringsuggested
breakIntobreakInto

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

Stringsuggested
tagstags

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

Stringsuggested
notesnotes

Any additional noteworthy features of the material.

Stringsuggested

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
}}