Difference between revisions of "Template:Infobox:Holdable/doc"
From Cantr II Wiki
Joshuamonkey (talk | contribs) m (→Usage) |
m (translated to English) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
[[Template:Infobox:Holdable|<nowiki>{{Infobox:Holdable}}</nowiki>]] allows to detail in a single table, all the characteristics of the production of any object. | [[Template:Infobox:Holdable|<nowiki>{{Infobox:Holdable}}</nowiki>]] 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 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: [[:Category:Attack Attack | + | The article is automatically added (as appropriate) to these categories: [[:Category:Attack items|Attack items]], [[:Category:Defense items|Defense items]], [[:Category:Vision improving items|Vision improving items]], [[:Category:Writing items|Writing items]], and [[:Category:Portable storage|Portable storage]]. |
+ | |||
+ | __TOC__ | ||
== Usage == | == Usage == | ||
Line 15: | Line 15: | ||
| sortingname = | | sortingname = | ||
| attack = | | attack = | ||
+ | | attack_anim = | ||
| skillweight = | | skillweight = | ||
| defense = | | defense = | ||
Line 30: | Line 31: | ||
** Alternativt namn på objektet. Det används för att sortera artikeln i kategorin [[:Category: Bärbar förvaring|Bärbar förvaring]], så det är bara logiskt att använda den för lagring av dessa objekt. | ** Alternativt namn på objektet. Det används för att sortera artikeln i kategorin [[:Category: Bärbar förvaring|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? | ** 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 <tt> sorteringsnamn = Amfora </ tt> för objektet "Ámfora". | + | *** Om det finns bokstäver med accent:För att ersätta detta tecken utan accent. Exempelvis <tt> sorteringsnamn = Amfora </tt> för objektet "Ámfora". |
− | *** För bokstaven "ñ": Ersätt detta tecken med ett "n" och lägg till ett "!" (utropstecken) i slutet. Exempelvis <tt> sorteringsnamn=Taza de estano!</ tt> för objektet "Taza de estaño". | + | *** För bokstaven "ñ": Ersätt detta tecken med ett "n" och lägg till ett "!" (utropstecken) i slutet. Exempelvis <tt> sorteringsnamn=Taza de estano!</tt> för objektet "Taza de estaño". |
* <tt>attack</tt> | * <tt>attack</tt> | ||
Line 37: | Line 38: | ||
** Om det finns värde på denna parameter, läggs artikeln till i kategorin [[:Category: Attackföremål|Attackföremål]]. Dessutom sorteras objektet inom kategorin efter denna parameter. | ** Om det finns värde på denna parameter, läggs artikeln till i kategorin [[:Category: Attackföremål|Attackföremål]]. Dessutom sorteras objektet inom kategorin efter denna parameter. | ||
** Exempel: <tt>attack = 20</tt> | ** Exempel: <tt>attack = 20</tt> | ||
+ | |||
+ | * <tt>attack_anim</tt> | ||
+ | ** Attack strength against animals. | ||
+ | ** Example: <tt>attack_anim = 23</tt> | ||
* <tt>influens</tt> | * <tt>influens</tt> | ||
Line 76: | Line 81: | ||
** Ejemplo bueno: <tt>almacena = 2.000</tt> | ** Ejemplo bueno: <tt>almacena = 2.000</tt> | ||
** Ejemplo malo: <tt>almacena = 2000</tt> | ** Ejemplo malo: <tt>almacena = 2000</tt> | ||
+ | |||
+ | |||
+ | == Parameters (English) == | ||
+ | * <tt>sortingname</tt> | ||
+ | ** Alternate name of the object. It is used to sort the item into the category [[:Category:Portable storage|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 <tt> sort name = Amphora </tt> for the object "Ámfora". | ||
+ | *** For the letter "ñ": Replace this character with an "n" and add an "!" (exclamation mark) at the end. For example, <tt> sort name = Taza de estano! </tt> for the object "Taza de estaño". | ||
+ | |||
+ | * <tt> attack </tt> | ||
+ | ** The object's attack points. | ||
+ | ** If there is a value for this parameter, the article is added to the category [[:Category:Attack items|Attack items]]. In addition, the object is sorted within the category according to this parameter. | ||
+ | ** Example: <tt> attack = 20 </tt> | ||
+ | |||
+ | * <tt>attack_anim</tt> | ||
+ | ** Attack strength against animals. | ||
+ | ** Example: <tt>attack_anim = 23</tt> | ||
+ | |||
+ | * <tt> skillweight </tt> | ||
+ | ** The skillweight value that has an influence in the result of damage to the object. | ||
+ | ** Example: <tt> skillweight = 35 </tt> | ||
+ | |||
+ | * <tt> defense </tt> | ||
+ | ** The defense score for the item | ||
+ | ** If there is a value for this parameter, the article is added to the category [[:Category:Protection|Protection]]. In addition, it is sorted within the category by this value. | ||
+ | ** Example: <tt> defense = 20 </tt> | ||
+ | |||
+ | * <tt> weight </tt> | ||
+ | ** Weight (in grams) of the object. This parameter is required. | ||
+ | ** It is advisable to use thousands separator in this parameter. | ||
+ | ** Good example: <tt> weight = 2,000 </tt> | ||
+ | ** Bad example: <tt> weight = 2000 </tt> | ||
+ | |||
+ | * <tt> visible </tt> | ||
+ | ** 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: <tt> visible = Yes </tt> (table shows "Yes") | ||
+ | ** Example 2: <tt> visible = No </tt> (table shows "Yes") | ||
+ | ** Example 3: <tt> visible = </tt> (the table shows "No") | ||
+ | |||
+ | * <tt> vision </tt> | ||
+ | ** 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 [[:Category:Vision improving items|Vision improving items]] category. In addition, it is ordered in the category according to the value that this parameter takes. | ||
+ | ** Example: <tt> vision = 200 </tt> | ||
+ | |||
+ | * <tt> writing </tt> | ||
+ | ** 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 [[:Category:Writing items|Writing items]] category. In addition, it is ordered in the category according to the value that this parameter takes. | ||
+ | ** Example: <tt> writing = 100 </tt> | ||
+ | |||
+ | * <tt> storage </tt> | ||
+ | ** 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 [[:Category:Portable storage|Portable Storage]] category. | ||
+ | ** It is advisable to use thousands separator in this parameter. | ||
+ | ** Good example: <tt> storage = 2,000 </tt> | ||
+ | ** Bad example: <tt> storage = 2000 </tt> | ||
<noinclude>[[Category:Documentation|{{PAGENAME}}]]</noinclude> | <noinclude>[[Category:Documentation|{{PAGENAME}}]]</noinclude> |
Latest revision as of 15:43, 24 September 2021
{{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.
Contents
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