Шаблон:Trait list
Материал из Guild Wars 2 wiki
Содержание
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}}.
- Related templates
Usage | Skill templates | Trait templates | Description |
---|---|---|---|
Section | {{Related skills}} | {{Related traits}} | These templates list all related skills/traits based on {{skill fact}} and on the {{trait infobox}} improves parameters. They create subsection headings automatically. |
Subsection | {{Skill list}} | {{Trait list}} | These templates list all related skills of a certain context (e.g. weapon, utility)/traits based on {{skill fact}} |
{{Skill list by property}} | {{Trait list by property}} | These templates list all related skills/traits based on a smw query, e.g. based on the {{trait infobox}} improves parameters. | |
Inline | — | {{Trait list entry}} | This template displays the profession icon, trait icon, trait, trait line and trait description. |
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". Overrides 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".
- intro
- Optional. Intro text.
- heading
- Optional. Intro heading. This will internally set filter classes for {{related traits filter}}.
- heading level
- Optional. Intro heading level, defaults to h3.
- default
- Optional. Default text.
- query
- Optional. Additional query.
Examples[править]
{{Trait list|Power}}
- Applied Force (Scrapper) — Вам даруется устойчивость, когда дарованная вам мощь равна или превышает порог. Мощь дополнительно увеличивает вашу Силу.
- Swindler's Equilibrium (Acrobatics) — Успешное уклонение от атаки, когда вы вооружены мечом или копьем, перезаряжает Кражу. Урон от мечей и копий увеличен.
- Power Overwhelming (Fire) — Ваша Сила увеличивается, когда количество вашей мощи на уровне или выше порога. Бонус Силы удваивается, когда вы обращаетесь к силе Огня.
{{Trait list|Power|include effects=only}}
- No traits found.
{{Trait list|Power|include effects=yes}}
- Applied Force (Scrapper) — Вам даруется устойчивость, когда дарованная вам мощь равна или превышает порог. Мощь дополнительно увеличивает вашу Силу.
- Swindler's Equilibrium (Acrobatics) — Успешное уклонение от атаки, когда вы вооружены мечом или копьем, перезаряжает Кражу. Урон от мечей и копий увеличен.
- Power Overwhelming (Fire) — Ваша Сила увеличивается, когда количество вашей мощи на уровне или выше порога. Бонус Силы удваивается, когда вы обращаетесь к силе Огня.
{{Trait list|Toughness|number=<0}}
- No traits found.
{{Trait list|type=Attribute Conversion|secondary=Power}}
- Vigorous Shouts (Tactics) — Крики перезаряжаются быстрее и исцеляют союзников. Сила исцеления увеличивается в зависимости от вашей Силы.
- Kinetic Accelerators (Scrapper) — Ваша Концентрация увеличивается в зависимости от вашей Силы. Когда вы даете цели сверхскорость, вы также даруете ей проворство.
Этот эффект может действовать на несколько целей одновременно.
Format comparison (parameter "suffix")[править]
description (default) | none |
---|---|
{{Trait list|Power|suffix=description}}
|
{{Trait list|Power|suffix=none}} |