Шаблон:Skill infobox — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
Строка 14: | Строка 14: | ||
| race,profession | | race,profession | ||
| profession,racial <!-- dual supertype for engineer tool belt skills based on racial slot skills --> | | profession,racial <!-- dual supertype for engineer tool belt skills based on racial slot skills --> | ||
− | | racial,profession = {{#set: Has skill supertype =Profession,Racial|+sep=,}} {{#vardefine:supertype|Profession | + | | racial,profession = {{#set: Has skill supertype =Profession,Racial|+sep=,}} {{#vardefine:supertype|Profession,Racial}} |
| <!-- not set --> = <!-- if monster --> | | <!-- not set --> = <!-- if monster --> | ||
{{#if: {{{monster|}}} | {{#if: {{{monster|}}} | ||
Строка 28: | Строка 28: | ||
| elementalist | | elementalist | ||
| mesmer <!-- else if race for profession --> | | mesmer <!-- else if race for profession --> | ||
− | | necromancer = {{#if: {{{race|}}} |{{#set: Has skill supertype =Profession,Racial|+sep=,}} {{#vardefine:supertype|Profession | + | | necromancer = {{#if: {{{race|}}} |{{#set: Has skill supertype =Profession,Racial|+sep=,}} {{#vardefine:supertype|Profession,Racial}} |
<!-- profession -->|{{#set: Has skill supertype =Profession }} {{#vardefine:supertype|Profession}} }} | <!-- profession -->|{{#set: Has skill supertype =Profession }} {{#vardefine:supertype|Profession}} }} | ||
| common <!-- else if race for common or empty profession --> | | common <!-- else if race for common or empty profession --> | ||
Строка 40: | Строка 40: | ||
{{#switch: {{#var:supertype}} | {{#switch: {{#var:supertype}} | ||
| Profession | | Profession | ||
− | | Profession | + | | Profession,Racial = {{#set: |
| Is for profession ={{ucfirst:{{{profession}}}}} | | Is for profession ={{ucfirst:{{{profession}}}}} | ||
− | | Has profession sort order ={{#switch: {{lc:{{{profession}}}}} | + | | Has profession sort order ={{#vardefineecho: profession sort order|{{#switch: {{lc:{{{profession}}}}} |
| guardian = 1 | | guardian = 1 | ||
| revenant = 2 | | revenant = 2 | ||
Строка 52: | Строка 52: | ||
| mesmer = 8 | | mesmer = 8 | ||
| necromancer = 9 | | necromancer = 9 | ||
− | }} | + | }}}} |
− | | Has specialization sort order ={{#switch: {{lc:{{{specialization|}}}}} | + | | Has specialization sort order ={{#vardefineecho: specialization sort order|{{#switch: {{lc:{{{specialization|}}}}} |
| dragonhunter | | dragonhunter | ||
| herald | | herald | ||
Строка 72: | Строка 72: | ||
| mirage | | mirage | ||
| scourge = 2 <!-- PoF --> | | scourge = 2 <!-- PoF --> | ||
+ | | willbender | ||
+ | | virtuoso | ||
+ | | harbinger = 3 <!-- EoD --> | ||
| #default = 0 <!-- Core --> | | #default = 0 <!-- Core --> | ||
− | } | + | }}}} |
− | + | | Has weapon type sort order ={{#vardefineecho: weapon type sort order|{{#switch: {{lc:{{{slot|}}}}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | Has | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| weapon | | weapon | ||
| mechanic = {{#switch: {{lc:{{{mainhand|}}}{{{offhand|}}}{{{twohand|}}}{{{mechanic weapon|}}}}} | | mechanic = {{#switch: {{lc:{{{mainhand|}}}{{{offhand|}}}{{{twohand|}}}{{{mechanic weapon|}}}}} | ||
Строка 192: | Строка 132: | ||
}} | }} | ||
| #default = 100 <!-- default value --> | | #default = 100 <!-- default value --> | ||
− | }} | + | }}}} |
+ | | Has attunement sort order ={{#vardefineecho: attunement sort order|{{#switch: {{lc:{{{slot|}}}}} | ||
+ | | utility = 0 <!-- set it to 0 for glyph skills, due to the sort property position it would sort 1) all the main glyph skills and 2) then all fire attunement 3) water 4) air 5) earth --> | ||
+ | | #default = {{#switch: {{#replace:{{lc:{{{attunement|}}}}}| }} | ||
+ | | fire = 1 | ||
+ | | water = 2 | ||
+ | | air = 3 | ||
+ | | earth = 4 | ||
+ | | fire,water | ||
+ | | water,fire = 5 | ||
+ | | fire,air | ||
+ | | air,fire = 6 | ||
+ | | fire,earth | ||
+ | | earth,fire = 7 | ||
+ | | water,air | ||
+ | | air,water = 8 | ||
+ | | water,earth | ||
+ | | earth,water = 9 | ||
+ | | air,earth = 10 | ||
+ | | #default = 0 | ||
+ | }} | ||
+ | }}}} | ||
+ | | Has skill context sort order ={{#vardefineecho: skill context sort order|{{#switch: {{lc:{{{slot|}}}}} | ||
+ | | weapon = 1 | ||
+ | | engineering kit | ||
+ | | bundle = 2 | ||
+ | | transform = 3 | ||
+ | | healing = 4 | ||
+ | | utility = 5 | ||
+ | | elite = 6 | ||
+ | | mechanic = 7 | ||
+ | | pet = 8 | ||
+ | | downed = 9 | ||
+ | | drowning = 10 | ||
+ | | downed and drowning = {{#ifeq:{{lc:{{{profession|}}}}}|necromancer|9|10}} <!-- this will allow proper sorting, all shared skills (except for necromancers, only slot 1) are in the higher slot positions --> | ||
+ | | trait = 11 | ||
+ | | #default = 12 | ||
+ | }}}} | ||
+ | | Has skill slot sort order ={{#vardefineecho: skill slot sort order|{{#switch: {{lc:{{{slot|}}}}} | ||
+ | | pet | ||
+ | | mechanic = {{#if:{{{mechanic-slot|}}}|{{#expr:{{{mechanic-slot}}}-6}}|0}} <!-- storing F1,..,F5 as -5,...,-1, allowing to sort it before weapon slots, e.g. burst skills --> | ||
+ | | #default = {{#if:{{{weapon-slot|}}}|{{{weapon-slot}}}|0}} <!-- on default use weapon-slot, else set to 0 --> | ||
+ | }}}} | ||
+ | | Has skill type sort order ={{#vardefineecho: skill type sort order|{{#if: {{{sort type|}}} <!-- if sort type --> | ||
+ | | {{#arraymap: {{lc:{{{sort type}}}}}|,|@@@|{{#switch:{{lc:@@@}} | ||
+ | | tool belt | ||
+ | | stolen skill = {{ucfirst:@@@}} | ||
+ | | #default = {{#replace:{{#arraymap: @@@|<nowiki> </nowiki>|$$$|{{ucfirst:$$$}}|^ ^}}|^|}} | ||
+ | }}|,}} | ||
+ | | {{#if: {{{type|}}} <!-- else if type --> | ||
+ | | {{#arraymap: {{lc:{{{type}}}}}|,|@@@|{{#switch:{{lc:@@@}} | ||
+ | | tool belt | ||
+ | | stolen skill = {{ucfirst:@@@}} | ||
+ | | #default = {{#replace:{{#arraymap: @@@|<nowiki> </nowiki>|$$$|{{ucfirst:$$$}}|^ ^}}|^|}} | ||
+ | }}|,}} | ||
+ | | {{#if: {{{chain1|}}} <!-- else if chain1 type --> | ||
+ | | {{#if: {{#vardefineecho:chain1 type|{{#show: {{{chain1|}}}|?Has skill type#|default=|searchlabel=}}}} | ||
+ | | {{#var:chain1 type}} | ||
+ | | Skill without type <!-- else "Skill without type" --> | ||
+ | }} | ||
+ | | Skill without type | ||
+ | }} | ||
+ | }} | ||
+ | }}}}|+sep=, | ||
}} | }} | ||
}} | }} | ||
<!-- skill sort order to group sequence skills --> | <!-- skill sort order to group sequence skills --> | ||
− | {{#set: Has skill sort order ={{#if: {{{sort|}}} | + | {{#set: Has skill sort order ={{#vardefineecho: skill sort order|{{#if: {{{sort|}}} |
| {{ucfirst:{{{sort|}}}}} | | {{ucfirst:{{{sort|}}}}} | ||
| {{#if: {{{chain1|}}} | | {{#if: {{{chain1|}}} | ||
Строка 203: | Строка 206: | ||
| {{PAGENAME}} | | {{PAGENAME}} | ||
}} | }} | ||
− | }}}} | + | }}}}}} |
<!-- Chain and Stealth attacks --> | <!-- Chain and Stealth attacks --> | ||
Строка 306: | Строка 309: | ||
| banner = Banner | | banner = Banner | ||
| beast = Beast | | beast = Beast | ||
+ | | bladesong = Bladesong | ||
| burst | | burst | ||
| burst skill = Burst | | burst skill = Burst | ||
Строка 349: | Строка 353: | ||
| preparation = Preparation | | preparation = Preparation | ||
| primal burst = Primal Burst | | primal burst = Primal Burst | ||
+ | | psionic = Psionic | ||
| punishment = Punishment | | punishment = Punishment | ||
| rage = Rage | | rage = Rage | ||
Строка 442: | Строка 447: | ||
| variables = {{{facts|{{{variables|}}}}}} | | variables = {{{facts|{{{variables|}}}}}} | ||
| status = {{{status|}}} | | status = {{{status|}}} | ||
+ | | profession sort order ={{#var:profession sort order}} | ||
+ | | specialization sort order ={{#var:specialization sort order}} | ||
+ | | skill context sort order ={{#var:skill context sort order}} | ||
+ | | weapon type sort order ={{#var:weapon type sort order}} | ||
+ | | attunement sort order ={{#var:attunement sort order}} | ||
+ | | skill slot sort order ={{#var:skill slot sort order}} | ||
+ | | skill type sort order ={{#var:skill type sort order}} | ||
+ | | skill sort order ={{#var:skill sort order}} | ||
}} | }} | ||
{{#set:Is for game mode =PvE}} | {{#set:Is for game mode =PvE}} | ||
{{#if: {{#pos:{{#explode:{{{split|}}}|,|0}}|wvw}} | {{#set:Is for game mode =WvW}} }} | {{#if: {{#pos:{{#explode:{{{split|}}}|,|0}}|wvw}} | {{#set:Is for game mode =WvW}} }} | ||
{{#if: {{#pos:{{#explode:{{{split|}}}|,|0}}|pvp}} | {{#set:Is for game mode =PvP}} }} | {{#if: {{#pos:{{#explode:{{{split|}}}|,|0}}|pvp}} | {{#set:Is for game mode =PvP}} }} | ||
− | | {{#switch: {{#var:supertype}} | Profession | Profession | + | | {{#switch: {{#var:supertype}} | Profession | Profession,Racial = {{#set:Is for game mode =Default}} }} <!-- Set "Default" to ask for e.g. "Default||PvE". --> |
}} | }} | ||
Строка 505: | Строка 518: | ||
<div class="wrapper">{{#switch: {{#var:supertype}} | <div class="wrapper">{{#switch: {{#var:supertype}} | ||
| Profession | | Profession | ||
− | | Profession | + | | Profession,Racial = |
; [[Profession|Профессия]] | ; [[Profession|Профессия]] | ||
: {{profession|{{{profession}}}}} [[{{ucfirst:{{{profession}}}}}|{{rus lang|profession|{{{profession}}}}}]] <!-- | : {{profession|{{{profession}}}}} [[{{ucfirst:{{{profession}}}}}|{{rus lang|profession|{{{profession}}}}}]] <!-- | ||
Строка 596: | Строка 609: | ||
-->{{#if: {{{activity|}}} | | -->{{#if: {{{activity|}}} | | ||
; [[Activity|Мероприятие]] | ; [[Activity|Мероприятие]] | ||
− | : {{# | + | : {{#arraymap: {{{activity|}}} |,|@@@| {{#switch: {{lc:@@@}} |
| costume | | costume | ||
| costume brawl = [[Costume Brawl|Костюмированные Бои]] | | costume brawl = [[Costume Brawl|Костюмированные Бои]] | ||
− | | #default = [[{{ucfirst: | + | | #default = [[{{ucfirst:@@@}}]]{{#set:Has skill context=Activity|Is for activity={{ucfirst:@@@}}}} |
− | + | }}|<br>}} | |
}}{{#if: {{{weapon-slot|}}} | }}{{#if: {{{weapon-slot|}}} | ||
| {{#set:Has skill slot number ={{{weapon-slot}}}}} | | {{#set:Has skill slot number ={{{weapon-slot}}}}} | ||
{{#ifexpr: {{{weapon-slot}}} > 0 and {{{weapon-slot}}} < 6 | {{#ifexpr: {{{weapon-slot}}} > 0 and {{{weapon-slot}}} < 6 | ||
|; | |; | ||
− | : | + | : {{Skill infobox/weapon slot |
− | }}{{#if: {{{tool belt|}}} | + | | supertype ={{#var:supertype}} |
+ | | profession ={{{profession|}}} | ||
+ | | slot ={{{slot|}}} | ||
+ | | mainhand ={{{mainhand|}}} | ||
+ | | offhand ={{{offhand|}}} | ||
+ | | twohand ={{{twohand|}}} | ||
+ | | bundle ={{{bundle|}}} | ||
+ | | kit ={{{kit|}}} | ||
+ | | parent ={{{parent|}}} | ||
+ | | requires offhand ={{{requires offhand|}}} | ||
+ | | attunement ={{{attunement|}}} | ||
+ | | weapon-slot ={{{weapon-slot|}}} | ||
+ | | underwater ={{#var:underwater useability}} | ||
+ | | status ={{{status|}}} | ||
+ | }} }} }}{{#if: {{{tool belt|}}} | ||
| {{#switch: {{{slot}}} | | {{#switch: {{{slot}}} | ||
| healing | | healing | ||
Строка 646: | Строка 673: | ||
}}{{#if: {{{chain1|}}} | | }}{{#if: {{{chain1|}}} | | ||
; [[Sequence skill|Очередность]] | ; [[Sequence skill|Очередность]] | ||
− | : {{#arraymap: {{{chain1|}}}, {{{chain2|}}}, {{{chain3|}}}, {{{chain4|}}} |,|@@@| {{borderless|{{#sub:{{#show: @@@ | ?Has game icon | link = none | default = File:Skill.png }}|5}}|20|link=@@@}}| → }} | + | : {{#arraymap: {{{chain1|}}}, {{{chain2|}}}, {{{chain3|}}}, {{{chain4|}}} |,|@@@| {{#ifeq: @@@|{{PAGENAME}}|<div style="display:inline-block; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: inherit; padding-bottom: 2px;">}}{{borderless|{{#sub:{{#show: @@@ | ?Has game icon | link = none | default = File:Skill.png }}|5}}|20|link=@@@}}{{#ifeq: @@@|{{PAGENAME}}|</div>}}| → }} |
{{#set:Has chain sequence ={{{chain1}}}{{#if:{{{chain2|}}}|; {{{chain2}}}}}{{#if:{{{chain3|}}}|; {{{chain3}}}}}{{#if:{{{chain4|}}}|; {{{chain4}}}}}|+sep=;}} | {{#set:Has chain sequence ={{{chain1}}}{{#if:{{{chain2|}}}|; {{{chain2}}}}}{{#if:{{{chain3|}}}|; {{{chain3}}}}}{{#if:{{{chain4|}}}|; {{{chain4}}}}}|+sep=;}} | ||
}}{{#if: {{{hero points|}}} | | }}{{#if: {{{hero points|}}} | | ||
Строка 655: | Строка 682: | ||
: {{#arraymap: {{{id}}} |,|@@@| {{#set:Has game id =@@@}}{{skill link|@@@}} |<br>}} | : {{#arraymap: {{{id}}} |,|@@@| {{#set:Has game id =@@@}}{{skill link|@@@}} |<br>}} | ||
}}{{#if: {{{id|}}} | }}{{#if: {{{id|}}} | ||
− | | {{# | + | | {{#switch: {{{status|}}} |
− | | <!-- do nothing if | + | | historical | unimplemented = <!-- do nothing if not current or future --> |
− | | {{#switch: {{#var:supertype}} | + | | #default = {{#switch: {{#var:supertype}} |
| Profession | | Profession | ||
− | | Profession | + | | Profession,Racial |
| Racial | | Racial | ||
| Monster = | | Monster = | ||
Строка 681: | Строка 708: | ||
<!-- Activity --> | <!-- Activity --> | ||
{{#if: {{{activity|}}} | {{#if: {{{activity|}}} | ||
− | | {{# | + | | {{#arraymap: {{{activity|}}} |,|@@@| {{#switch: {{lc:@@@}} |
| costume | | costume | ||
| costume brawl = [[Category:Costume Brawl skills]] | | costume brawl = [[Category:Costume Brawl skills]] | ||
− | | #default = [[Category:{{ucfirst: | + | | #default = [[Category:{{ucfirst:@@@}} skills]] |
− | }} | + | }}|}} |
}} | }} | ||
<!-- Activation type --> | <!-- Activation type --> | ||
Строка 722: | Строка 749: | ||
}} | }} | ||
| Racial = [[Category:{{ucfirst:{{{race|}}}}} skills]] <!-- Racial --> | | Racial = [[Category:{{ucfirst:{{{race|}}}}} skills]] <!-- Racial --> | ||
− | | Profession | + | | Profession,Racial = [[Category:{{ucfirst:{{{profession|}}}}} skills]] [[Category:{{ucfirst:{{{race|}}}}} skills]] <!-- Profession + Racial --> |
| Monster = [[Category:Monster skills]] <!-- Monster --> | | Monster = [[Category:Monster skills]] <!-- Monster --> | ||
| Common = [[Category:Common skills]] <!-- Common --> | | Common = [[Category:Common skills]] <!-- Common --> | ||
Строка 847: | Строка 874: | ||
| [[Category:{{ucfirst:{{{mechanic weapon|}}}}} skills]] | | [[Category:{{ucfirst:{{{mechanic weapon|}}}}} skills]] | ||
}} | }} | ||
− | }}{{#ifeq:{{{uw-replaced-by|none}}}|none|<!--display nothing when there is no replacement skill-->|:[[File:Not available underwater.png|x20px]] ''Это умение имеет [[underwater mode|подводную]] версию [[{{{uw-replaced-by}}}]]''}}{{#if: {{{uw-replaces|}}}|{{#ifeq:{{{uw-replaces|}}}|none|:[[File:Underwater.png|x20px]] ''Это умение имеет только [[underwater mode|подводную]] версию и не доступно на земле.''|:[[File:Underwater.png|x20px]] ''Это умение является [[underwater mode|подводной]] версией [[{{{uw-replaces|}}}]]''}}}} | + | }}{{#ifeq:{{{uw-replaced-by|none}}}|none|<!--display nothing when there is no replacement skill-->|:[[File:Not available underwater.png|x20px|link=]] ''Это умение имеет [[underwater mode|подводную]] версию [[{{{uw-replaced-by}}}]]''}}{{#if: {{{uw-replaces|}}}|{{#ifeq:{{{uw-replaces|}}}|none|:[[File:Underwater.png|x20px|link=]] ''Это умение имеет только [[underwater mode|подводную]] версию и не доступно на земле.''|:[[File:Underwater.png|x20px|link=]] ''Это умение является [[underwater mode|подводной]] версией [[{{{uw-replaces|}}}]]''}}}} |
{{Quotation|Внутриигровое описание <sup><nowiki>[</nowiki>[[Guild Wars 2 Wiki:Skill formatting|?]]<nowiki>]</nowiki></sup>|{{#if: {{{description|}}}|{{#var:description chain}}{{#var:description type}}{{{description|}}}|''Описание отсутствует.''}}<!-- | {{Quotation|Внутриигровое описание <sup><nowiki>[</nowiki>[[Guild Wars 2 Wiki:Skill formatting|?]]<nowiki>]</nowiki></sup>|{{#if: {{{description|}}}|{{#var:description chain}}{{#var:description type}}{{{description|}}}|''Описание отсутствует.''}}<!-- | ||
-->{{#if: {{{description|}}} | -->{{#if: {{{description|}}} | ||
Строка 862: | Строка 889: | ||
-->{{#if: <!-- set missing skill fact subobjects silently --> {{#vardefine: missing skill fact|true}} {{{missing facts|}}} {{#vardefine: missing skill fact|false}} }}{{#vardefine:enable facts|false}}</includeonly><noinclude> | -->{{#if: <!-- set missing skill fact subobjects silently --> {{#vardefine: missing skill fact|true}} {{{missing facts|}}} {{#vardefine: missing skill fact|false}} }}{{#vardefine:enable facts|false}}</includeonly><noinclude> | ||
== Description == | == Description == | ||
+ | This infobox is used for [[skill]]s. Uses {{tl|Skill infobox/subobject}} and {{tl|Skill infobox/weapon slot}}. See {{tl|Skill infobox/historical}} for SMW-free version used on version history pages. | ||
+ | |||
+ | == Usage == | ||
<pre>{{Skill infobox | <pre>{{Skill infobox | ||
| name = | | name = | ||
Строка 869: | Строка 899: | ||
| facts = | | facts = | ||
| profession = | | profession = | ||
+ | | specialization = | ||
| race = | | race = | ||
| slot = | | slot = | ||
Строка 1005: | Строка 1036: | ||
: Attunement for elementalist's weapon skills. | : Attunement for elementalist's weapon skills. | ||
;activity | ;activity | ||
− | : The activity in which the skill is available. | + | : The activity in which the skill is available. Multiple activites can be separated with a comma. |
;kit | ;kit | ||
: The [[engineering kit]] that provides the skill. | : The [[engineering kit]] that provides the skill. | ||
Строка 1069: | Строка 1100: | ||
: Optional. The expansion or living world season required to access the content. Displays a notice of the release. See {{tl|infobox requires}} for options. | : Optional. The expansion or living world season required to access the content. Displays a notice of the release. See {{tl|infobox requires}} for options. | ||
− | == Examples == | + | === Examples === |
<pre> | <pre> | ||
{{Skill infobox | {{Skill infobox |
Версия 06:26, 25 августа 2021
Содержание
Description
This infobox is used for skills. Uses {{Skill infobox/subobject}} and {{Skill infobox/weapon slot}}. See {{Skill infobox/historical}} for SMW-free version used on version history pages.
Usage
{{Skill infobox | name = | icon = | description = | description type = | facts = | profession = | specialization = | race = | slot = | mainhand = | offhand = | twohand = | bundle = | tonic = | mechanic weapon = | tool belt = | attunement = | activity = | kit = | pet = | pet-family = | monster = | parent = | uw-replaced-by = | uw-replaces = | type = | activ-type = | movement type = | chain1 = | chain2 = | chain3 = | weapon-slot = | mechanic-slot = | training track = | training order = | hero points = | ground-target = | id = | split = | activation = | ammunition = | energy = | health cost = | initiative = | upkeep = | recharge = | activation-pvp = | ammunition-pvp = | energy-pvp = | health cost-pvp = | initiative-pvp = | recharge-pvp = | upkeep-pvp = | activation-wvw = | ammunition-wvw = | energy-wvw = | health cost-wvw = | initiative-wvw = | recharge-wvw = | upkeep-wvw = }}
Parameters
All parameters are optional.
- name
- Skill name. Defaults to the page name if skipped; displays (unnamed skill) if included but left blank.
- icon
- Skill icon to show. If not explicitly stated, displays File:<name>.png; if it was not found, shows instead.
- description
- Skill description.
- description type
- Optional. Skill description type. On default the parameter type is used. Setting to "none" disables the skill description type.
- split
- Game modes that this skill applies to. See {{Game mode version}}. Calls {{Skill infobox/subobject}} for each game mode beside PvE to create subobjects.
- To set activation, ammunition, energy, health cost, initiative, recharge and upkeep for a specific game mode: use the -wvw and -pvp parameters to set it. If the split is PvE | WvW + PvP, set only one of these parameters for the wvw+pvp version.
- facts
- The skill facts (i.e. bleeding, damage, range, etc.) shown below the description. Each fact should be presented as an individual instance of the {{skill fact}} template.
- missing facts
- Optional. Related skill facts that aren't shown in-game, uses the template {{skill fact}} as the parameter "facts" does. This parameter has no visible result, however, the missing skill fact subobjects can be used in SMW queries.
- activation
- Activation time. Enter as a decimal, e.g. 1.25.
- ammunition
- Ammunition (maximum count) number.
- initiative
- Initiative cost.
- energy
- Energy cost.
- upkeep
- Energy upkeep cost.
- health cost
- Health cost.
- recharge
- Recharge time. If there is no recharge, define the value as 0. Omitting the recharge does not set Property:Has recharge time.
- supertype
- Skill supertype describing who can use the skill. On default the supertype is set automatically to one of the following allowed values:
- "Profession": If profession is set to one of the nine professions: Guardian, Revenant, Warrior, Engineer, Ranger, Thief, Elementalist, Mesmer, Necromancer.
- "Racial": If race is set to one of the five races: Asura, Charr, Human, Norn, Sylvari.
- "Profession, Racial": If profession and race is set.
- "Monster": If monster is set.
- "Common": On default or if profession is set to "Common".
- profession
- Profession that uses the skill. Required if the specialization is set too.
- specialization
- Specialization required to use skill.
- race
- Race that uses the skill.
- slot
- Skill slot occupied by the skill:
- weapon: Weapon skill.
- bundle: Bundle weapon skill.
- healing: Healing skill.
- utility: Utility skill.
- elite: Elite skill.
- downed: Downed skill.
- drowning: Drowning skill.
- downed and drowning: Both downed and drowning skill.
- transform: Transform skill.
- pet: Pet skill.
- mechanic: Profession specific ability.
- toy: Skills provided by toys.
- tonic: Skills provided by tonics.
- trait: Skills provided by traits. Also use the trait parameter to link to the trait.
- mainhand
- Weapon held in the main hand.
- offhand
- Weapon held in the off-hand.
- twohand
- Weapon held in both hands.
- requires offhand
- Off-hand weapon that is required for this skill. Can be set to "none".
- bundle
- Bundles that grant the skill.
- tonic
- Tonics that grant the skill.
- mechanic weapon
- Weapon related to a certain profession mechanic.
- tool belt
- The associated tool belt skill.
- attunement
- Attunement for elementalist's weapon skills.
- activity
- The activity in which the skill is available. Multiple activites can be separated with a comma.
- kit
- The engineering kit that provides the skill.
- pet
- Pet species name (e.g. Jaguar), for skills unique to a specific pet. Do not include the "Juvenile" prefix, the template handles that internally.
- pet-family
- Pet family name (e.g. Feline), for skills common to that family.
- archetype
- Pet archetype, for skills that require that archetype.
- monster
- The monster or monster type that uses this skill. Multiple monsters can be specified with semi-colons.
- parent
- Parent skill — the skill which gives access to this skill.
- uw-replaced-by
- For skills that are not usable underwater.
- If the skill is not usable underwater and has an underwater counterpart/replacement, name of the underwater skill.
- If the skill is not usable underwater and does not have a replacment, input none.
- uw-replaces
- For underwater skills that replace a normal skill, name of the skill it replaces.
- If the skill is only usable underwater and does not have a land replacment, input none.
- type
- Skill type, such as signet.
- sort type
- Skill sort type. On default: it inherits the skill type from the parameter type, else if it inherits chain1 skill type, else it sets "Skill without type".
- sort
- For grouping and sorting skills. On default: it inherits chain1 skill page name, else it uses page name.
- activ-type
- Activation type:
- chain: Chain skill.
- channeled or hold: Channeled skill.
- charge: Charge skill.
- movement type
- Movement type:
- leap: Leap skill.
- retreat: Retreat skill.
- shadowstep: Shadowstep skill.
- teleport: Teleport skill.
- chain1 .. chain4
- Skill sequence. Set with the names of the skills in the chain.
- weapon-slot
- Weapon skills only. Used to indicate which fixed position the skill has on a skill bar.
- mechanic-slot
- Profession mechanic skills only. Used to indicate which fixed position the skill has on a profession mechanic skill bar.
- training track
- Optional, should be automatically calculated. Slot (heal/utility/elite) skills only. Used to indicate the associated training track. Sets Property:Is for training track.
- training order
- Slot (heal/utility/elite) skills only. Used to identify the unlock order. Sets Property:Has training unlock order.
- hero points
- Slot (heal/utility/elite) skills only. Used to indicate how many hero points required to unlock the skill. Sets Property:Has training hero point cost.
- ground-target
- Whether the skill has ground targeting or not. Parameter expects type of ground targeting, but providing anything will automatically display to the rightmost of upper properties.
- id
- The skill's internal ID. Generates a game link in the infobox.
- categorize
- Optional. "y" or "n" to turn on/off categorization. Default is on for main namespace articles and off for others. If using "status", don't set this parameter.
- status
- Optional. Status of skill. Only set if not currently obtainable ingame, displays relevant notice. Available options: "historical", "future", "unimplemented", "current" (default).
- status notes
- Optional. Allows provision of additional reason for the given status.
- status date
- Optional. Sets the date of the update that marked this skill as historical (in YYYY-MM-DD format).
- requires
- Optional. The expansion or living world season required to access the content. Displays a notice of the release. See {{infobox requires}} for options.
Examples
{{Skill infobox | icon = Skill.png | description = This is an example. | activation = 1.5 | recharge = 45 | facts = {{skill fact|bleeding|5}} | profession = elementalist | specialization = tempest | slot = Weapon | twohand = staff | attunement = fire | weapon-slot = 5 | ground-target = circle | id = 12345 }}
Skill infobox
- Профессия
- Элементалист (список умений)
- Специализация
- Буря
- Оружие
- Посох
- Настройка
- Огонь
- Игр. ссылка
- API
- 12345
“This is an example.
- Кровотечение (5 сек): 110 урона.
— Внутриигровое описание