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

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
(Отмена правки 85539, сделанной Blood (обсуждение))
Строка 1: Строка 1:
 
<includeonly>{{#if: <!-- hide whitespace -->
 
<includeonly>{{#if: <!-- hide whitespace -->
 
{{#vardefine: smw-empty-query-warning|{{#ifeq: {{{warning|true}}}|false|<!-- no warning -->|{{#if: {{NAMESPACE}}||[[Category:Pages with empty semantic mediawiki query results]]}}}}}}
 
 
{{#vardefine:last_skill|}} <!-- purge last skill from previous template -->
 
  
 
{{#vardefine:pagename|{{#replace:{{PAGENAME}}|&#39;|'}}}}
 
{{#vardefine:pagename|{{#replace:{{PAGENAME}}|&#39;|'}}}}
  
{{#vardefine: type | {{#if: {{{type|}}}|{{ucfirst:{{{type|}}}}}|{{#switch: {{ucfirst:{{{2|{{#var:pagename}}}}}}}
+
{{#vardefine: type | {{ucfirst:{{{type|{{#switch: {{ucfirst:{{{2|{{#var:pagename}}}}}}}
| Aegis
+
| Aegis  
| Alacrity
+
| Alacrity  
| Fury
+
| Fury  
| Might
+
| Might  
| Protection
+
| Protection  
| Quickness
+
| Quickness  
| Regeneration
+
| Regeneration  
| Resistance
+
| Resistance  
| Retaliation
+
| Retaliation  
| Stability
+
| Stability  
| Swiftness
+
| Swiftness  
| Vigor = Boon
+
| Vigor  
| Bleeding
+
| Bleeding  
| Blinded
+
| Blinded  
| Burning
+
| Burning  
| Chilled
+
| Chilled  
| Confusion
+
| Confusion  
| Crippled
+
| Crippled  
| Fear
+
| Fear  
| Immobile
+
| Immobile  
| Poisoned
+
| Poisoned  
| Slow
+
| Slow  
| Taunt
+
| Taunt  
 
| Torment
 
| Torment
 
| Vulnerability
 
| Vulnerability
| Weakness = Condition
+
| Weakness = Buff
| Daze
+
| Daze  
| Float
+
| Float  
 +
| Knockdown
 +
| Sink
 +
| Stun = Time
 
| Knockback
 
| Knockback
| Knockdown
 
 
| Launch
 
| Launch
| Pull
+
| Pull = Distance
| Sink
 
| Stun = Control effect
 
 
| Barrier = Barrier
 
| Barrier = Barrier
| Life Siphon Damage
+
| Damage = Damage  
| Damage = Damage
+
| Healing = Healing  
| Life Siphon Healing
 
| Healing = Healing
 
 
| Dark field
 
| Dark field
 
| Ethereal field
 
| Ethereal field
Строка 69: Строка 63:
 
| Unblockable = Special
 
| Unblockable = Special
 
| #default = +
 
| #default = +
}} }} }}
+
}} }}} }} }}  
  
}}{{#ask:
+
}}{{#ask:  
   {{#switch: {{ucfirst:{{{1|}}}}}
+
   {{#switch: {{ucfirst:{{{1|}}}}}  
 
     | <!-- by supertype profession if empty -->
 
     | <!-- by supertype profession if empty -->
     | Profession = {{#if: {{{number|}}}|<!-- wiki query depth restrictions -->[[Is for skill.Has skill context::!Trait]] | [[Is for skill.Has skill supertype::Profession]] [[Is for skill.Has skill context::!Trait]]}}
+
     | Profession = [[Is for skill.Has skill supertype::Profession]]    
                  {{#switch: {{lc:{{{game mode|}}}}}
 
                    | <!-- empty --> = {{#switch: {{lc:{{{suffix|}}}}} | type and notes | notes = <!-- no restriction --> | #default = [[Is for game mode::Default||PvE]]}}
 
                    | all = <!-- no restriction -->
 
                    | #default = [[Is for game mode::{{#arraymap:{{{game mode}}}|,|@@@|@@@|{{!!}}}}]]
 
                  }}
 
 
     | Common    = [[Is for skill.Has skill supertype::Common]]
 
     | Common    = [[Is for skill.Has skill supertype::Common]]
 
     | Race
 
     | Race
 
     | Racial    = [[Is for skill.Has skill supertype::Racial]]
 
     | Racial    = [[Is for skill.Has skill supertype::Racial]]
     | #default  = [[Is for skill.Has skill context::{{ucfirst:{{{1|+}}}}}]]<!-- by context if not supertype is specified -->
+
     | #default  = [[Is for skill.Has skill context::{{ucfirst:{{{1|+}}}}}]] <!-- by context if not supertype -->
                  {{#switch: {{lc:{{{game mode|}}}}}
 
                    | <!-- empty --> = {{#switch: {{lc:{{{suffix|}}}}} | type and notes | notes = <!-- no restriction --> | #default = [[Is for game mode::Default||PvE]]}}
 
                    | all = <!-- no restriction -->
 
                    | #default = [[Is for game mode::{{#arraymap:{{{game mode}}}|,|@@@|@@@|{{!!}}}}]]
 
                  }}
 
 
   }}
 
   }}
   {{#switch: {{{include effects|}}}
+
   {{#switch: {{{include effects|}}}  
    | n
+
     | no  
     | no
 
 
     | #default = [[Has fact type::{{#var:type}}]] [[Has fact::{{ucfirst:{{{2|{{#var:pagename}}}}}}}]]
 
     | #default = [[Has fact type::{{#var:type}}]] [[Has fact::{{ucfirst:{{{2|{{#var:pagename}}}}}}}]]
    | y
 
 
     | yes      = {{#ifeq: {{#var:type}}|+|<!-- no restriction -->|[[Has fact type::{{#var:type}}{{!!}}Effect]]}} [[Has fact effect::{{ucfirst:{{{2|{{#var:pagename}}}}}}}]]
 
     | yes      = {{#ifeq: {{#var:type}}|+|<!-- no restriction -->|[[Has fact type::{{#var:type}}{{!!}}Effect]]}} [[Has fact effect::{{ucfirst:{{{2|{{#var:pagename}}}}}}}]]
 
     | only    = [[Has fact type::Effect]] [[Has fact effect::{{ucfirst:{{{2|{{#var:pagename}}}}}}}]]
 
     | only    = [[Has fact type::Effect]] [[Has fact effect::{{ucfirst:{{{2|{{#var:pagename}}}}}}}]]
 
   }}
 
   }}
 
   [[Is for skill.Has availability::Current]]
 
   [[Is for skill.Has availability::Current]]
   {{#if: {{{number|}}}|[[Has fact number::{{{number|}}}]]}}
+
   {{#if: {{{number|}}}|[[Has fact number::{{{number|}}}]]}}  
   {{{query|}}}
+
   {{{query|}}}
 +
  {{#if: {{{missing|}}}|OR [[{{#arraymap: {{{missing|}}}|;|@@@|{{#if: {{#pos: @@@|fact}}|@@@|@@@#fact1}}|{{!!}}}}]]}}
 
  | ?Is for skill                      <!-- 2 -->
 
  | ?Is for skill                      <!-- 2 -->
 
  | ?Is for skill.Has canonical name    <!-- 3 -->
 
  | ?Is for skill.Has canonical name    <!-- 3 -->
 
  | ?Is for skill.Has game icon        <!-- 4 -->
 
  | ?Is for skill.Has game icon        <!-- 4 -->
  | {{#switch: {{ucfirst:{{{1|}}}}} | #default = ?Is for skill.Is for profession | Racial | Race = ?Is for skill.Is for race | Common = ?Dummy query}} <!-- 5 -->
+
  | {{#switch: {{ucfirst:{{{1|}}}}} | #default = ?Is for skill.Is for profession | Racial | Race = ?Is for skill.Is for race }} <!-- 5 -->
 
  | ?Is for skill.Is for specialization <!-- 6 -->
 
  | ?Is for skill.Is for specialization <!-- 6 -->
 
  | ?Is for skill.Has game description  <!-- 7 -->
 
  | ?Is for skill.Has game description  <!-- 7 -->
| ?Has fact                          <!-- 8 -->
+
  | ?Has fact type                      <!-- 8 -->
  | ?Has fact type                      <!-- 9 -->
+
  | ?Has fact number                    <!-- 9 -->
  | ?Has fact number                    <!--10 -->
+
  | ?Has fact stacks                    <!--10 -->
  | ?Has fact stacks                    <!--11 -->
+
  | ?Has fact coefficient              <!--11 -->
  | ?Has fact coefficient              <!--12 -->
+
  | ?Has fact strikes                  <!--12 -->
  | ?Has fact strikes                  <!--13 -->
+
  | ?Is for game mode                  <!--13 -->
| ?Has game description              <!--14 -->
+
  | ?Is for skill.Is for attunement    <!--14 -->
  | ?Is for game mode                  <!--15 -->
+
  | {{#switch: {{ucfirst:{{{1|}}}}} | Weapon = ?Is for skill.Is for weapon | Bundle | Common = ?Is for skill.Is for bundle | Transform = ?Is for skill.Has parent skill | Profession mechanic | Healing | Utility | Elite = ?Is for skill.Has skill type | Pet = ?Is for skill.Is for pet family | Trait = ?Is for skill.Has trait parent | Profession |<!-- empty -->= ?Is for skill.Has skill type}} <!--15 -->
  | ?Is for skill.Is for attunement    <!--16 -->
+
  | {{#switch: {{ucfirst:{{{1|}}}}} | Profession mechanic = ?Is for skill.Is for weapon | Pet = ?Is for skill.Is for pet | Profession |<!-- empty -->= ?Is for skill.Is for weapon}} <!--16 -->
  | {{#switch: {{ucfirst:{{{1|}}}}} | Weapon = ?Is for skill.Is for weapon | Bundle | Common = ?Is for skill.Is for bundle | Transform = ?Is for skill.Has parent skill | Profession mechanic | Healing | Utility | Elite = ?Is for skill.Has skill type | Pet = ?Is for skill.Is for pet family | Trait = ?Is for skill.Has trait parent | Profession |<!-- empty -->= ?Is for skill.Has skill type}} <!--17 -->
+
  | format = template
  | {{#switch: {{ucfirst:{{{1|}}}}} | Profession mechanic = ?Is for skill.Is for weapon | Pet = ?Is for skill.Is for pet | Profession |<!-- empty -->= ?Is for skill.Is for weapon}} <!--18 -->
+
  | template = Skill list result format{{!}}fact={{ucfirst:{{{2|{{#var:pagename}}}}}}}{{!}}suffix={{{suffix|type}}}
  | format = plainlist
 
  | template = Skill list result format{{!}}fact={{ucfirst:{{{2|{{#var:pagename}}}}}}}{{!}}suffix={{lc:{{{suffix|{{#ifeq:{{ucfirst:{{{1|}}}}}|Trait|trait|type}}}}}}}
 
| intro = {{{intro|}}}
 
 
  | link = none
 
  | link = none
  | sort = {{#switch: {{ucfirst:{{{1|}}}}}
+
  | sort = {{#switch: {{ucfirst:{{{1|}}}}}<!-- Sorting hack, same level of poperty chain needed, sorting by result (i.e. ",") after property chains gets ignored and is used as first sort parameter, see "format = debug". Another solution: "Has pagename" :-) -->
   | Weapon  = Is for skill.Has profession sort order, Is for skill.Has specialization sort order, Is for skill.Has weapon type sort order, Is for skill.Has page name
+
   | Weapon  = Is for skill.Has profession sort order, Is for skill.Has specialization sort order, Is for skill.Is usable underwater, Is for skill.Is for weapon, Is for skill.Has subobject
   | Bundle  = Is for skill.Has profession sort order, Is for skill.Has specialization sort order, Is for skill.Is for bundle, Is for skill.Has page name
+
   | Bundle  = Is for skill.Has profession sort order, Is for skill.Has specialization sort order, Is for skill.Is for bundle, Is for skill.Has subobject
   | Healing
+
   | Healing  
   | Utility
+
   | Utility  
   | Elite    = Is for skill.Has profession sort order, Is for skill.Has specialization sort order, Is for skill.Has skill type sort order, Is for skill.Has page name
+
   | Elite    = Is for skill.Has profession sort order, Is for skill.Has specialization sort order,                             Is for skill.Has subobject
   | Racial  = Is for skill.Is for race, Is for skill.Has page name
+
   | Racial  = Is for skill.Is for race,                                                                                       Is for skill.Has subobject
   | Common  =
+
   | Common  =  
   | #default = Is for skill.Has profession sort order, Is for skill.Has specialization sort order, Is for skill.Has page name}}
+
   | #default = Is for skill.Has profession sort order, Is for skill.Has specialization sort order,                             Is for skill.Has subobject}}  
  | limit = 500
+
  | limit = 250
  | searchlabel = <li>Further results... {{#if: {{NAMESPACE}}||[[Category:Pages with further semantic mediawiki query results]]}}</li>
+
  | default = * ''No skills found.''{{#if: {{NAMESPACE}}||[[Category:Pages with empty semantic mediawiki query results]]}}
| default = {{{default|* ''No skills found.''{{#var:smw-empty-query-warning}}}}}
 
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
== Description ==
 
== Description ==
 
This template returns a list of skills of a certain skill context 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 if possible by weapon. It relies on the usage of the template {{tl|skill fact}} which sets the according skill fact properties. An overview of the skill fact properties and their types can be found [[Guild Wars 2 Wiki:Semantic MediaWiki/Skill facts#Overview|here]]. Format using {{tl|skill list result format}}.
 
This template returns a list of skills of a certain skill context 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 if possible by weapon. It relies on the usage of the template {{tl|skill fact}} which sets the according skill fact properties. An overview of the skill fact properties and their types can be found [[Guild Wars 2 Wiki:Semantic MediaWiki/Skill facts#Overview|here]]. Format using {{tl|skill list result format}}.
  
At the current stage it is not recommended to use if for any other skill fact effects, although it would work. E.g. "Pierces": not all piercing skills list this skill fact.
+
At the current stage it is not recommended to use if for any other skill fact effects, although it would work. E.g. "Pierces": not all piercing skills list this skill fact.  
  
;Related templates
+
;See also
{| class="wikitable"
+
:* {{tl|Skill list by property}} &mdash; Skill list by semantic mediawiki skill properties.
! Usage
+
:* {{tl|Trait list}} &mdash; Trait list by trait effect based on {{tl|skill fact}}.
! Skill templates
 
! Trait templates
 
! Description
 
|-
 
! Section
 
| {{tl|Related skills}}
 
| {{tl|Related traits}}
 
| These templates list all related skills/traits based on {{tl|skill fact}} and on the {{tl|trait infobox}} ''improves'' parameters. They create subsection headings automatically.
 
|-
 
! rowspan="2" | Subsection
 
| {{tl|Skill list}}
 
| {{tl|Trait list}}
 
| These templates list all related skills of a certain context (e.g. weapon, utility)/traits based on {{tl|skill fact}}
 
|-
 
| {{tl|Skill list by property}}
 
| {{tl|Trait list by property}}
 
| These templates list all related skills/traits based on a smw query, e.g. based on the {{tl|trait infobox}} ''improves'' parameters.
 
|-
 
! Inline
 
| —
 
| {{tl|Trait list entry}}
 
| This template displays the profession icon, trait icon, trait, trait line and trait description.
 
|}
 
  
 
== Usage ==
 
== Usage ==
=== Related skills ===
 
 
<pre style="display:inline-block; width:25em">{{Skill list|Weapon}}
 
<pre style="display:inline-block; width:25em">{{Skill list|Weapon}}
 
{{Skill list|Bundle}}
 
{{Skill list|Bundle}}
Строка 199: Строка 154:
 
{{Skill list|Profession|<effect>}}
 
{{Skill list|Profession|<effect>}}
 
</pre>
 
</pre>
;Copy-and-paste code
+
=== Copy-and-paste code ===
 
{|
 
{|
 
! <context> skills that apply <effect>
 
! <context> skills that apply <effect>
Строка 205: Строка 160:
 
|-
 
|-
 
|<pre>
 
|<pre>
== Related [[skill]]s ==
 
 
=== [[Weapon]] skills that apply {{subst:lc:{{subst:PAGENAME}}}} ===
 
=== [[Weapon]] skills that apply {{subst:lc:{{subst:PAGENAME}}}} ===
 
{{Skill list|Weapon}}
 
{{Skill list|Weapon}}
Строка 226: Строка 180:
 
=== [[List of drowning skills|Drowning]] skills that apply {{subst:lc:{{subst:PAGENAME}}}} ===
 
=== [[List of drowning skills|Drowning]] skills that apply {{subst:lc:{{subst:PAGENAME}}}} ===
 
{{Skill list|Drowning}}
 
{{Skill list|Drowning}}
 +
=== [[List of trait skills|Trait]] skills that apply {{subst:lc:{{subst:PAGENAME}}}} ===
 +
{{Skill list|Trait}}
 
=== [[Racial skill]]s that apply {{subst:lc:{{subst:PAGENAME}}}} ===
 
=== [[Racial skill]]s that apply {{subst:lc:{{subst:PAGENAME}}}} ===
 
{{Skill list|Racial}}
 
{{Skill list|Racial}}
Строка 232: Строка 188:
 
</pre>
 
</pre>
 
|<pre>
 
|<pre>
== Related [[skill]]s ==
 
 
=== [[Weapon]] skills that grant {{subst:lc:{{subst:PAGENAME}}}} ===
 
=== [[Weapon]] skills that grant {{subst:lc:{{subst:PAGENAME}}}} ===
 
{{Skill list|Weapon}}
 
{{Skill list|Weapon}}
Строка 253: Строка 208:
 
=== [[List of drowning skills|Drowning]] skills that grant {{subst:lc:{{subst:PAGENAME}}}} ===
 
=== [[List of drowning skills|Drowning]] skills that grant {{subst:lc:{{subst:PAGENAME}}}} ===
 
{{Skill list|Drowning}}
 
{{Skill list|Drowning}}
 +
=== [[List of trait skills|Trait]] skills that grant {{subst:lc:{{subst:PAGENAME}}}} ===
 +
{{Skill list|Trait}}
 
=== [[Racial skill]]s that grant {{subst:lc:{{subst:PAGENAME}}}} ===
 
=== [[Racial skill]]s that grant {{subst:lc:{{subst:PAGENAME}}}} ===
 
{{Skill list|Racial}}
 
{{Skill list|Racial}}
Строка 263: Строка 220:
 
|-
 
|-
 
|<pre>
 
|<pre>
== Related [[skill]]s ==
 
 
=== [[Weapon]] skills that are {{subst:lc:{{subst:PAGENAME}}}} ===
 
=== [[Weapon]] skills that are {{subst:lc:{{subst:PAGENAME}}}} ===
 
{{Skill list|Weapon}}
 
{{Skill list|Weapon}}
Строка 284: Строка 240:
 
=== [[List of drowning skills|Drowning]] skills that are {{subst:lc:{{subst:PAGENAME}}}} ===
 
=== [[List of drowning skills|Drowning]] skills that are {{subst:lc:{{subst:PAGENAME}}}} ===
 
{{Skill list|Drowning}}
 
{{Skill list|Drowning}}
 +
=== [[List of trait skills|Trait]] skills that are {{subst:lc:{{subst:PAGENAME}}}} ===
 +
{{Skill list|Trait}}
 
=== [[Racial skill]]s that are {{subst:lc:{{subst:PAGENAME}}}} ===
 
=== [[Racial skill]]s that are {{subst:lc:{{subst:PAGENAME}}}} ===
 
{{Skill list|Racial}}
 
{{Skill list|Racial}}
Строка 290: Строка 248:
 
</pre>
 
</pre>
 
|<pre>
 
|<pre>
== Related [[skill]]s ==
 
 
=== [[Weapon]] skills ===
 
=== [[Weapon]] skills ===
 
{{Skill list|Weapon}}
 
{{Skill list|Weapon}}
Строка 311: Строка 268:
 
=== [[List of drowning skills|Drowning]] skills ===
 
=== [[List of drowning skills|Drowning]] skills ===
 
{{Skill list|Drowning}}
 
{{Skill list|Drowning}}
 +
=== [[List of trait skills|Trait]] skills ===
 +
{{Skill list|Trait}}
 
=== [[Racial skill]]s ===
 
=== [[Racial skill]]s ===
 
{{Skill list|Racial}}
 
{{Skill list|Racial}}
Строка 317: Строка 276:
 
</pre>
 
</pre>
 
|}
 
|}
=== Related traits ===
 
<pre style="display:inline-block; width:25em">{{Skill list|Trait}}</pre>
 
<pre style="display:inline-block; width:25em">{{Skill list|Trait|<effect>}}</pre>
 
;Copy-and-paste code
 
{|
 
! <context> that apply <effect>
 
! <context> that grant <effect>
 
|-
 
|<pre>
 
== Related [[trait]]s ==
 
=== Traits that apply {{subst:lc:{{subst:PAGENAME}}}} ===
 
{{Trait list}}
 
 
=== [[List of trait skills|Trait skills]] that apply {{subst:lc:{{subst:PAGENAME}}}} ===
 
{{Skill list|Trait}}
 
</pre>
 
|<pre>
 
== Related [[trait]]s ==
 
=== Traits that grant {{subst:lc:{{subst:PAGENAME}}}} ===
 
{{Trait list}}
 
 
=== [[List of trait skills|Trait skills]] that grant {{subst:lc:{{subst:PAGENAME}}}} ===
 
{{Skill list|Trait}}
 
</pre>
 
|-
 
! <context> that are <effect>
 
! <context>
 
|-
 
|<pre>
 
== Related [[trait]]s ==
 
=== Traits that are {{subst:lc:{{subst:PAGENAME}}}} ===
 
{{Trait list}}
 
 
=== [[List of trait skills|Trait skills]] that are {{subst:lc:{{subst:PAGENAME}}}} ===
 
{{Skill list|Trait}}
 
</pre>
 
|<pre>
 
== Related [[trait]]s ==
 
=== Traits ===
 
{{Trait list}}
 
 
=== [[List of trait skills|Trait skills]] ===
 
{{Skill list|Trait}}
 
</pre>
 
|}
 
 
 
=== Parameters ===
 
=== Parameters ===
 
;1 ''(unnamed parameter)''
 
;1 ''(unnamed parameter)''
Строка 371: Строка 284:
 
;type
 
;type
 
: Optional. Skill fact type. For boons, conditions and control effect this is set automatically. See also [[Guild Wars 2 Wiki:Semantic MediaWiki/Skill facts#Overview|here]].
 
: Optional. Skill fact type. For boons, conditions and control effect this is set automatically. See also [[Guild Wars 2 Wiki:Semantic MediaWiki/Skill facts#Overview|here]].
;game mode
 
: Optional. On default the game mode is restricted to the PvE version (except for "suffix = type and notes OR 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
 
;suffix
: Optional. Either "type" (default, weapon or skill type), "none", "description", "notes" (in-game fact description), "type and notes" or "trait" (matching {{tl|trait list}}, trait parent and description).
+
: Optional. Either "type" (default, weapon or skill type), "none", "description" or "notes" (stacks and duration).
 
;number
 
;number
 
: Optional. Allows to ask for the skill effect number, e.g. "20" for Physical Projectile (20% chance) and "100" for Physical Projectile.
 
: Optional. Allows to ask for the skill effect number, e.g. "20" for Physical Projectile (20% chance) and "100" for Physical Projectile.
 
;include effects
 
;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".
 
: 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".
;intro
 
: Optional. Intro text.
 
;default
 
: Optional. Default text.
 
 
;query
 
;query
 
: Optional. Additional query.
 
: Optional. Additional query.
 +
;missing
 +
: Optional. Missing skills (separated by ";"), use rarely and sparsely.
  
 
=== Examples ===
 
=== Examples ===
Строка 406: Строка 315:
  
 
=== Format comparison (parameter "suffix") ===
 
=== Format comparison (parameter "suffix") ===
{| style="width:100%"
+
{| style="width:100%"
 
! style="width:50%" | type (default)
 
! style="width:50%" | type (default)
 
! style="width:50%" | none
 
! style="width:50%" | none
Строка 418: Строка 327:
 
! style="width:50%" | description
 
! style="width:50%" | description
 
|-
 
|-
| style="vertical-align:top" | <pre>{{Skill list|Utility|Might|suffix=type and notes}}</pre>
+
| style="vertical-align:top" | <pre>{{Skill list|Utility|Might|suffix=notes}}</pre>
{{Skill list|Utility|Might|suffix=type and notes}}
+
{{Skill list|Utility|Might|suffix=notes}}
 
| style="vertical-align:top" | <pre>{{Skill list|Utility|Might|suffix=description}}</pre>
 
| style="vertical-align:top" | <pre>{{Skill list|Utility|Might|suffix=description}}</pre>
 
{{Skill list|Utility|Might|suffix=description}}
 
{{Skill list|Utility|Might|suffix=description}}

Версия 00:30, 17 октября 2020

Description

This template returns a list of skills of a certain skill context 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 if possible by weapon. 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 {{skill list result format}}.

At the current stage it is not recommended to use if for any other skill fact effects, although it would work. E.g. "Pierces": not all piercing skills list this skill fact.

See also

Usage

{{Skill list|Weapon}}
{{Skill list|Bundle}}
{{Skill list|Transform}}
{{Skill list|Healing}}
{{Skill list|Utility}}
{{Skill list|Elite}}
{{Skill list|Profession mechanic}}
{{Skill list|Pet}}
{{Skill list|Downed}}
{{Skill list|Drowning}}
{{Skill list|Trait}}
{{Skill list|Racial}}
{{Skill list|Common}}
{{Skill list|Profession}}
{{Skill list|Weapon|<effect>}}
{{Skill list|Bundle|<effect>}}
{{Skill list|Transform|<effect>}}
{{Skill list|Healing|<effect>}}
{{Skill list|Utility|<effect>}}
{{Skill list|Elite|<effect>}}
{{Skill list|Profession mechanic|<effect>}}
{{Skill list|Pet|<effect>}}
{{Skill list|Downed|<effect>}}
{{Skill list|Drowning|<effect>}}
{{Skill list|Trait|<effect>}}
{{Skill list|Racial|<effect>}}
{{Skill list|Common|<effect>}}
{{Skill list|Profession|<effect>}}

Copy-and-paste code

<context> skills that apply <effect> <context> skills that grant <effect>
=== [[Weapon]] skills that apply {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Weapon}}
=== [[Bundle]] skills that apply {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Bundle}}
=== [[Transform]] skills that apply {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Transform}}
=== [[Healing skill]]s that apply {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Healing}}
=== [[Utility skill]]s that apply {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Utility}}
=== [[Elite skill]]s that apply {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Elite}}
=== [[Profession mechanic]] skills that apply {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Profession mechanic}}
=== [[List of pet skills|Pet]] skills that apply {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Pet}}
=== [[List of downed skills|Downed]] skills that apply {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Downed}}
=== [[List of drowning skills|Drowning]] skills that apply {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Drowning}}
=== [[List of trait skills|Trait]] skills that apply {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Trait}}
=== [[Racial skill]]s that apply {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Racial}}
=== Common skills that apply {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Common}}
=== [[Weapon]] skills that grant {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Weapon}}
=== [[Bundle]] skills that grant {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Bundle}}
=== [[Transform]] skills that grant {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Transform}}
=== [[Healing skill]]s that grant {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Healing}}
=== [[Utility skill]]s that grant {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Utility}}
=== [[Elite skill]]s that grant {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Elite}}
=== [[Profession mechanic]] skills that grant {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Profession mechanic}}
=== [[List of pet skills|Pet]] skills that grant {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Pet}}
=== [[List of downed skills|Downed]] skills that grant {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Downed}}
=== [[List of drowning skills|Drowning]] skills that grant {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Drowning}}
=== [[List of trait skills|Trait]] skills that grant {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Trait}}
=== [[Racial skill]]s that grant {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Racial}}
=== Common skills that grant {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Common}}
<context> skills that are <effect> <context> skills
=== [[Weapon]] skills that are {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Weapon}}
=== [[Bundle]] skills that are {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Bundle}}
=== [[Transform]] skills that are {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Transform}}
=== [[Healing skill]]s that are {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Healing}}
=== [[Utility skill]]s that are {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Utility}}
=== [[Elite skill]]s that are {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Elite}}
=== [[Profession mechanic]] skills that are {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Profession mechanic}}
=== [[List of pet skills|Pet]] skills that are {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Pet}}
=== [[List of downed skills|Downed]] skills that are {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Downed}}
=== [[List of drowning skills|Drowning]] skills that are {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Drowning}}
=== [[List of trait skills|Trait]] skills that are {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Trait}}
=== [[Racial skill]]s that are {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Racial}}
=== Common skills that are {{subst:lc:{{subst:PAGENAME}}}} ===
{{Skill list|Common}}
=== [[Weapon]] skills ===
{{Skill list|Weapon}}
=== [[Bundle]] skills ===
{{Skill list|Bundle}}
=== [[Transform]] skills ===
{{Skill list|Transform}}
=== [[Healing skill]]s ===
{{Skill list|Healing}}
=== [[Utility skill]]s ===
{{Skill list|Utility}}
=== [[Elite skill]]s ===
{{Skill list|Elite}}
=== [[Profession mechanic]] skills ===
{{Skill list|Profession mechanic}}
=== [[List of pet skills|Pet]] skills ===
{{Skill list|Pet}}
=== [[List of downed skills|Downed]] skills ===
{{Skill list|Downed}}
=== [[List of drowning skills|Drowning]] skills ===
{{Skill list|Drowning}}
=== [[List of trait skills|Trait]] skills ===
{{Skill list|Trait}}
=== [[Racial skill]]s ===
{{Skill list|Racial}}
=== Common skills ===
{{Skill list|Common}}

Parameters

1 (unnamed parameter)
Required. Skill context: "Weapon", "Bundle", "Transform", "Healing", "Utility", "Elite", "Profession mechanic", "Pet", "Downed", "Drowning", "Trait". Additional options: "Racial" and "Common" (non-profession skills).
Can be set to "Profession" to display all profession skills without specifing any skill context (default).
2 (unnamed parameter)
Required. Skill fact, boon, condition or control effect, e.g. Might, Burning. Defaults to PAGENAME.
type
Optional. Skill fact type. For boons, conditions and control effect this is set automatically. See also here.
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".
query
Optional. Additional query.
missing
Optional. Missing skills (separated by ";"), use rarely and sparsely.

Examples

{{Skill list|Utility|Might}}
{{Skill list|Weapon|Burning}}
{{Skill list|Racial|Burning}}
  • No skills found.
{{Skill list|Common|Aegis}}
{{Skill list|Pet|Bleeding}}
{{Skill list|Weapon|Projectile finisher|number=20}}

Format comparison (parameter "suffix")

type (default) none
{{Skill list|Utility|Might|suffix=type}}
{{Skill list|Utility|Might|suffix=none}}
notes description
{{Skill list|Utility|Might|suffix=notes}}
{{Skill list|Utility|Might|suffix=description}}