Шаблон:Related skills

Материал из Guild Wars 2 wiki
Версия от 01:57, 1 июня 2022; Blood (обсуждение | вклад)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

Description[править]

This template returns a list of all skills that grant a certain effect. It displays the following sections:

Page context: Effect
  1. Skills of supertype Profession, using template skill list, separated in the following skill contexts: Weapon, Bundle, Transform, Healing, Utility, Elite, Profession mechanic, Pet, Downed, Drowning, based on the parameters from the template skill fact.
  2. Boon and condition conversion, linking to Boon#Skills that convert conditions into boons and Condition#Skills that convert boons into conditions resp.
  3. Combo finisher.
  4. Skills of supertype Racial, using template skill list, based on the template skill fact.
  5. Skills of supertype Common, using template skill list, based on the template skill fact.
Page context: Trait
  1. Skills of supertype Profession (matching the profession of current trait), using template skill list by property, separated in the following skill contexts: Weapon, Bundle, Transform, Healing, Utility, Elite, Profession mechanic, Pet, Downed, Drowning, based on the parameters improves skill/boon/condition/control effect/weapon/aura/effect from the template trait infobox.

Sorted by profession (alphabetically within heavy, medium, light), by elite specialization and if possible by weapon/type. 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.

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.

Format using {{Related skills filter}}.

Usage[править]

{{Related skills}}
{{Related skills|<effect>}}
{{Related skills|<effect>|heading=<heading>|heading level=<h3, h4, ...>}}

Parameters[править]

1 (unnamed parameter)
Required. Skill fact, boon, condition or control effect, e.g. Might, Burning. Defaults to PAGENAME.
heading
Optional. Additional heading suffix, e.g. "that grant might".
heading level
Optional. Heading level, defaults to "h3".
type
Optional. Skill fact type. For boons, conditions and control effect this is set automatically. See also here.
game mode
Optional. On default the game mode is restricted to the PvE version (except for suffix=notes, there all versions are taken into account). Set it to "all" to select all game modes or specify one or more game modes: "PvE", "WvW", "PvP" and "Default" (for skills that aren't split, e.g. "Default, PvE"), separated by ",".
suffix
Optional. Either "type" (default, weapon or skill type), "none", "description" 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.
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 Banner of Strength. Either "no" (default), "yes" or "only".
include trait skills
Optional. Set to "true" to also list trait skills if necessary (on effect pages). Defaults to "false" because usually these are listed by {{related traits}}.
show filter
Optional. Set to "true" to show and "false" to hide the filter options. Defaults to "true" on Boon/Condition/Aura/Control effect pages, otherwise defaults to "false".
query
Optional. Additional query.

Example[править]

Context: Effect[править]

{{Related skills|Fury|heading=that grant fury|heading level=h5}}
Оружейные уменияthat grant fury
Умения комплектовthat grant fury
Умения питомцевthat grant fury
Умения, которые превращают слепоту в ярость
Основная статья: Boon#Skills that convert conditions into boons
Общие уменияthat grant fury

Context: Trait[править]

{{Related skills|Burning Rage|heading level=h5}}