Veloren Wiki Template:Infobox ingredient

Template:Infobox ingredient

Template page
[[Image:|class=infobox-image|50px|link=]]
Statistics
Type
Quality
Craftable
Technical Information
.vox File
.ron File
Sprite Manifest
Spawn Rules

An infobox template used for all types of ingredients. Not to be confused with consumables, this is for items that do not heal but are used on crafting recipes.

Template parameters

ParameterDescriptionTypeStatus
Imageimage

The image of the consumable. Image is resized to 50px.

Default
image.png
Example
item_honey.png
Filerequired
Titletitle

The name of the consumable in English.

Example
Honey
Stringrequired
Descriptiondescription

The description of the ingredient as given on the tooltip when you hover over it. Place it in " ".

Example
"From a beehive."
Auto value
""
Stringrequired
Typetype

The type of consumable.

Example
Basic
Auto value
Stringrequired
Qualityquality

The quality colour of the consumable.

Example
{{Common}}
Auto value
{{}}
Templaterequired
Craftablecraftable

Is this item craftable. Yes or No.

Example
Yes
Auto value
Booleanrequired
.vox Filevox

The file link as linked on gitlab.com/veloren/veloren. Place the link in the [[]] and add a space after the url with the text you want to display in the infobox.

Example
[[www.veloren.net Veloren]]
Auto value
[[]]
URLsuggested
.ron Fileron

The gitlab link to the .ron file. Place the url in the [[]] with a space after the text. Then add what you want to show in the infobox.

Example
[[www.veloren.net Veloren]]
Auto value
[[]]
URLsuggested
Sprite Manifestmanifest

The link to the line of code in the sprite manifest

Example
[https://gitlab.com/veloren/veloren/-/blob/master/assets/voxygen/voxel/sprite_manifest.ron#L2217 sprite_mani2217 beehive #2217]
Unknownsuggested
Spawn Rulesspawnrules

The link to the line in world/src/layer/scatter.rs

Unknownsuggested