Content added Content deleted
mNo edit summary |
mNo edit summary |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude>{ |
<onlyinclude>{{Navbox}} |
||
{| class="infobox floatright .skin-citizen-dark" style="width:200px" |
|||
| colspan="2" class="infobox-image" | [[Image:Veloren_{{PAGENAME}}.png|class=infobox-image| |
| colspan="2" class="infobox-image" | [[Image:Veloren_{{PAGENAME}}.png|class=infobox-image|200x200px|link=]] |
||
|- |
|- |
||
| colspan="2" class="infobox-title" style="font-size: 150%" | {{PAGENAME}} |
| colspan="2" class="infobox-title" style="font-size: 150%" | {{PAGENAME}} |
||
Line 10: | Line 11: | ||
| 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" | [[Ingredients_Lists#{{{type|}}}|{{{type|}}}]] |
| class="infobox-text" | [[Ingredients_Lists#{{{type|}}}|{{{type|}}}]] |
||
|- |
|- |
||
| class="infobox-texttitle" | [[Quality]] |
| class="infobox-texttitle" style="padding-right:10px"| [[Quality]] |
||
| class="infobox-text" | {{{quality|}}} |
| class="infobox-text" | {{{quality|}}} |
||
|- |
|- |
||
| class="infobox-texttitle" | Craftable |
| class="infobox-texttitle" style="padding-right:10px"| Craftable |
||
| class="infobox-text" | {{{craftable|}}} |
| class="infobox-text" | {{#ifexpr: {{{craftable|}}} | Yes | No}} |
||
|- |
|- |
||
| colspan="2" style="height: 10px;" | |
| colspan="2" style="height: 10px;" | |
||
Line 23: | Line 24: | ||
| 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" | {{{vox|}}} |
| class="infobox-text" | [{{{vox|}}}] |
||
|- |
|- |
||
| class="infobox-texttitle" | .ron File |
| class="infobox-texttitle" style="padding-right:10px"| .ron File |
||
| class="infobox-text" | {{{ron|}}} |
| class="infobox-text" | [{{{ron|}}}] |
||
|- |
|- |
||
{{#ifexpr: {{{craftable|}}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
{{!}}- |
|||
}} |
|||
⚫ | |||
| class="infobox-text" | {{{manifest|}}} |
| class="infobox-text" | {{{manifest|}}} |
||
|} |
|} |
||
<includeonly> |
|||
[[Category:Ingredients]] |
[[Category:Ingredients]] |
||
</includeonly> |
|||
</onlyinclude> |
</onlyinclude> |
||
<noinclude> |
<noinclude> |
||
Line 53: | Line 55: | ||
"type": { |
"type": { |
||
"label": "The type of ingredient (sub from Ingredients Lists): ", |
"label": "The type of ingredient (sub from Ingredients Lists): ", |
||
"description": "Choose one of its subcategory : |
"description": "Choose one of its subcategory :", |
||
"example": " |
"example": "Hides", |
||
"type": "string", |
"type": "string", |
||
"autovalue": "", |
"autovalue": "", |
||
"required": true |
"required": true, |
||
"suggestedvalues": [ |
|||
"Animal Materials", |
|||
"Feathers, Fibers, Vines", |
|||
"Logs", |
|||
"Plants", |
|||
"Flowers", |
|||
"Ores", |
|||
"Gems", |
|||
"Ingots", |
|||
"Leathers", |
|||
"Hides", |
|||
"Textiles" |
|||
] |
|||
}, |
}, |
||
"quality": { |
"quality": { |
||
⚫ | |||
"label": "Quality. Choose and type one of them between the {{ }} : Low, Common, Moderate, High, Epic, Legendary", |
|||
"description": "The quality colour of the |
"description": "The quality colour of the ingredient :", |
||
"example": "{{Common}}", |
"example": "{{Common}}", |
||
"type": " |
"type": "string", |
||
"autovalue": "{{}}", |
"autovalue": "{{unknown}}", |
||
"required": true |
"required": true, |
||
"suggestedvalues": [ |
|||
"{{Low}}", |
|||
"{{Common}}", |
|||
"{{Moderate}}", |
|||
"{{High}}", |
|||
"{{Epic}}", |
|||
"{{Legendary}}" |
|||
] |
|||
}, |
}, |
||
"vox": { |
"vox": { |
||
"label": ".vox File", |
"label": ".vox File", |
||
"description": "The file link as linked on gitlab.com/veloren/veloren |
"description": "The file link as linked on gitlab.com/veloren/veloren.", |
||
"example": " |
"example": "www.veloren.net", |
||
"type": " |
"type": "string", |
||
"autovalue": " |
"autovalue": "", |
||
"suggested": true |
"suggested": true |
||
}, |
}, |
||
"ron": { |
"ron": { |
||
"label": ".ron File", |
"label": ".ron File", |
||
"description": "The gitlab link to the .ron file |
"description": "The gitlab link to the .ron file.", |
||
"example": " |
"example": "www.veloren.net Veloren", |
||
"type": "url", |
"type": "url", |
||
"autovalue": " |
"autovalue": "", |
||
"suggested": true |
"suggested": true |
||
}, |
}, |
||
"craftable": { |
"craftable": { |
||
"label": "Craftable", |
"label": "Craftable", |
||
"description": "Is this item craftable |
"description": "Is this item craftable ?", |
||
⚫ | |||
"type": "boolean", |
"type": "boolean", |
||
"autovalue": "", |
"autovalue": "0", |
||
"required": true |
"required": true |
||
}, |
}, |
||
Line 121: | Line 143: | ||
"manifest", |
"manifest", |
||
"spawnrules" |
"spawnrules" |
||
] |
], |
||
"format": "block" |
|||
} |
} |
||
</templatedata> |
</templatedata> |
||
⚫ | |||
[[Category:Infoboxes]][[Category:Templates]][[Category:Formatting Templates]] |
[[Category:Infoboxes]][[Category:Templates]][[Category:Formatting Templates]] |
||
⚫ |
Latest revision as of 16:33, 29 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.
| String | suggested |
.ron File | ron | The gitlab link to the .ron file.
| 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 |