Шаблон:Related skills — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
(не показано 12 промежуточных версий этого же участника) | |||
Строка 22: | Строка 22: | ||
hide filter on arbitrary effect pages, but show on effect type = Boon/Condition/Aura/Control effect pages | hide filter on arbitrary effect pages, but show on effect type = Boon/Condition/Aura/Control effect pages | ||
-->{{#ifeq: {{{show filter|{{#ifeq: {{#show: {{#var:effect}}|?Has context|link=none}}|Effect|{{#ifeq: {{#show: {{#var:effect}}|?Has effect type|link=none}}|Effect|false|true}}|false}}}}}|true|{{Related skills filter}}}}<!-- | -->{{#ifeq: {{{show filter|{{#ifeq: {{#show: {{#var:effect}}|?Has context|link=none}}|Effect|{{#ifeq: {{#show: {{#var:effect}}|?Has effect type|link=none}}|Effect|false|true}}|false}}}}}|true|{{Related skills filter}}}}<!-- | ||
− | -->{{Skill list|type={{{type|}}}|number={{{number|}}}|suffix={{{suffix|type}}}|game mode={{{game mode|}}}|include effects={{{include effects|}}}|query={{{query|}}}|default=|warning=false|Weapon|{{#var:effect}}|heading=[[Weapon]] | + | -->{{Skill list|type={{{type|}}}|number={{{number|}}}|suffix={{{suffix|type}}}|game mode={{{game mode|}}}|include effects={{{include effects|}}}|query={{{query|}}}|default=|warning=false|Weapon|{{#var:effect}}|heading=[[Weapon|Оружейные]] умения{{{heading|}}}|heading level={{{heading level|h3}}}}}<!-- |
− | -->{{Skill list|type={{{type|}}}|number={{{number|}}}|suffix={{{suffix|type}}}|game mode={{{game mode|}}}|include effects={{{include effects|}}}|query={{{query|}}}|default=|warning=false|Bundle|{{#var:effect}}|heading=[[ | + | -->{{Skill list|type={{{type|}}}|number={{{number|}}}|suffix={{{suffix|type}}}|game mode={{{game mode|}}}|include effects={{{include effects|}}}|query={{{query|}}}|default=|warning=false|Bundle|{{#var:effect}}|heading=Умения [[bundle|комплектов]]{{{heading|}}}|heading level={{{heading level|h3}}}}}<!-- |
− | -->{{Skill list|type={{{type|}}}|number={{{number|}}}|suffix={{{suffix|type}}}|game mode={{{game mode|}}}|include effects={{{include effects|}}}|query={{{query|}}}|default=|warning=false|Transform|{{#var:effect}}|heading=[[Transform]] | + | -->{{Skill list|type={{{type|}}}|number={{{number|}}}|suffix={{{suffix|type}}}|game mode={{{game mode|}}}|include effects={{{include effects|}}}|query={{{query|}}}|default=|warning=false|Transform|{{#var:effect}}|heading=Умения [[Transform|преображения]]{{{heading|}}}|heading level={{{heading level|h3}}}}}<!-- |
− | -->{{Skill list|type={{{type|}}}|number={{{number|}}}|suffix={{{suffix|type}}}|game mode={{{game mode|}}}|include effects={{{include effects|}}}|query={{{query|}}}|default=|warning=false|Healing|{{#var:effect}}|heading=[[Healing skill]] | + | -->{{Skill list|type={{{type|}}}|number={{{number|}}}|suffix={{{suffix|type}}}|game mode={{{game mode|}}}|include effects={{{include effects|}}}|query={{{query|}}}|default=|warning=false|Healing|{{#var:effect}}|heading=[[Healing skill|Исцеляющие умения]]{{{heading|}}}|heading level={{{heading level|h3}}}}}<!-- |
− | -->{{Skill list|type={{{type|}}}|number={{{number|}}}|suffix={{{suffix|type}}}|game mode={{{game mode|}}}|include effects={{{include effects|}}}|query={{{query|}}}|default=|warning=false|Utility|{{#var:effect}}|heading=[[Utility skill]] | + | -->{{Skill list|type={{{type|}}}|number={{{number|}}}|suffix={{{suffix|type}}}|game mode={{{game mode|}}}|include effects={{{include effects|}}}|query={{{query|}}}|default=|warning=false|Utility|{{#var:effect}}|heading=[[Utility skill|Вспомогательные умения]]{{{heading|}}}|heading level={{{heading level|h3}}}}}<!-- |
− | -->{{Skill list|type={{{type|}}}|number={{{number|}}}|suffix={{{suffix|type}}}|game mode={{{game mode|}}}|include effects={{{include effects|}}}|query={{{query|}}}|default=|warning=false|Elite|{{#var:effect}}|heading=[[Elite skill]] | + | -->{{Skill list|type={{{type|}}}|number={{{number|}}}|suffix={{{suffix|type}}}|game mode={{{game mode|}}}|include effects={{{include effects|}}}|query={{{query|}}}|default=|warning=false|Elite|{{#var:effect}}|heading=[[Elite skill|Элитные умения]]{{{heading|}}}|heading level={{{heading level|h3}}}}}<!-- |
− | -->{{Skill list|type={{{type|}}}|number={{{number|}}}|suffix={{{suffix|type}}}|game mode={{{game mode|}}}|include effects={{{include effects|}}}|query={{{query|}}}|default=|warning=false|Profession mechanic|{{#var:effect}}|heading=[[ | + | -->{{Skill list|type={{{type|}}}|number={{{number|}}}|suffix={{{suffix|type}}}|game mode={{{game mode|}}}|include effects={{{include effects|}}}|query={{{query|}}}|default=|warning=false|Profession mechanic|{{#var:effect}}|heading=Умения [[profession mechanic|механики профессии]]{{{heading|}}}|heading level={{{heading level|h3}}}}}<!-- |
− | -->{{Skill list|type={{{type|}}}|number={{{number|}}}|suffix={{{suffix|type}}}|game mode={{{game mode|}}}|include effects={{{include effects|}}}|query={{{query|}}}|default=|warning=false|Pet|{{#var:effect}}|heading=[[List of pet skills| | + | -->{{Skill list|type={{{type|}}}|number={{{number|}}}|suffix={{{suffix|type}}}|game mode={{{game mode|}}}|include effects={{{include effects|}}}|query={{{query|}}}|default=|warning=false|Pet|{{#var:effect}}|heading=Умения [[List of pet skills|питомцев]]{{{heading|}}}|heading level={{{heading level|h3}}}}}<!-- |
− | -->{{Skill list|type={{{type|}}}|number={{{number|}}}|suffix={{{suffix|type}}}|game mode={{{game mode|}}}|include effects={{{include effects|}}}|query={{{query|}}}|default=|warning=false|Downed|{{#var:effect}}|heading=[[List of downed skills| | + | -->{{Skill list|type={{{type|}}}|number={{{number|}}}|suffix={{{suffix|type}}}|game mode={{{game mode|}}}|include effects={{{include effects|}}}|query={{{query|}}}|default=|warning=false|Downed|{{#var:effect}}|heading=Умения [[List of downed skills|поверженных]]{{{heading|}}}|heading level={{{heading level|h3}}}}}<!-- |
− | -->{{Skill list|type={{{type|}}}|number={{{number|}}}|suffix={{{suffix|type}}}|game mode={{{game mode|}}}|include effects={{{include effects|}}}|query={{{query|}}}|default=|warning=false|Drowning|{{#var:effect}}|heading=[[List of drowning skills| | + | -->{{Skill list|type={{{type|}}}|number={{{number|}}}|suffix={{{suffix|type}}}|game mode={{{game mode|}}}|include effects={{{include effects|}}}|query={{{query|}}}|default=|warning=false|Drowning|{{#var:effect}}|heading=Умения [[List of drowning skills|утопленных]]{{{heading|}}}|heading level={{{heading level|h3}}}}}<!-- |
− | -->{{#ifeq: {{{include trait skills|false}}}|true|{{Skill list|type={{{type|}}}|number={{{number|}}}|suffix={{{suffix|type}}}|game mode={{{game mode|}}}|include effects={{{include effects|}}}|query={{{query|}}}|default=|warning=false|Trait|{{#var:effect}}|heading=[[List of trait skills| | + | -->{{#ifeq: {{{include trait skills|false}}}|true|{{Skill list|type={{{type|}}}|number={{{number|}}}|suffix={{{suffix|type}}}|game mode={{{game mode|}}}|include effects={{{include effects|}}}|query={{{query|}}}|default=|warning=false|Trait|{{#var:effect}}|heading=Умения [[List of trait skills|черт]]{{{heading|}}}|heading level={{{heading level|h3}}}}}}}<!-- |
Effect pages - Boon/condition conversation and combo skills | Effect pages - Boon/condition conversation and combo skills | ||
− | -->{{#ifeq: {{{show filter|{{#ifeq: {{#show: {{#var:effect}}|?Has context|link=none}}|Effect|{{#ifeq: {{#show: {{#var:effect}}|?Has effect type|link=none}}|Effect|false|true}}|false}}}}}|true|<div id="skilllist"><div class="filter-plain>}}{{#switch: {{#switch: {{{type|}}}|Boon Removed|Condition Removed|Condition Effect Ignored=DISABLE}}{{#var:effect}} | + | --><!--{{#ifeq: {{{show filter|{{#ifeq: {{#show: {{#var:effect}}|?Has context|link=none}}|Effect|{{#ifeq: {{#show: {{#var:effect}}|?Has effect type|link=none}}|Effect|false|true}}|false}}}}}|true|<div id="skilllist"><div class="filter-plain>}}-->{{#switch: {{#switch: {{{type|}}}|Boon Removed|Condition Removed|Condition Effect Ignored=DISABLE}}{{#var:effect}} |
| Aegis = <nowiki/> | | Aegis = <nowiki/> | ||
{{#tag:{{{heading level|h3}}}|Умения, которые превращают [[burning|горение]] в эгиду}} | {{#tag:{{{heading level|h3}}}|Умения, которые превращают [[burning|горение]] в эгиду}} | ||
Строка 207: | Строка 207: | ||
* {{Combo field|Smoke}} × {{Combo finisher|Blast}} | * {{Combo field|Smoke}} × {{Combo finisher|Blast}} | ||
* {{Combo field|Smoke}} × {{Combo finisher|Leap}} | * {{Combo field|Smoke}} × {{Combo finisher|Leap}} | ||
− | }}{{#ifeq: {{{show filter|{{#ifeq: {{#show: {{#var:effect}}|?Has context|link=none}}|Effect|{{#ifeq: {{#show: {{#var:effect}}|?Has effect type|link=none}}|Effect|false|true}}|false}}}}}|true|</div></div>}}<!-- | + | }}<!--{{#ifeq: {{{show filter|{{#ifeq: {{#show: {{#var:effect}}|?Has context|link=none}}|Effect|{{#ifeq: {{#show: {{#var:effect}}|?Has effect type|link=none}}|Effect|false|true}}|false}}}}}|true|</div></div>}}--><!-- |
Effect pages - Skill supertype "Racial" | Effect pages - Skill supertype "Racial" | ||
− | -->{{Skill list|type={{{type|}}}|number={{{number|}}}|suffix={{{suffix|type}}}|game mode={{{game mode|}}}|include effects={{{include effects|}}}|query={{{query|}}}|default=|warning=false|Racial|{{#var:effect}}|heading=[[Racial skill]] | + | -->{{Skill list|type={{{type|}}}|number={{{number|}}}|suffix={{{suffix|type}}}|game mode={{{game mode|}}}|include effects={{{include effects|}}}|query={{{query|}}}|default=|warning=false|Racial|{{#var:effect}}|heading=[[Racial skill|Расовые умения]]{{{heading|}}}|heading level={{{heading level|h3}}}}}<!-- |
Effect pages - Skill supertype "Common" | Effect pages - Skill supertype "Common" | ||
− | -->{{Skill list|type={{{type|}}}|number={{{number|}}}|suffix={{{suffix|type}}}|game mode={{{game mode|}}}|include effects={{{include effects|}}}|query={{{query|}}}|default=|warning=false|Common|{{#var:effect}}|heading= | + | -->{{Skill list|type={{{type|}}}|number={{{number|}}}|suffix={{{suffix|type}}}|game mode={{{game mode|}}}|include effects={{{include effects|}}}|query={{{query|}}}|default=|warning=false|Common|{{#var:effect}}|heading=Общие умения{{{heading|}}}|heading level={{{heading level|h3}}}}} |
| Trait = <!-- | | Trait = <!-- | ||
Текущая версия на 01:57, 1 июня 2022
Description[править]
This template returns a list of all skills that grant a certain effect. It displays the following sections:
- Page context: Effect
- 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.
- Boon and condition conversion, linking to Boon#Skills that convert conditions into boons and Condition#Skills that convert boons into conditions resp.
- Combo finisher.
- Skills of supertype Racial, using template skill list, based on the template skill fact.
- Skills of supertype Common, using template skill list, based on the template skill fact.
- Page context: Trait
- 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
- Symbol of Spears — Копье
- Otherworldly Bond — Скипетр
- Deathstrike — Меч
- Phantom's Onslaught — Двуручный меч
- Valiant Leap — Посох
- Call of the Wild — Боевой рог
- Feeding Frenzy — Гарпунное ружье
- Unleashed Thump — Молот
- Spotter's Shot — Ружье
- Molten End — Молот, при настройке на огонь
- Inspiring Imagery — Ружье
- Winds of Chaos — Посох
Умения комплектовthat grant fury
Исцеляющие уменияthat grant fury
Вспомогательные уменияthat grant fury
- "Save Yourselves!" — Крик
- Procession of Blades — Ловушка
- Facet of Darkness — Стойка легендарного дракона, Аспект
- Scavenger Burst — Стойка легендарного альянса, Люксон
- Banner of Discipline — Стяг
- "For Great Justice!" — Крик
- Wild Blow — Гнев
- Flow Stabilizer — Арсенал
- Elixir B — Эликсир
- Hard Light Arena — Превышение
- Storm Spirit — Дух
- Moa Stance — Стойка
- Haste — Уловка
- Well of Bounty — Источник
- Signet of Inspiration — Печать
- Well of Action — Источник
- Psychic Force — Псионика
- Desiccate — Кара
- Elixir of Risk — Эликсир
Элитные уменияthat grant fury
- "Feel My Wrath!" — Крик
- Battle Standard — Стяг
- Signet of Rage — Печать
- "Strength of the Pack!" — Команда
- "Rebound!" — Крик
- Elemental Celerity — Усиление
- "Chilled to the Bone!" — Крик
- Elixir of Ambition — Эликсир
Умения механики профессииthat grant fury
- Arcing Slice — Вспышка ярости, Двуручный меч
- Toss Elixir B — Пояс с инструментами, Эликсир, Elixir B
- Barrier Burst — Команда меху, Пояс с инструментами
- Consume Plasma — Украденное умение
- Detonate Plasma — Украденное умение
- Steal Precision — Украденное умение
- Deploy Jade Sphere — Нефритовая сфера, при настройке на воздух
Умения питомцевthat grant fury
Умения, которые превращают слепоту в ярость
- Основная статья: Boon#Skills that convert conditions into boons
Общие уменияthat grant fury
Context: Trait[править]
{{Related skills|Burning Rage|heading level=h5}}