Template:Infobox ingredient base/es: Difference between revisions

Template page
Content added Content deleted
(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...")
 
(Same modification as the english template : Removed title and image parameters so users don't have to type. It will automatically create the image with the correct name : Veloren_PageName.png, same for title.)
Line 1: Line 1:
<onlyinclude>{| class="infobox floatright .skin-citizen-dark"
<onlyinclude>{| class="infobox floatright .skin-citizen-dark"
| colspan="2" | [[Image:{{{image|}}}|{{{imagesize|}}}px|class=infobox-image|link=]]
| colspan="2" | [[Image:Veloren_{{PAGENAME}}.png|120px|class=infobox-image|link=]]
|-
|-
| colspan="2" class="infobox-title" style="font-size: 150%" | {{{title|}}}
| 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 39: Line 39:
|}
|}
<includeonly>
<includeonly>
[[Category:Base Ingredients]]
[[Category:Ingredients]]
</includeonly>
</includeonly>
</onlyinclude>
</onlyinclude>
Line 46: Line 46:
{
{
"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 127: Line 112:
"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": {
Line 143: Line 121:
"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",
"in-game sprite",
"description",
"description",
Line 154: Line 130:
"manifest",
"manifest",
"spawnrules",
"spawnrules",
"imagesize",
"sprite"
"sprite"
]
]

Revision as of 11:55, 27 September 2022

File:Veloren Infobox ingredient base/es.png
Infobox ingredient base/es
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..

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
In-Game Spritein-game sprite

The inventory sprite for the item.

Default
image.png
Example
image.png
Filerequired
Descriptiondescription

The description of the ingredient as given on the tooltip when you hover over it. Place it in " ".

Example
"From a beehive."
Auto value
""
Stringrequired
Typetype

The type of consumable.

Example
Basic
Auto value
Stringrequired
Qualityquality

The quality colour of the consumable.

Example
{{Common}}
Auto value
{{}}
Templaterequired
Craftablecraftable

Is this item craftable. Yes or No.

Example
Yes
Auto value
Booleanrequired
.vox Filevox

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.

Example
[[www.veloren.net Veloren]]
Auto value
[[]]
URLsuggested
.ron Fileron

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.

Example
[[www.veloren.net Veloren]]
Auto value
[[]]
URLsuggested
Sprite Manifestmanifest

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]
Unknownsuggested
Spawn Rulesspawnrules

The link to the line in world/src/layer/scatter.rs

Unknownsuggested
In-Game Spritesprite

The image of the in game sprite.

Unknownsuggested
Cookies help us deliver our services. By using our services, you agree to our use of cookies.