Jefferzoonn (talk | contribs) (Created page with "<onlyinclude>{| class="infobox floatright .skin-citizen-dark" | colspan="2" | [[Image:{{{image|}}}|{{{imagesize|}}}px|class=infobox-image|link=]] |- | colspan="2" class="infobox-title" style="font-size: 150%" | {{{title|}}} |- | colspan="2" class="infobox-text"" style="text-align: center; font-weight: normal; font-size: 90%; font-style: italic;" | {{{description|}}} |- | colspan="2" class="infobox-title" style="font-size: 90%;" | Estadísticas |- | colspan="2" style="hei...") |
m (Changed {{PAGENAME}} to {{BASEPAGENAME}} so it retrieves images from the base. Added titulo parameter for espanol title. enjoy !) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude>{ |
<onlyinclude>{{Navbox}} |
||
⚫ | |||
{| class="infobox floatright .skin-citizen-dark" |
|||
⚫ | |||
|- |
|- |
||
| colspan="2" class="infobox-title" style="font-size: 150%" | {{{ |
| colspan="2" class="infobox-title" style="font-size: 150%" | {{{titulo|}}} |
||
|- |
|- |
||
| 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 39: | Line 41: | ||
|} |
|} |
||
<includeonly> |
<includeonly> |
||
[[Category: |
[[Category:Ingredients]] |
||
</includeonly> |
</includeonly> |
||
</onlyinclude> |
</onlyinclude> |
||
Line 46: | Line 48: | ||
{ |
{ |
||
"params": { |
"params": { |
||
⚫ | |||
⚫ | |||
"description": "The image of the consumable. Image is resized to 50px.", |
|||
"example": "item_honey.png", |
|||
"type": "wiki-file-name", |
|||
"default": "image.png", |
|||
⚫ | |||
⚫ | |||
"title": { |
|||
⚫ | |||
"description": "The name of the consumable in English.", |
|||
"example": "Honey", |
|||
"type": "string", |
|||
⚫ | |||
}, |
|||
"description": { |
"description": { |
||
"label": "Description", |
"label": "Description", |
||
Line 127: | Line 114: | ||
"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 |
"suggested": true |
||
}, |
|||
"imagesize": { |
|||
"label": "Image Size", |
|||
"description": "The image size without the px at the end. ", |
|||
"example": "50", |
|||
"type": "number", |
|||
"required": true |
|||
}, |
}, |
||
"sprite": { |
"sprite": { |
||
"label": "In-Game Sprite", |
"label": "In-Game Sprite", |
||
"description": "The image of the in game sprite.", |
"description": "The image of the in game sprite.", |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
"suggested": true |
"suggested": true |
||
} |
} |
||
Line 143: | Line 129: | ||
"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": [ |
||
" |
"titulo", |
||
"title", |
|||
"in-game sprite", |
"in-game sprite", |
||
"description", |
"description", |
||
Line 154: | Line 139: | ||
"manifest", |
"manifest", |
||
"spawnrules", |
"spawnrules", |
||
"imagesize", |
|||
"sprite" |
"sprite" |
||
] |
] |
Latest revision as of 12:49, 20 October 2022
Estadísticas | |
In-Game Sprite | |
Tipo | |
Calidad | |
Crafteable | |
Información Técnica | |
.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 | |
---|---|---|---|---|
Título del la pagina | titulo | no description | String | required |
In-Game Sprite | in-game sprite | The inventory sprite for the item.
| File | 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 |
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 |
In-Game Sprite | sprite | The image of the in game sprite. | Unknown | suggested |