Content added Content deleted
(Created page with "<onlyinclude>{| class="infobox floatright .skin-citizen-dark" | colspan="2" | [[Image:{{{image|}}}|class=infobox-image|50px|link=]] |- | colspan="2" class="infobox-title" styl...") |
No edit summary |
||
Line 70: | Line 70: | ||
"type": "wiki-template-name", |
"type": "wiki-template-name", |
||
"autovalue": "{{}}", |
"autovalue": "{{}}", |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
"description": "How much the consumable heals per second as given on the tooltip.", |
|||
"example": "Heals 10 [[Image:health.png]] over 10 seconds.", |
|||
⚫ | |||
"required": true |
"required": true |
||
}, |
}, |
||
Line 94: | Line 87: | ||
"autovalue": "[[]]", |
"autovalue": "[[]]", |
||
"suggested": true |
"suggested": true |
||
⚫ | |||
⚫ | |||
⚫ | |||
"description": "Is this item craftable. Yes or No.", |
|||
"example": "Yes", |
|||
"type": "boolean", |
|||
⚫ | |||
⚫ | |||
} |
} |
||
}, |
}, |
||
"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": [ |
|||
"image", |
|||
"title", |
|||
"description", |
|||
"type", |
|||
"quality", |
|||
"craftable", |
|||
"vox", |
|||
"ron" |
|||
] |
|||
} |
} |
||
</templatedata> |
</templatedata> |
Revision as of 12:08, 13 May 2021
[[Image:|class=infobox-image|50px|link=]] | |
Statistics | |
Type | |
Quality | |
Craftable | |
Technical Information | |
.vox File | |
.ron File |
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 | |
---|---|---|---|---|
Image | image | The image of the consumable. Image is resized to 50px.
| File | required |
Title | title | The name of the consumable in English.
| String | required |
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 |