m (added left padding) |
mNo edit summary Tag: 2017 source edit |
||
Line 12: | Line 12: | ||
| colspan="2" style="height: 10px;" | |
| colspan="2" style="height: 10px;" | |
||
|- |
|- |
||
| class="infobox-texttitle" | Type |
| class="infobox-texttitle" style="padding-right:10px"| Type |
||
| class="infobox-text" |
| class="infobox-text" | [[Ingredients_Lists#{{{type|}}}|{{{type|}}}]] |
||
|- |
|- |
||
| class="infobox-texttitle" | [[Quality]] |
| class="infobox-texttitle" style="padding-right:10px"| [[Quality]] |
||
| class="infobox-text" |
| class="infobox-text" | {{{quality|}}} |
||
|- |
|- |
||
| class="infobox-texttitle" | Craftable |
| class="infobox-texttitle" style="padding-right:10px"| Craftable |
||
| class="infobox-text" |
| class="infobox-text" | {{#ifexpr: {{{craftable|}}} | Yes | No}} |
||
|- |
|- |
||
| colspan="2" style="height: 10px;" | |
| colspan="2" style="height: 10px;" | |
||
Line 25: | Line 25: | ||
| colspan="2" class="infobox-title" | Technical Information |
| colspan="2" class="infobox-title" | Technical Information |
||
|- |
|- |
||
| class="infobox-texttitle" | .vox File |
| class="infobox-texttitle" style="padding-right:10px"| .vox File |
||
| class="infobox-text" |
| class="infobox-text" | {{{vox|}}} |
||
|- |
|- |
||
| class="infobox-texttitle" | .ron File |
| class="infobox-texttitle" style="padding-right:10px"| .ron File |
||
| class="infobox-text" |
| class="infobox-text" | {{{ron|}}} |
||
|- |
|- |
||
{{#ifexpr: {{{craftable|}}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
{{!}}- |
|||
⚫ | |||
}} |
|||
⚫ | |||
⚫ | |||
|} |
|} |
||
<includeonly> |
<includeonly> |
Revision as of 12:37, 28 July 2023
Infobox ingredient | |
Statistics | |
Type | [[Ingredients_Lists#|]] |
Quality | |
Craftable | No |
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 |
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 |