Template:MaterialQuery/doc

From Noita Wiki
Jump to navigation Jump to search

A template for querying the Materials Cargo table.

Template parameters

ParameterDescriptionTypeStatus
typetype

The types of materials to return, comma-separated.

Example
solid,liquid,gas
Stringoptional
namename

The names of materials to return, comma-separated

Example
brickwork,wood
Stringoptional
tagstags

Any tags the materials must have, comma-separated

Example
magic_liquid
Stringoptional
limitlimit

The maximum number of results to return, defaults to 400

Example
400
Numberoptional
sqlsql

Override the sql query.

Example
tags LIKE "%sand_ground%" AND tags NOT LIKE "%frozen%"
Stringoptional

Usage

{{MaterialQuery
| type = 
| name =
| tags =
}}

Examples

{{MaterialQuery
| type = solid
| name = brickwork
}}
Brickwork as shown in-world
templebrick_noedge_static
Brickwork as shown in-world
templebrick_box2d_edgetiles
Brickwork as shown in-world
templebrick_box2d
Brickwork as shown in-world
templebrick_red
Brickwork as shown in-world
templebrick_static_broken
Brickwork as shown in-world
templerock_soft
Brickwork as shown in-world
templeslab_crumbling_static
Brickwork as shown in-world
templeslab_static
Brickwork as shown in-world
templebrick_static_soft
Brickwork as shown in-world
templebrickdark_static
Brickwork as shown in-world
templebrick_thick_static_noedge
Brickwork as shown in-world
templebrick_thick_static
Brickwork as shown in-world
templerock_static
Brickwork as shown in-world
templebrick_static
Diamond Brickwork as shown in-world
templebrick_diamond_static
Mossy Brickwork as shown in-world
templebrick_moss_static
Odd Brickwork as shown in-world
wizardstone


{{MaterialQuery
| type = solid,powder
| tags = gold
}}
Gold as shown in-world
gold
Toxic Gold as shown in-world
gold_radioactive
Gold as shown in-world
gold_box2d
Gold as shown in-world
gold_b2
Gold Vein as shown in-world
gold_static
Ruby as shown in-world
bloodgold_box2d
Toxic Gold as shown in-world
gold_static_radioactive
Vibrant Gold Vein as shown in-world
gold_static_dark


{{MaterialQuery
| sql = tags HOLDS "sand_ground" AND tags HOLDS NOT "frozen" AND tags HOLDS NOT "meat"
}}
Barren Soil as shown in-world
soil_dark
Barren Soil as shown in-world
soil_dead
Blue Sand as shown in-world
sand_blue
Bone Dust as shown in-world
bone
Dirt as shown in-world
explosion_dirt
Fungal Soil as shown in-world
fungisoil
Mud as shown in-world
Mud as shown in a powder pouch
mud
Sand as shown in-world
sand_petrify
Sand as shown in-world
sand_surface
Sand as shown in-world
sand
Sandstone as shown in-world
sandstone
Sandstone as shown in-world
sandstone_surface
Soil as shown in-world
soil
Soil as shown in-world
soil_lush
Soil as shown in-world
soil_lush_dark
Volcanic Sand as shown in-world
lavasand
Vine as shown in-world
root
Vine as shown in-world
vine