m (Changed infobox format/display style to block.) |
m (added padding-left: 10px) |
||
Line 13: | Line 13: | ||
|- |
|- |
||
| class="infobox-texttitle" | Type |
| class="infobox-texttitle" | Type |
||
| class="infobox-text" | [[Ingredients_Lists#{{{type|}}}|{{{type|}}}]] |
| class="infobox-text" style="padding-left:10px"| [[Ingredients_Lists#{{{type|}}}|{{{type|}}}]] |
||
|- |
|- |
||
| class="infobox-texttitle" | [[Quality]] |
| class="infobox-texttitle" | [[Quality]] |
||
Line 19: | Line 19: | ||
|- |
|- |
||
| class="infobox-texttitle" | Craftable |
| class="infobox-texttitle" | Craftable |
||
| class="infobox-text" | {{#ifexpr: {{{craftable|}}} | Yes | No}} |
| class="infobox-text" style="padding-left:10px"| {{#ifexpr: {{{craftable|}}} | Yes | No}} |
||
|- |
|- |
||
| colspan="2" style="height: 10px;" | |
| colspan="2" style="height: 10px;" | |
||
Line 26: | Line 26: | ||
|- |
|- |
||
| class="infobox-texttitle" | .vox File |
| class="infobox-texttitle" | .vox File |
||
| class="infobox-text" | {{{vox|}}} |
| class="infobox-text" style="padding-left:10px"| {{{vox|}}} |
||
|- |
|- |
||
| class="infobox-texttitle" | .ron File |
| class="infobox-texttitle" | .ron File |
||
| class="infobox-text" | {{{ron|}}} |
| class="infobox-text" style="padding-left:10px"| {{{ron|}}} |
||
|- |
|- |
||
| class="infobox-texttitle" | Recipe |
| class="infobox-texttitle" | Recipe |
||
| class="infobox-text" | {{#if:{{{recipe|}}}|[https://gitlab.com/veloren/veloren/-/blob/master/assets/common/recipe_book.ron#L{{{recipe|}}}]|}} |
| class="infobox-text" style="padding-left:10px"| {{#if:{{{recipe|}}}|[https://gitlab.com/veloren/veloren/-/blob/master/assets/common/recipe_book.ron#L{{{recipe|}}}]|}} |
||
|- |
|- |
||
| class="infobox-texttitle" | Sprite Manifest |
| class="infobox-texttitle" | Sprite Manifest |
||
| class="infobox-text" | {{{manifest|}}} |
| class="infobox-text" style="padding-left:10px"| {{{manifest|}}} |
||
|} |
|} |
||
<includeonly> |
<includeonly> |
Revision as of 05:34, 26 July 2023
Infobox ingredient | |
Statistics | |
Type | [[Ingredients_Lists#|]] |
Quality | |
Craftable | No |
Technical Information | |
.vox File | |
.ron File | |
Recipe | |
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 |
The type of ingredient (sub from Ingredients Lists): | type | Choose one of its subcategory :
| String | required |
Quality | quality | The quality colour of the ingredient :
| String | required |
Craftable | craftable | Is this item craftable ?
| 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 |
Number of the line of code to the recipe | recipe | The link to the line of code in the recipe book : https://gitlab.com/veloren/veloren/-/blob/master/assets/common/recipe_book.ron#L### where ### is a number
| Number | 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 |