Template:Infobox:Clothing

From Cantr II Wiki
Revision as of 07:49, 7 October 2013 by EchoMan (talk | contribs)

Jump to: navigation, search
Template documentation[ view ] [ discuss ] [edit]

English Translation

translated from the original Spanish template documentation

{{Infobox:Clothing}} allows you to add details of all the characteristics of the manufacture of any item of clothing in a single table.

The table is located in the upper right corner and may contain: an image with its description; an alternative title for the clothing; information on the category of the clothing; the required time; the necessary tools, objects and machines.

The article is automatically added to the subcategory of clothing.

Use

Copy the text in the box below and paste it to the beginning of the page that is being edited. Complete the fields with the information you want to show. Unused fields can be erased or left incomplete.

{{Infobox:Clothing
| title        = 
| sortingname  = 
| image        = 
| resize       = 
| description  = 
| category     = 
| type         =
| time         = 
| resources    = 
| objects      = 
| tools        = 
| machines     = 
| describable  = 
}}

Parameters

  • title
    • Alternative name of the article. It is used to give title to the table and to order the article in the category in which it is included.
    • If a value for this parameter is not specified, the table is entitled with the name of the article.
    • When and how to use it?
      • When there is a language code: Remove the code. For example, title = beret for the "Baret" clothing item.
  • sortingname
    • This parameter serves as an alternative name that is not visible in the table.
    • If the two parameters name and sortingname are given value, this last precedence is used to sort the article in the categories. If none is specified, the object is ordered according to the title of the article.
    • When and how to use it?
      • When there are letters with accent marks: replace that letter with an accent. For example, sortingname = Habito de algodon for the "Hábito de algodón" clothing item.
      • When using the letter "ñ": replace that letter with an "n" and add a "!" (exclamation point) at the end. For example, sortingname = Sombrero de Canas! for the "Sombero de Cañas" clothing item.
  • image
    • It can be used to specify an image of the manufactured clothing item. It is important to detail both the name and the extension of the file.
    • Keep in mind that some images will cause the table to look too long or wide. Avoid these types of images.
    • Example: image = sandals.png
  • resize
    • adjusts the width of the image. A good manageable size is: resize = 200 or resize = 300, but use best judgement.
  • description
    • Description of the image included in the table. If an image was detailed for the object, the comment appears under it. Otherwise, the comment is not shown.
    • Example: comment = a pair of sandals.
  • category
    • The category to which the clothing item corresponds.
    • If this parameter is specified, the table shows a section with all the information on clothing. Otherwise, the section is not shown.
    • It is important to correctly specify this parameter. This is because the clothing item is added as a subcategory to the corresponding category according to this parameter. Verify the subcategory within the game build menu first.
    • Some of these categories are: "hats", "jackets", "shirts", "pants", etc. If you are not completely sure, copy the category of another similar object.
    • Example: category = hats
  • type
    • Another subcategory for the clothing
    • If this parameter is specified, the table shows a section with all the information on clothing. Otherwise, the section is not shown.
    • Not as important as type, these can describe processes or setting-related groups
    • Some of these categories could be: "miscellaneous clothing", "swimwear", "hide clothing", "crocheted items", etc.
  • time
    • Time (in days) necessary to make the clothing item. The default value is "1", but it is recommended to specify this parameter anyway.
    • Use entire numbers. If necessary to use decimal numbers regardless (remember that other languages use a comma as their decimal separator).
      • Good example 1: time = 1
      • Good example 2: time = 1.5
      • Bad example 1: time = 1.0
      • Bad example 2: time = 1/2
  • resources
    • Materials necessary to make the clothing.
    • It is advisable to use links in this parameter. If several materials need to be specified, you can use the <br> tag.
    • Example, one material: resources = 100 grams of [[hide]]
    • Example, multiple materials: resources = 100 grams of [[hide]]<br> 200 grams of [[sinew]]
    • Incorrect example: materials = none
  • objects
    • Objects necessary to make the clothing item that is being described.
    • It is advisable to use links in this parameter. If several objects need to be listed, the <br><nowiki></tt> tag can be used. ** Example, one object: <tt>objects = <nowiki>[[gold ring]]
    • Example, multiple objects: objects = [[gold ring]] <br> [[silver ring]]
    • Incorrect example: objects = none
  • tools
    • Tools necessary to make the clothing.
    • It is advisable to use links in this parameter. If several tools need to be listed, the <br> tag can be used.
    • Example, one tool: tools = [[needle]]
    • Example, multiple tools: tools = [[needle]] <br> [[knife]]
    • Incorrect example: tools = none
  • machines
    • Machines necessary to make the clothing.
    • It is advisable to use links in this parameter. If several machines are needed to specify, the <br><nowiki></tt> tag can be used. ** Example, single machine: <tt> machines = <nowiki> [[twiner]]
    • Example, multiple machines: machines = [[twiner]] <br> [iron anvil]]
    • Incorrect example: machines = none
  • describable
    • optional: displays the name of the tool that can change its description.
    • not visible in the infobox if left blank

Traducción Española

{{Infobox:Clothing}} permite detallar, en una única tabla, todas las características de la fabricación de cualquier prenda de vestir.

La tabla se ubica en la esquina superior derecha; y puede contener: una imagen con su descripcion; un título alternativo para la prenda; información sobre la categoría de la prenda; el tiempo requerido; las herramientas, objetos y máquinas necesarias.

El artículo se agrega automáticamente a la subcategoría de vestimenta correspondiente.

Uso

Copiar el texto del recuadro a continuación y pegarlo al principio de la página que se esté editando. Completar los campos con la información que se quiera mostrar. Los campos no utilizados se pueden borrar o dejar incompletos.

{{Infobox:Clothing
| title        = 
| sortingname  = 
| image        = 
| resize       = 
| description  = 
| category     = 
| type         =
| time         = 
| resources    = 
| objects      = 
| tools        = 
| machines     = 
| describable  = 
}}

Parámetros

  • nombre
    • Nombre alternativo del artículo. Se usa para dar título a la tabla y para ordenar el artículo en la categoría en que se incluye.
    • Si no se especifica un valor para este parámetro, la tabla se titula con el nombre del artículo.
    • ¿Cuándo y cómo utilizarlo?
      • Cuando haya un código de idioma: quitar el código. Por ejemplo, nombre = Boina para la prenda "Boina (es)".
  • nombreoculto
    • Ídem anterior, pero oculto. Este parámetro sirve para especificar un nombre alternativo que no se muestre en la tabla.
    • Si se da valor a los dos parámetros nombre y nombreoculto, este último toma precedencia para listar el artículo en las categorías. Si no se especifica ninguno, el objeto se ordena según el nombre del artículo.
    • ¿Cuándo y cómo utilizarlo?
      • Cuando existan letras con acento: reemplazar esa letra por una sin acento. Por ejemplo, nombreoculto = Habito de algodon para la prenda "Hábito de algodón".
      • Cuando existan letras "ñ": reemplazar esa letra por una "n" y agregar un "!" (exclamación) al final. Por ejemplo, nombreoculto = Sombrero de canas! para la prenda "Sombrero de cañas".
  • imagen
    • Se puede usar para especificar una imagen de la prenda fabricada. Es importante detallar tanto el nombre como la extensión del archivo.
    • Tener en cuenta que algunas imágenes harán que la tabla se vea extramadamente larga. Evitar este tipo de imágenes.
    • Ejemplo: imagen = Sandals.png
  • comentario
    • Descripción de la imagen incluída en la tabla. Si se detalló una imagen para el objeto, el comentario aparece debajo de ella. Caso contrario, el comentario no se muestra.
    • Ejemplo: comentario = Un par de sandalias.
  • categoria
    • La categoría a la que corresponde la prenda.
    • Si se especifica este parámetro, la tabla muestra una sección con toda la información sobre la confección de la vestimenta. Caso contrario, la sección no se muestra.
    • Es importante especificar correctamente este parámetro. Esto es debido a que la prenda se agrega a la categoría correspondiente según este parámetro. Para estar seguro qué poner aquí, verificar dentro del juego en qué categoría del menú de confección se encuentra el objeto.
    • Algunas de esas categorías son: "Sombreros", "Chaquetas", "Camisas", "Pantalones", etc. Si no se está del todo seguro, copiar la categoría que tiene otro objeto parecido.
    • Ejemplo: categoria = Sombreros
  • tiempo
    • Tiempo (en días) necesario para confecionar la prenda. El valor por defecto es "1", pero se recomienda especificar este parámetro de todas formas.
    • Usar números enteros. De ser necessario usar números decimales (recordar que en nuestro idioma el separador decimal es la coma).
    • Ejemplo bueno 1: tiempo = 1
    • Ejemplo bueno 2: tiempo = 1,5
    • Ejemplo malo 1: tiempo = 1,0
    • Ejemplo malo 2: tiempo = 1/2
  • recursos
    • Materiales necesarios para confeccionar la vestimenta.
    • Es aconsejable utilizar links en este parámetro. Si se necesitan especificar varios materiales, se puede utilizar la etiqueta <br>.
    • Ejemplo material único: materiales = 100 gramos de [[piel sin curtir]]
    • Ejemplo varios materiales: materiales = 100 gramos de [[piel sin curtir]]<br>200 gramos de [[tendón]]
    • Ejemplo incorrecto: materiales = Ninguno
  • objetos
    • Objetos necesarios para confeccionar la prenda que se está describiendo.
    • Es aconsejable utilizar links en este parámetro. Si se necesitan especificar varios objetos, se puede utilizar la etiqueta <br>.
    • Ejemplo objeto único: objetos = [[Anillo de oro]]
    • Ejemplo varios objetos: objetos = [[Anillo de oro]]<br>[[Anillo de plata]]
    • Ejemplo incorrecto: objetos = Ninguno
  • herramientas
    • Herramientas necesarias para confeccionar la vestimenta.
    • Es aconsejable utilizar links en este parámetro. Si se necesitan especificar varias herramientas, se puede utilizar la etiqueta <br>.
    • Ejemplo herramienta única: herramientas = [[Aguja]]
    • Ejemplo varias herramientas: herramientas = [[Aguja]]<br>[[Cuchillo]]
    • Ejemplo incorrecto: herramientas = Ninguna
  • maquinas
    • Máquinas necesarias para confeccionar la prenda.
    • Es aconsejable utilizar links en este parámetro. Si se necesitan especificar varias máquinas, se puede utilizar la etiqueta <br>.
    • Ejemplo máquina única: maquinas = [[Hiladora]]
    • Ejemplo varias máquinas: maquinas = [[Hiladora]]<br>[[Yunque de hierro]]
    • Ejemplo incorrecto: maquinas = Ninguna