Шаблон:Pet attributes — различия между версиями

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
 
 
(не показана 1 промежуточная версия этого же участника)
Строка 1: Строка 1:
На 80-м уровне, питомцы {{lc:{{PAGENAME}}}} имеют следующие начальные [[attribute|атрибуты]]:
+
На 80-м уровне, молодой питомец {{rus lang|pet|{{#explode:{{PAGENAME}}| |1|2}}}} имеет следующие начальные [[attribute|атрибуты]]:
{|
+
{| {{STDT|{{{class|ranger}}}}}
| {{Power}}    ||style="text-align:right"| {{formatnum:{{{power|}}}}}
+
! Атрибут !! Значение
 
|-
 
|-
| {{Precision}} ||style="text-align:right"| {{formatnum:{{{precision|}}}}}
+
| {{Power}}     ||style="text-align:right"| {{formatnum:{{{power|0}}}}}
 
|-
 
|-
| {{Toughness}} ||style="text-align:right"| {{formatnum:{{{toughness|}}}}}
+
| {{Precision}} ||style="text-align:right"| {{formatnum:{{{precision|0}}}}}
 
|-
 
|-
| {{Vitality}}  ||style="text-align:right"| {{formatnum:{{{vitality|}}}}}
+
| {{Toughness}} ||style="text-align:right"| {{formatnum:{{{toughness|0}}}}}
 +
|-
 +
| {{Vitality}}  ||style="text-align:right"| {{formatnum:{{{vitality|0}}}}}
 +
|-
 +
| {{Condition Damage}}  ||style="text-align:right"| {{#if: {{{condition damage|}}} | {{formatnum:{{{condition damage|}}}}}  | 0 }}
 
|-
 
|-
 
| {{Ferocity}}  ||style="text-align:right"| {{#if: {{{ferocity|}}} | {{formatnum:{{{ferocity|}}}}} | 0 }}
 
| {{Ferocity}}  ||style="text-align:right"| {{#if: {{{ferocity|}}} | {{formatnum:{{{ferocity|}}}}} | 0 }}
 
|-
 
|-
 
| {{Healing Power}}  ||style="text-align:right"| {{#if: {{{healing power|}}} | {{formatnum:{{{healing power|}}}}} | 0 }}
 
| {{Healing Power}}  ||style="text-align:right"| {{#if: {{{healing power|}}} | {{formatnum:{{{healing power|}}}}} | 0 }}
|-
+
|}{{#if: {{NAMESPACE}} ||  
| {{Condition Damage}} ||style="text-align:right"| {{#if: {{{condition damage|}}} | {{formatnum:{{{condition damage|}}}}} | 0 }}
+
{{#set:
|-
+
| Has primary pet attribute=Power;{{{power|0}}}
| {{Agony Resistance}}  ||style="text-align:right"| {{#if: {{{agony resistance|}}} | {{formatnum:{{{agony resistance|}}}}} | 0 }}
+
| Has primary pet attribute=Precision;{{{precision|0}}}
|}<noinclude>
+
  | Has primary pet attribute=Toughness;{{{toughness|0}}}
 +
| Has primary pet attribute=Vitality;{{{vitality|0}}}
 +
  | Has secondary pet attribute=Ferocity;{{{ferocity|0}}}
 +
| Has secondary pet attribute=Healing Power;{{{healing power|0}}}
 +
  | Has secondary pet attribute=Condition Damage;{{{condition damage|0}}}
 +
}}
 +
}}<noinclude>
 +
== Description ==
 +
This template is used to provide a uniform format for displaying each [[pet]]'s default [[attribute]]s at level 80. Sets the semantic properties for [[Property:Has primary pet attribute]] and [[Property:Has secondary pet attribute]].
 +
 
 
== Usage ==
 
== Usage ==
<nowiki>{{pet attributes
+
<pre>
 +
{{pet attributes
 
| power =  
 
| power =  
 
| precision =  
 
| precision =  
 
| toughness =  
 
| toughness =  
 
| vitality =
 
| vitality =
 +
| condition damage =
 
| ferocity =
 
| ferocity =
| condition damage =
 
 
| healing power =
 
| healing power =
| agony resistance =
+
}}
}}</nowiki>
+
</pre>
 +
=== Parameters ===
 +
;power
 +
: Required. Power.
 +
;precision
 +
: Required. Precision.
 +
;toughness
 +
: Required. Toughness.
 +
;vitality
 +
: Required. Vitality.
 +
;condition damage
 +
: Optional. Condition Damage, defaults to 0.
 +
;ferocity
 +
: Optional. Ferocity, defaults to 0.
 +
;healing power
 +
: Optional. Healing Power, defaults to 0.
 +
;class
 +
: Optional. CSS class, defaults to "ranger".
  
This template is used to provide a uniform format for displaying each [[pet]]'s default [[attribute]]s at level 80.
+
== See also ==
 +
* [[Template:Pet table]]
  
[[Category:Formatting templates]]</noinclude>
+
[[Category:Table formatting templates]]</noinclude>

Текущая версия на 22:40, 28 марта 2022

На 80-м уровне, молодой питомец attributes имеет следующие начальные атрибуты:

Атрибут Значение
Power.png Сила 0
Precision.png Точность 0
Toughness.png Прочность 0
Vitality.png Живучесть 0
Condition Damage.png Урон от состояний 0
Ferocity.png Свирепость 0
Healing Power.png Сила исцеления 0

Description[править]

This template is used to provide a uniform format for displaying each pet's default attributes at level 80. Sets the semantic properties for Property:Has primary pet attribute and Property:Has secondary pet attribute.

Usage[править]

{{pet attributes
| power = 
| precision = 
| toughness = 
| vitality =
| condition damage =
| ferocity =
| healing power =
}}

Parameters[править]

power
Required. Power.
precision
Required. Precision.
toughness
Required. Toughness.
vitality
Required. Vitality.
condition damage
Optional. Condition Damage, defaults to 0.
ferocity
Optional. Ferocity, defaults to 0.
healing power
Optional. Healing Power, defaults to 0.
class
Optional. CSS class, defaults to "ranger".

See also[править]