Шаблон:Trait list

Материал из Guild Wars 2 wiki
Версия от 10:30, 8 марта 2020; Blood (обсуждение | вклад) (Новая страница: «<includeonly>{{#if: <!-- hide whitespace --> {{#vardefine:pagename|{{#replace:{{PAGENAME}}|'|'}}}} {{#vardefine: type | {{ucfirst:{{{type|{{#switch: {{ucfir…»)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

Description

This template returns a list of traits that grant a certain boon, apply a certain condition or a certain control effect. Sorted by profession (alphabetically within heavy, medium, light), by elite specialization and by trait line. It relies on the usage of the template {{skill fact}} which sets the according skill fact properties. An overview of the skill fact properties and their types can be found here. Format using {{trait list result format}}.

See also

For trait skills use {{Skill list|Trait|<effect>}} (or {{Skill list|Trait}} using page name as default value).

Usage

{{Trait list|<effect>|type=<type>}}

Parameters

1 (unnamed parameter)
Required. Trait fact, boon, condition or control effect, e.g. Might, Burning. Defaults to PAGENAME.
type
Optional. Trait fact type. For boons, conditions and control effect this is set automatically. See also here.
suffix
Optional. Either "none", "description" (default) or "notes" (stacks and duration).
number
Optional. Allows to ask for the skill effect number, e.g. "20" for Physical Projectile (20% chance) and "100" for Physical Projectile.
secondary.
Optional. Secondary effect, e.g. "converted from" attribute for type "Attribute Conversion". Disables the default PAGENAME for unnamed parameter 1.
include effects
Optional. Include fact type "Effect" facts to allow keywords set via effect bonus (i.e. to ask for Property:Has fact effect instead of Property:Has fact), e.g. "Power" for Empower Allies. Either "no" (default), "yes" or "only".
query
Optional. Additional query.
missing
Optional. Missing skills (separated by ";"), use rarely and sparsely.

Examples

{{Trait list|Power}}
{{Trait list|Power|include effects=only}}
{{Trait list|Power|include effects=yes}}
{{Trait list|Toughness|number=<0}}
  • No traits found.
{{Trait list|type=Attribute Conversion|secondary=Power}}
{{Trait list|Condition Damage|type=Attribute Conversion|secondary=Power}}

Format comparison (parameter "suffix")

description (default) none
{{Trait list|Power|suffix=description}}
{{Trait list|Power|suffix=none}}