Template:Item/es

From Vintage Story Wiki
This page is a translated version of the page Template:Item and the translation is 100% complete.


[view | edit | history | purge this page]Documentation

Esta plantilla crea un cuadro de información para los objetos del juego. Contiene las subcategorías de {{Item/Food}}, {{Item/Fuel}}, {{Item/Smeltable}} y {{Item/Transitionable}} para algunos tipos específicos de objetos.

Uso

La caja de información sobre objetos debe ser colocada en la parte superior del artículo, encima del texto introductorio, pero debajo de cualquier marca de traducción cuando sea posible. No todas las cajas de información sobre objetos requieren todos los parámetros - bórralos conforme sea apropiado.

{{Item
|Name=Nombre del objeto
|Image=El nombre completo de la imagen con el prefijo "File:" y la extensión del objeto ".png"
|Material=Nombre del objeto
|Stackable=Tamaño apilable máximo, predeterminado es de 64

|Temp=Temperatura a la cual el objeto se quema cuando se usa como combustible
|Duration=Duración de combustión en segundos

|SmeltTemp=Temperatura de fusión del metal
|RequiresContainer=Si la fundición requiere o no un contenedor
|OutputLink=<span lang="en" dir="ltr" class="mw-content-ltr">Link to the container's (e.g. a mold) wiki page in your prefered language (you do not need to write Special:MyLanguage/)</span>
|OutputName=<span lang="en" dir="ltr" class="mw-content-ltr">Container name to be displayed (or its translation)</span>
|OutputAmount=<span lang="en" dir="ltr" class="mw-content-ltr">Number of items obtained after emptying the container, defaults to 1</span>

|FreshTime=<span lang="en" dir="ltr" class="mw-content-ltr">Time the item stays fresh (e.g. time before you see it as 0% spoiled)</span>
|TransitionTime=<span lang="en" dir="ltr" class="mw-content-ltr">Time the item takes to turn into something else (e.g. time between 0% spoiled to 100% spoiled)</span>
|TransitionRatio=<span lang="en" dir="ltr" class="mw-content-ltr">Conversion ratio of fresh stacksize to transitioned stack size (e.g. 10 onions turned into 5 rot: 0.5)</span>

|Satiety=<span lang="en" dir="ltr" class="mw-content-ltr">Satiety points the item provides</span>
|Category=<span lang="en" dir="ltr" class="mw-content-ltr">Satiety category of the item. One of the 7 allowed options (e.g. Protein)</span>

|FloatRight=<span lang="en" dir="ltr" class="mw-content-ltr">Whether or not the box should float on the right side of the page (so you don't have to use a <div></div> tag)</span>
|NoBreak=<span lang="en" dir="ltr" class="mw-content-ltr">Whether or not the item box should end in a line break</span>
}}

When translation tagging, enclose strings in translation tags rather than the entire template - see the example below.

Parámetros

Parámetros Descripción Tipo Requerido
Parámetro1 Description of what parameter1 is string/boolean/file/number/any yes/no/suggested
Name Nombre del objeto string si
Image Filename of an image, including "File:" prefix and ".png" suffix file si
Material Material of the item string no
Stackable Maximum stack size, default 64 number suggested
Temp Burning temperature number no
Duration Burn duration in seconds number no
SmeltTemp Smelting temperature of the metal número yes for Item/Smeltable
RequiresContainer Whether or not smelting requires a container string
(write anything for "yes"
remove this line for "no")
no
OutputLink Smelting output container page link string yes if RequiresContainer is present
OutputName Smelting output container name string yes if RequiresContainer is present
OutputAmount Amount of items obtained after emptying the container number yes if OutputName is present
FreshTime The amount of time this item stays fresh / untransitioned string yes for Item/Transitionable
TransitionTime The amount of time it takes for the item to transition e.g. from 0% spoiled to 100% spoiled string yes for Item/Transitionable
TransitionRatio Conversion ratio of fresh stacksize to transitioned stack size e.g. 10 apples transition to 5 rots = 0.50 float no
Satiety Satiety points the item provides number yes for Item/Food
Category Satiety category of the item. One of the 7 allowed options (e.g. Protein) string yes for Item/Food
FloatRight Whether or not the box should float on the right side of the page
(so you don't have to use a <div></div> tag)
any no
NoBreak Whether or not the item box should end in a line break any no

Examples

Code Result
{{Item
|Name=Copper Ingot
|Image=File:Grid Copper Ingot.png
|Material=Metal
|Stackable=16
|SmeltTemp=1084
|RequiresContainer=Yes
|OutputLink=Ingot_mold
|OutputName=Ingot mold
|OutputAmount=1
|FloatRight=yes
|NoBreak=yes
}}
Copper Ingot
Material Metal
Apilable 16
Fundible
Punto de fusión 1084°C
Requiere contenedor Sí
Salida Ingot mold
Cantidad producida 1
Objetos


</translate>

{{Item
|Name=<translate>Turnip</translate>
|Image=File:Grid turnip.png
|Stackable=64
|FreshTime=<translate>21 days</translate>
|TransitionTime=<translate>48 hours</translate>
|TransitionRatio=0.5
|Satiety=100
|Category=Vegetable
|FloatRight=yes
|NoBreak=yes
}}
<translate>


n.b. the translate tags "disappear" when put on a page that is properly marked for translation.

The translator will not see any code. He will only see 3 sentences to translate:

  • Turnip
  • 21 days
  • 48 hours

The Category parameter for foods should not be marked for translation anymore. It auto-translates if Template:Item/Food/Category itself is translated.

Turnip
Apilable 64
Comida
Saciedad 100
Categoría

Verduras


Transicionable
Tiempo de frescura 21 days
Tiempo de transición 48 hours
Proporción de transición 0.5
Objetos


[view | edit | history | purge this page]The above documentation is transcluded from Template:Item/doc/es.