m (wrap category with includeonly to prevent template getting category for the page) |
(Removed title and image parameters. Automated with {{PAGENAME}}) |
||
Line 1: | Line 1: | ||
<onlyinclude>{| class="infobox floatright .skin-citizen-dark" |
<onlyinclude>{| class="infobox floatright .skin-citizen-dark" |
||
| colspan="2" class="infobox-image" |
| colspan="2" class="infobox-image" | [[Image:Veloren_{{PAGENAME}}.png|class=infobox-image|240px|link=]] |[[Image:{{PAGENAME}}.png|class=infobox-image|240px|link=]]}} |
||
|- |
|- |
||
| colspan="2" class="infobox-title" style="font-size: 150%" | {{ |
| colspan="2" class="infobox-title" style="font-size: 150%" | {{PAGENAME}} |
||
|- |
|- |
||
| colspan="2" class="infobox-text"" style="text-align: center; font-weight: normal; font-size: 90%; font-style: italic;" | {{{description|}}} |
| colspan="2" class="infobox-text"" style="text-align: center; font-weight: normal; font-size: 90%; font-style: italic;" | {{{description|}}} |
||
Line 40: | Line 40: | ||
{ |
{ |
||
"params": { |
"params": { |
||
"image": { |
|||
"label": "Image", |
|||
"description": "The image of the consumable. Image is resized to 50px.", |
|||
"example": "item_honey.png", |
|||
"type": "wiki-file-name", |
|||
"default": "image.png", |
|||
"required": true |
|||
}, |
|||
"title": { |
|||
"label": "Title", |
|||
"description": "The name of the consumable in English.", |
|||
"example": "Honey", |
|||
"type": "string", |
|||
"required": true |
|||
}, |
|||
"description": { |
"description": { |
||
"label": "Description", |
"label": "Description", |
||
Line 117: | Line 102: | ||
"description": "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.", |
"description": "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.", |
||
"paramOrder": [ |
"paramOrder": [ |
||
"image", |
|||
"title", |
|||
"description", |
"description", |
||
"type", |
"type", |
Revision as of 16:25, 24 September 2022
|File:Infobox ingredient.png}} | |
Infobox ingredient | |
Statistics | |
Type | |
Quality | |
Craftable | |
Technical Information | |
.vox File | |
.ron File | |
Sprite Manifest |
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Description | description | The description of the ingredient as given on the tooltip when you hover over it. Place it in " ".
| String | required |
Type | type | The type of consumable.
| String | required |
Quality | quality | The quality colour of the consumable.
| Template | required |
Craftable | craftable | Is this item craftable. Yes or No.
| Boolean | required |
.vox File | vox | 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.
| URL | suggested |
.ron File | ron | 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.
| URL | suggested |
Sprite Manifest | manifest | The link to the line of code in the sprite manifest
| Unknown | suggested |
Spawn Rules | spawnrules | The link to the line in world/src/layer/scatter.rs | Unknown | suggested |