m (1 revision imported) |
mNo edit summary |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude>{ |
<onlyinclude>{{Navbox}} |
||
{| class="infobox floatright .skin-citizen-dark" |
|||
| colspan="2" | [[Image:{{ |
| colspan="2" | [[Image:Veloren_{{PAGENAME}}.png|120px|class=infobox-image|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 11: | Line 12: | ||
|- |
|- |
||
| class="infobox-texttitle" | In-Game Sprite |
| class="infobox-texttitle" | In-Game Sprite |
||
| class="infobox-text" | |
| class="infobox-text" | (coming soon, until we solve page with broken link) |
||
|- |
|- |
||
| class="infobox-texttitle" | Type |
| class="infobox-texttitle" | Type |
||
| class="infobox-text" | {{{type|}}} |
| class="infobox-text" | [[Ingredients_Lists#{{{type|}}}|{{{type|}}}]] |
||
|- |
|- |
||
| class="infobox-texttitle" | [[Quality]] |
| class="infobox-texttitle" | [[Quality]] |
||
Line 37: | Line 38: | ||
| class="infobox-texttitle" | Spawn Rules |
| class="infobox-texttitle" | Spawn Rules |
||
| class="infobox-text" | {{{spawnrules|}}} |
| class="infobox-text" | {{{spawnrules|}}} |
||
|} |
|||
⚫ | |||
<includeonly> |
|||
[[Category:Ingredients]] |
|||
</includeonly> |
|||
⚫ | |||
<noinclude> |
<noinclude> |
||
<templatedata> |
<templatedata> |
||
{ |
{ |
||
"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 63: | Line 53: | ||
"type": "string", |
"type": "string", |
||
"autovalue": "\"\"", |
"autovalue": "\"\"", |
||
"required": true |
|||
}, |
|||
"in-game sprite": { |
|||
"label": "In-Game Sprite", |
|||
"description": "The inventory sprite for the item.", |
|||
"example": "image.png", |
|||
"type": "wiki-file-name", |
|||
"default": "image.png", |
|||
"required": true |
"required": true |
||
}, |
}, |
||
"type": { |
"type": { |
||
"label": " |
"label": "The type of ingredient (from [[Ingredients_Lists]]): ", |
||
"description": "Choose one of its subcategory : Animal Materials, Raw Meats, Feathers, Fibers, Vines, Miscs, Hides, Logs, Plants, Flowers, Ores, Gems, Cheese, Dishes, Drinks, Cooked Meats, Sticks, Leathers, Ingots, Potions, Textiles", |
|||
"description": "The type of consumable.", |
|||
"example": " |
"example": "Drinks", |
||
"type": "string", |
"type": "string", |
||
"autovalue": "", |
"autovalue": "", |
||
Line 122: | Line 104: | ||
"description": "The link to the line of code in the sprite manifest", |
"description": "The link to the line of code in the sprite manifest", |
||
"example": "[https://gitlab.com/veloren/veloren/-/blob/master/assets/voxygen/voxel/sprite_manifest.ron#L2217 sprite_mani2217 beehive #2217]", |
"example": "[https://gitlab.com/veloren/veloren/-/blob/master/assets/voxygen/voxel/sprite_manifest.ron#L2217 sprite_mani2217 beehive #2217]", |
||
"suggested": true |
|||
}, |
|||
"imagesize": { |
|||
"label": "Image Size", |
|||
"description": "The image size without the px at the end. ", |
|||
"example": "50", |
|||
"type": "number", |
|||
"required": true |
|||
}, |
|||
"sprite": { |
|||
"label": "In-Game Sprite", |
|||
"description": "The image of the in game sprite.", |
|||
"suggested": true |
"suggested": true |
||
} |
} |
||
Line 139: | Line 109: | ||
"description": "A modified infobox for ingredients that doesn't have the 50px limitation on the image..", |
"description": "A modified infobox for ingredients that doesn't have the 50px limitation on the image..", |
||
"paramOrder": [ |
"paramOrder": [ |
||
"image", |
|||
"title", |
|||
"in-game sprite", |
|||
"description", |
"description", |
||
"type", |
"type", |
||
Line 149: | Line 116: | ||
"ron", |
"ron", |
||
"manifest", |
"manifest", |
||
"spawnrules" |
"spawnrules" |
||
⚫ | |||
"imagesize", |
|||
"format": "block" |
|||
"sprite" |
|||
⚫ | |||
} |
} |
||
</templatedata> |
</templatedata> |
||
[[Category:Templates]] |
|||
</noinclude> |
</noinclude> |
Latest revision as of 16:37, 19 October 2022
Infobox ingredient base | |
Statistics | |
In-Game Sprite | (coming soon, until we solve page with broken link) |
Type | [[Ingredients_Lists#|]] |
Quality | |
Craftable | |
Technical Information | |
.vox File | |
.ron File | |
Sprite Manifest | |
Spawn Rules |
A modified infobox for ingredients that doesn't have the 50px limitation on the image..
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 (from [[Ingredients_Lists]]): | type | Choose one of its subcategory : Animal Materials, Raw Meats, Feathers, Fibers, Vines, Miscs, Hides, Logs, Plants, Flowers, Ores, Gems, Cheese, Dishes, Drinks, Cooked Meats, Sticks, Leathers, Ingots, Potions, Textiles
| 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 |