Difference between revisions of "Template:Infobox:Holdable"

From Cantr II Wiki
Jump to: navigation, search
m (Reverted edits by Joshuamonkey (Talk); changed back to last version by EchoMan)
m
 
(5 intermediate revisions by 3 users not shown)
Line 4: Line 4:
 
| item0s1  = {{if|test={{{attack|}}}|then=Attack|else=}}
 
| item0s1  = {{if|test={{{attack|}}}|then=Attack|else=}}
 
| info0s1  = {{{attack}}}
 
| info0s1  = {{{attack}}}
| item1s1  = {{if|test={{{attack|}}}|then=Skillweight|else=}}
+
| item1s1   = {{if|test={{{attack_anim|}}}|then=Attack vs. animals|else=}}
| info1s1   = {{if|test={{{skillweight|}}}|then={{{skillweight|0}}}%|else={{Inc3}}}}
+
| info1s1  = {{{attack_anim}}}
| item2s1   = {{if|test={{{defense|}}}|then=Defense|else=}}
+
| item2s1   = {{if|test={{{attack|}}}|then=Skillweight|else=}}
| info2s1   = {{{defense}}}
+
| info2s1   = {{if|test={{{skillweight|}}}|then={{{skillweight|0}}}%|else={{Inc3}}}}
| item3s1   = Weight
+
| item3s1   = {{if|test={{{defense|}}}|then=Defense|else=}}
| info3s1   = {{if|test={{{weight|}}}|then={{{weight|0}}} grams|else={{Inc2}}}}
+
| info3s1   = {{{defense}}}
| item4s1   = Visible?
+
| item4s1   = Weight
| info4s1   = {{if|test={{{visible|}}}|then=Yes|else=No}}
+
| info4s1   = {{if|test={{{weight|}}}|then={{{weight|0}}} grams|else={{Inc2}}}}
 +
| item5s1   = Visible
 +
| info5s1   = {{if|test={{{visible|}}}|then=yes|else=no}}
 
| section2  = {{if|test={{if|test={{{vision|}}}|then=yes|else={{if|test={{{writing|}}}|then=yes|else={{if|test={{{storage|}}}|then=yes|else=}}}}}}|then=Special properties|else=}}
 
| section2  = {{if|test={{if|test={{{vision|}}}|then=yes|else={{if|test={{{writing|}}}|then=yes|else={{if|test={{{storage|}}}|then=yes|else=}}}}}}|then=Special properties|else=}}
 
| item0s2  = {{if|test={{{vision|}}}|then=Vision|else=}}
 
| item0s2  = {{if|test={{{vision|}}}|then=Vision|else=}}

Latest revision as of 18:37, 15 August 2015

Template documentation[ view ] [ discuss ] [edit]

{{Infobox:Holdable}} allows to detail in a single table, all the characteristics of the production of any object.

The table is located in the upper and can contain: information about the points of attack or defense of an object; the skill weighting of attack objects; the weight and the visibility of the object. Also, you can detail the special characteristics of the object: vision range, writing properties, and

The article is automatically added (as appropriate) to these categories: Attack items, Defense items, Vision improving items, Writing items, and Portable storage.

Usage

Copy the text below and paste it into the article you are editing. Set parameters for the field where applicable, the ones not used can be left empty or removed.

{{Infobox:Holdable
| sortingname    = 
| attack         = 
| attack_anim    =
| skillweight    = 
| defense        = 
| weight         = 
| visible        = 
| vision         = 
| writing        = 
| storage        = 
}}

Parametrar

  • sorteringsnamn
    • Alternativt namn på objektet. Det används för att sortera artikeln i kategorin Bärbar förvaring, så det är bara logiskt att använda den för lagring av dessa objekt.
    • När och hur man använder det?
      • Om det finns bokstäver med accent:För att ersätta detta tecken utan accent. Exempelvis sorteringsnamn = Amfora för objektet "Ámfora".
      • För bokstaven "ñ": Ersätt detta tecken med ett "n" och lägg till ett "!" (utropstecken) i slutet. Exempelvis sorteringsnamn=Taza de estano! för objektet "Taza de estaño".
  • attack
    • Objektets attackpoäng.
    • Om det finns värde på denna parameter, läggs artikeln till i kategorin Attackföremål. Dessutom sorteras objektet inom kategorin efter denna parameter.
    • Exempel: attack = 20
  • attack_anim
    • Attack strength against animals.
    • Example: attack_anim = 23
  • influens
    • Andelen inflytande av kunskapen Strida i den resulterande skadan för objektet.
    • Exempel: influes = 35
  • försvar
    • Försvarspoängen för objektet
    • Om det finns värde på denna parameter läggs artikeln till i kategorin Skydd. Dessutom sorteras den inom kategorin efter detta värde.
    • Exempel: försvar = 20
  • peso
    • Peso (en gramos) del objeto. Este parámetro es obligatorio.
    • Es aconsejable utilizar separador de miles en este parámetro.
    • Ejemplo bueno: peso = 2.000
    • Ejemplo malo: peso = 2000
  • visible
    • Especifica si el objeto es visible o no. Es decir, si los demás personajes pueden notar que tu personaje lleva este objeto consigo.
    • Si se da valor a este parámetro, la tabla muestra "Sí" (sin importar el valor que se le haya dado); caso contrario, muestra "No".
    • Ejemplo 1: visible = Sí (la tabla muestra "Sí")
    • Ejemplo 2: visible = No (la tabla muestra "Sí")
    • Ejemplo 3: visible = (la tabla muestra "No")
  • vision
    • Rango de visión del objeto.
    • Si se da valor a este parámetro, la tabla muestra una sección adicional para detallar las características especiales del objeto. El artículo se agrega automáticamente a la categoría Instrumentos ópticos. Además, se ordena en la categoría según el valor que tome este parámetro.
    • Ejemplo: vision = 200
  • escritura
    • Propiedades de escritura del objeto.
    • Si se da valor a este parámetro, la tabla muestra una sección adicional para detallar las características especiales del objeto. El artículo se agrega automáticamente a la categoría Instrumentos de escritura. Además, se ordena en la categoría según el valor que tome este parámetro.
    • Ejemplo: escritura = 100
  • almacena
    • Peso (en gramos) que puede almacenar el objeto.
    • Si se da valor a este parámetro, la tabla muestra una sección adicional para detallar las características especiales del objeto. El artículo se agrega automáticamente a la categoría Almacenamiento portátil.
    • Es aconsejable utilizar separador de miles en este parámetro.
    • Ejemplo bueno: almacena = 2.000
    • Ejemplo malo: almacena = 2000


Parameters (English)

  • sortingname
    • Alternate name of the object. It is used to sort the item into the category Portable Storage, so it only makes sense to use it for storing these items.
    • When and how to use it?
      • If there are accented letters: Replace the accented character. For example sort name = Amphora for the object "Ámfora".
      • For the letter "ñ": Replace this character with an "n" and add an "!" (exclamation mark) at the end. For example, sort name = Taza de estano! for the object "Taza de estaño".
  • attack
    • The object's attack points.
    • If there is a value for this parameter, the article is added to the category Attack items. In addition, the object is sorted within the category according to this parameter.
    • Example: attack = 20
  • attack_anim
    • Attack strength against animals.
    • Example: attack_anim = 23
  • skillweight
    • The skillweight value that has an influence in the result of damage to the object.
    • Example: skillweight = 35
  • defense
    • The defense score for the item
    • If there is a value for this parameter, the article is added to the category Protection. In addition, it is sorted within the category by this value.
    • Example: defense = 20
  • weight
    • Weight (in grams) of the object. This parameter is required.
    • It is advisable to use thousands separator in this parameter.
    • Good example: weight = 2,000
    • Bad example: weight = 2000
  • visible
    • Specifies whether the object is visible or not. That is, if the other characters can notice that your character is carrying this object with him.
    • If this parameter is given a value, the table shows "Yes" (regardless of the value given); otherwise, it displays "No".
    • Example 1: visible = Yes (table shows "Yes")
    • Example 2: visible = No (table shows "Yes")
    • Example 3: visible = (the table shows "No")
  • vision
    • Range of view of the object.
    • If this parameter is set, the table shows an additional section to detail the special characteristics of the object. The item is automatically added to the Vision improving items category. In addition, it is ordered in the category according to the value that this parameter takes.
    • Example: vision = 200
  • writing
    • Object write properties.
    • If this parameter is set, the table shows an additional section to detail the special characteristics of the object. The article is automatically added to the Writing items category. In addition, it is ordered in the category according to the value that this parameter takes.
    • Example: writing = 100
  • storage
    • Weight (in grams) that the object can store.
    • If this parameter is set, the table shows an additional section to detail the special characteristics of the object. The item is automatically added to the Portable Storage category.
    • It is advisable to use thousands separator in this parameter.
    • Good example: storage = 2,000
    • Bad example: storage = 2000