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

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
 
(не показано 29 промежуточных версий этого же участника)
Строка 110: Строка 110:
 
       | bundle = {{#switch: {{lc:{{{bundle|{{{kit|}}}}}}}}
 
       | bundle = {{#switch: {{lc:{{{bundle|{{{kit|}}}}}}}}
 
           | tome of justice          = 20
 
           | tome of justice          = 20
           | tome of courage           = 21
+
           | tome of resolve           = 21
           | tome of resolve           = 22
+
           | tome of courage           = 22
 
           | unsheathe gunsaber        = 23
 
           | unsheathe gunsaber        = 23
 
           | dragon trigger            = 24
 
           | dragon trigger            = 24
Строка 225: Строка 225:
 
   {{#ifeq: {{{chain4|}}} | {{PAGENAME}} | {{#set: Has chain sequence position=4}} {{#vardefine:chain sequence position|4}} }}
 
   {{#ifeq: {{{chain4|}}} | {{PAGENAME}} | {{#set: Has chain sequence position=4}} {{#vardefine:chain sequence position|4}} }}
 
  | {{#switch: {{lc:{{{type|}}}}}
 
  | {{#switch: {{lc:{{{type|}}}}}
     | stealth attack | ambush = {{#set: Has chain sequence position=5}}
+
     | stealth attack | ambush | unleashed ambush = {{#set: Has chain sequence position=5}}
 
     | #default = {{#set: Has chain sequence position=0}}
 
     | #default = {{#set: Has chain sequence position=0}}
 
   }}
 
   }}
Строка 392: Строка 392:
 
       | trick = Trick
 
       | trick = Trick
 
       | turret = Turret
 
       | turret = Turret
 +
      | unleashed ambush = Unleashed Ambush
 
       | venom = Venom
 
       | venom = Venom
 
       | virtue = <!-- manually: Virtue:/Activate: -->
 
       | virtue = <!-- manually: Virtue:/Activate: -->
Строка 397: Строка 398:
 
       | well = Well
 
       | well = Well
 
     }}}}|}}
 
     }}}}|}}
 +
}}
 +
 +
<!-- Chat link build templates skill palette ids --->
 +
{{#if: {{{palette id|}}}
 +
| {{#set: Has skill palette id={{{palette id}}}|+sep=, }}
 
}}
 
}}
  
Строка 424: Строка 430:
 
     | health cost wvw = {{{health cost wvw|{{{health cost-wvw|}}}}}}
 
     | health cost wvw = {{{health cost wvw|{{{health cost-wvw|}}}}}}
 
     | health cost pvp = {{{health cost pvp|{{{health cost-pvp|}}}}}}
 
     | health cost pvp = {{{health cost pvp|{{{health cost-pvp|}}}}}}
 +
    | page cost = {{{page cost|}}}
 +
    | page cost wvw = {{{page cost wvw|}}}
 +
    | page cost pvp = {{{page cost pvp|}}}
 
     | recharge = {{#replace:{{{recharge|}}}|.|,}}
 
     | recharge = {{#replace:{{{recharge|}}}|.|,}}
 
     | recharge wvw = {{#replace:{{{recharge wvw|{{{recharge-wvw|}}}}}}|.|,}}
 
     | recharge wvw = {{#replace:{{{recharge wvw|{{{recharge-wvw|}}}}}}|.|,}}
Строка 459: Строка 468:
 
     | uw replaces = {{{uw replaces|{{{uw-replaces|}}}}}}
 
     | uw replaces = {{{uw replaces|{{{uw-replaces|}}}}}}
 
     | id = {{{id|}}}
 
     | id = {{{id|}}}
 +
    | palette id = {{{palette id|}}}
 
     | other ids  = {{{other ids|}}}
 
     | other ids  = {{{other ids|}}}
 
     | description = {{#var:description chain}}{{#var:description type}}{{{description|}}}
 
     | description = {{#var:description chain}}{{#var:description type}}{{{description|}}}
Строка 486: Строка 496:
 
  | [[File:Ground target aim.png|18px|link=Targeting#Прицеливание на землю|Прицеливание на землю]] &nbsp; {{#set:Is ground targeted=Y}}
 
  | [[File:Ground target aim.png|18px|link=Targeting#Прицеливание на землю|Прицеливание на землю]] &nbsp; {{#set:Is ground targeted=Y}}
 
}}{{#if: {{{uw replaced by|{{{uw-replaced-by|}}}}}}
 
}}{{#if: {{{uw replaced by|{{{uw-replaced-by|}}}}}}
   | <span>[[File:Not available underwater.png|x20px|link=Underwater mode#Подводные умения|Недоступно под водой]]</span> &nbsp;
+
   | [[File:Not available underwater.png|x20px|link=Underwater mode#Подводные умения|Недоступно под водой]] &nbsp;
 
}}{{#ifeq: {{{activation|0}}} | 0
 
}}{{#ifeq: {{{activation|0}}} | 0
 
  | <!-- display nothing -->
 
  | <!-- display nothing -->
Строка 520: Строка 530:
 
       | {{health cost|{{{health cost}}}}}
 
       | {{health cost|{{{health cost}}}}}
 
     }} &nbsp;
 
     }} &nbsp;
 +
}}{{#if: {{{page cost|}}}{{{page cost pve|}}}
 +
  | {{#set:Has page cost={{{page cost pve|{{{page cost}}}}}}}}<!-- SILENT: NO SKILL INFOBOX STATISTICS -->
 
}}{{#if: {{{ammunition|}}}{{{ammunition pve|{{{ammunition-pve|}}}}}}
 
}}{{#if: {{{ammunition|}}}{{{ammunition pve|{{{ammunition-pve|}}}}}}
 
   | {{#set:Has ammunition number={{{ammunition pve|{{{ammunition-pve|{{{ammunition}}}}}}}}}}}
 
   | {{#set:Has ammunition number={{{ammunition pve|{{{ammunition-pve|{{{ammunition}}}}}}}}}}}
Строка 557: Строка 569:
 
}}{{#if: {{{pet family|{{{pet-family|}}}}}} |
 
}}{{#if: {{{pet family|{{{pet-family|}}}}}} |
 
; Сем.&nbsp;[[pet|питомца]]
 
; Сем.&nbsp;[[pet|питомца]]
: [[Is for pet family::{{ucfirst:{{{pet family|{{{pet-family|}}}}}}}}|{{rus lang|pet family|{{{pet family}}}}}]]
+
: {{#arraymap: {{{pet family|{{{pet-family|}}}}}} |,|@@@| {{#switch: {{lc:@@@}}
 +
  | phoenix
 +
  | phoenix (race) = [[Is for pet family::Juvenile Phoenix|Фениксы]]
 +
  | #default      = [[Is for pet family::{{ucfirst:@@@}}|{{rus lang|pet family|@@@}}]]}}}}
 
}}{{#if: {{{monster|}}} |
 
}}{{#if: {{{monster|}}} |
 
; [[Bestiary|Монстр]]
 
; [[Bestiary|Монстр]]
Строка 606: Строка 621:
 
: {{trait icon|{{{trait}}}|size=20}} {{#set:Has trait parent={{{trait}}}}}
 
: {{trait icon|{{{trait}}}|size=20}} {{#set:Has trait parent={{{trait}}}}}
 
}}
 
}}
| engineering kit    = ; [[Engineering Kit|Инж. набор]]: {{skill icon|{{{kit}}}|size=20}} {{#set:Is for bundle={{{kit}}}|Has skill context=Bundle}}
+
| engineering kit    = ; [[Engineering Kit|Набор]]: {{skill icon|{{{kit}}}|size=20}} {{#set:Is for bundle={{{kit}}}|Has skill context=Bundle}}
| bundle              = ; [[Bundle|Комплект]]: {{#arraymap: {{{bundle|}}} |,|@@@| {{#set: Is for bundle={{ucfirst:@@@}}}}{{cname|@@@}} |<br>}}{{#set:Has skill context=Bundle}}
+
| bundle              = ; [[Bundle|Комплект]]: {{#arraymap: {{{bundle|}}} |,|@@@| {{#set: Is for bundle={{ucfirst:@@@}}}}[[@@@|{{rus lang|bundle|@@@}}]] |<br>}}{{#set:Has skill context=Bundle}}
 
| healing            = ; [[Skill bar|Слот]]: [[Healing skill|Исцеляющее]] {{#set:Has skill context=Healing}}
 
| healing            = ; [[Skill bar|Слот]]: [[Healing skill|Исцеляющее]] {{#set:Has skill context=Healing}}
 
| utility            = ; [[Skill bar|Слот]]: [[Utility skill|Вспомогательное]] {{#set:Has skill context=Utility}}
 
| utility            = ; [[Skill bar|Слот]]: [[Utility skill|Вспомогательное]] {{#set:Has skill context=Utility}}
Строка 616: Строка 631:
 
| transform          = ; [[Skill bar|Слот]]: [[Transform|Преображение]]{{#set: Has skill context=Transform}}
 
| transform          = ; [[Skill bar|Слот]]: [[Transform|Преображение]]{{#set: Has skill context=Transform}}
 
| pet                = ; [[Skill bar|Слот]]: [[Pet|Питомец]] <small>([[List of pet skills|список&nbsp;умений]])</small>{{#set:Has skill context=Pet|Has profession mechanic slot number={{{mechanic slot|{{{mechanic-slot|}}}}}}}}
 
| pet                = ; [[Skill bar|Слот]]: [[Pet|Питомец]] <small>([[List of pet skills|список&nbsp;умений]])</small>{{#set:Has skill context=Pet|Has profession mechanic slot number={{{mechanic slot|{{{mechanic-slot|}}}}}}}}
| mechanic            = ; [[Skill bar|Слот]]: [[Profession mechanic|Механика профессии]]{{#set:Has skill context=Profession mechanic}}{{#set:Has profession mechanic slot number={{{mechanic slot|{{{mechanic-slot|}}}}}}}}
+
| mastery            = ; [[Skill bar|Слот]]: [[Mastery skill|Мастерство]]{{#set:Has skill context=Mastery}}
 +
| mechanic            = ; [[Skill bar|Слот]]: [[Profession mechanic#{{rus lang|profession|{{{specialization|{{{profession|}}}}}}}}|Механика профессии]]{{#set:Has skill context=Profession mechanic}}
 
{{#if: {{{mechanic trait|}}}|
 
{{#if: {{{mechanic trait|}}}|
 
; [[Trait|Черта]]: {{trait icon|{{{mechanic trait}}}|size=20}}{{#set:Has trait parent={{{mechanic trait|}}}}}
 
; [[Trait|Черта]]: {{trait icon|{{{mechanic trait}}}|size=20}}{{#set:Has trait parent={{{mechanic trait|}}}}}
Строка 655: Строка 671:
 
   | underwater ={{#var:underwater useability}}
 
   | underwater ={{#var:underwater useability}}
 
   | status ={{{status|}}}
 
   | status ={{{status|}}}
 +
}} }} }}{{#if: {{{mechanic slot|{{{mechanic-slot|{{#ifeq: {{lc:{{{profession|}}}}}+{{lc:{{{slot|}}}}}|engineer+mechanic|2}}}}}}}}
 +
| {{#if: {{{mechanic slot|{{{mechanic-slot|}}}}}} | {{#set:Has profession mechanic slot number={{{mechanic slot|{{{mechanic-slot|}}}}}}}} }}
 +
  {{#if: {{#switch: {{lc:{{{status|}}}}} | historical | unimplemented = <!-- do not show --> | #default = +}}
 +
|;
 +
: {{Skill infobox/mechanic slot
 +
  | profession ={{{profession|}}}
 +
  | specialization ={{{specialization|}}}
 +
  | mechanic slot ={{{mechanic slot|{{{mechanic-slot|{{#ifeq: {{lc:{{{profession|}}}}}+{{lc:{{{slot|}}}}}|engineer+mechanic|2}}}}}}}}
 
}} }} }}{{#if: {{{tool belt|}}}
 
}} }} }}{{#if: {{{tool belt|}}}
 
  | {{#switch: {{{slot}}}
 
  | {{#switch: {{{slot}}}
Строка 685: Строка 709:
 
   | sequence  = [[Sequence skill|Последовательность]] {{#set:Has skill activation type=Sequence}}
 
   | sequence  = [[Sequence skill|Последовательность]] {{#set:Has skill activation type=Sequence}}
 
   }}
 
   }}
 +
}}{{#if: {{{chain1|}}} |
 +
; [[Sequence skill|Очередность]]
 +
: {{#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>}}|&nbsp;&rarr;&nbsp; }}
 +
  {{#set:Has chain sequence ={{{chain1}}}{{#if:{{{chain2|}}}|; {{{chain2}}}}}{{#if:{{{chain3|}}}|; {{{chain3}}}}}{{#if:{{{chain4|}}}|; {{{chain4}}}}}|+sep=;}}
 +
}}{{#if: {{{damage type|}}} |
 +
; [[Damage type|Тип урона]]
 +
: [[Has damage type::{{ucfirst:{{lc:{{{damage type}}}}}}}|{{#switch:{{lc:{{{damage type}}}}}|physical=Физический|fire=Огонь|ice=Лед|lightning=Молния|choking=Удушье|#default={{ucfirst:{{{damage type}}}}}}}]]
 +
}}{{#if: {{{summons|}}} |
 +
; [[Summon|Призыв]]
 +
: {{#arraymap: {{{summons|}}}|,|@@@|[[@@@|{{rus lang|creature name|@@@}}]]|,&#32;}}
 
}}{{#if: {{{movement type|}}} |
 
}}{{#if: {{{movement type|}}} |
 
; [[Movement|Движение]]
 
; [[Movement|Движение]]
Строка 693: Строка 727:
 
   | teleport = [[Teleport|Телепорт]] {{#set:Has skill movement type=Teleport}}
 
   | teleport = [[Teleport|Телепорт]] {{#set:Has skill movement type=Teleport}}
 
   }}
 
   }}
}}{{#if: {{{chain1|}}} |
 
; [[Sequence skill|Очередность]]
 
: {{#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>}}|&nbsp;&rarr;&nbsp; }}
 
  {{#set:Has chain sequence ={{{chain1}}}{{#if:{{{chain2|}}}|; {{{chain2}}}}}{{#if:{{{chain3|}}}|; {{{chain3}}}}}{{#if:{{{chain4|}}}|; {{{chain4}}}}}|+sep=;}}
 
 
}}{{#if: {{{hero points|}}} |
 
}}{{#if: {{{hero points|}}} |
 
; [[Training|Изучение]]
 
; [[Training|Изучение]]
: {{{hero points}}} [[Hero point|Очки героя]]
+
: {{{hero points}}} [[Hero point|{{#switch:{{{hero points}}}|1=очко|2|3|4=очка|#default=очков}} героя]]
 
}}{{#if: {{{id|}}} |
 
}}{{#if: {{{id|}}} |
 
; Игр. ссылка
 
; Игр. ссылка
Строка 711: Строка 741:
 
       | Racial
 
       | Racial
 
       | Monster =
 
       | Monster =
; Внеш.&nbsp;ссылки
+
; [[API:2/skills|API]]
: [https://api.guildwars2.com/v2/skills?ids={{#replace:{{{id}}}&lang=en| |}} API] <!-- "&lang=" is being left in on purpose to make it easier to search for interwiki names of items by switching "en" to "es/fr/de" -->
+
: [https://api.guildwars2.com/v2/skills?ids={{#replace:{{{id}}}&lang=en| |}} {{#arraymap: {{{id}}}|,|@@@|@@@|, }}] <!-- "&lang=" is being left in on purpose to make it easier to search for interwiki names of skills by switching "en" to "es/fr/de" -->
 
       | Common = <!-- do not display API -->
 
       | Common = <!-- do not display API -->
 
       }}
 
       }}
Строка 718: Строка 748:
 
}}
 
}}
 
</div>
 
</div>
 +
{{#if: {{{gallery1|}}}{{ifimage|{{#replace:{{BASEPAGENAME}}|:|-}}.jpg|+}} |
 +
{{{!}} style="width:100%"
 +
! style="text-align:left;" {{!}} Галерея
 +
{{!}}- style="text-align:center;"
 +
{{!}} {{#if: {{{gallery1|}}}
 +
| {{#if: {{ifimage|{{{gallery1|}}}|+}}
 +
    | [[Has appearance::File:{{{gallery1}}}|220x200px]] {{#set: Has caption=[[{{#titleparts: {{PAGENAME}} }}|{{#titleparts: {{{name|{{PAGENAME}}}}} }}]] }}
 +
    | [[File:{{{gallery1}}}|Добавить изображение в галерею]]
 +
  }}
 +
| {{#if: {{ifimage|{{#replace:{{BASEPAGENAME}}|:|-}}.jpg|+}}
 +
    | [[Has appearance::File:{{#replace:{{BASEPAGENAME}}|:|-}}.jpg|220x200px]] {{#set: Has caption=[[{{#titleparts: {{PAGENAME}} }}|{{#titleparts: {{{name|{{PAGENAME}}}}} }}]] }}
 +
    | [[File:{{#replace:{{BASEPAGENAME}}|:|-}}.jpg|Добавить изображение в галерею]]
 +
  }}
 +
}}<p style="font-size:.9em;">{{{gallery1-text|Нажмите для увеличения}}}</p>
 +
{{#if:  {{{gallery2|}}} | [[File:{{{gallery2|}}}|220x200px]]<p style="font-size:.9em;">{{{gallery2-text|Нажмите для увеличения}}}</p>
 +
}}{{#if: {{{gallery3|}}} | [[File:{{{gallery3|}}}|220x200px]]<p style="font-size:.9em;">{{{gallery3-text|Нажмите для увеличения}}}</p>
 +
}}{{#if: {{{gallery4|}}} | [[File:{{{gallery4|}}}|220x200px]]<p style="font-size:.9em;">{{{gallery4-text|Нажмите для увеличения}}}</p>
 +
}}{{#if: {{{gallery5|}}} | [[File:{{{gallery5|}}}|220x200px]]<p style="font-size:.9em;">{{{gallery5-text|Нажмите для увеличения}}}</p>
 +
}}
 +
{{!}}}
 +
}}
 
{{clear}}
 
{{clear}}
</div><!--
+
</div>
 +
{{#ifeq:{{{uw replaced by|{{{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|{{{uw-replaced-by|}}}}}}]]''}}{{#if: {{{uw replaces|{{{uw-replaces|}}}}}}|{{#ifeq:{{{uw replaces|{{{uw-replaces|}}}}}}|none|:[[File:Underwater.png|x20px|link=]] ''Это умение имеет только [[underwater mode|подводную]] версию и не доступно на земле.''|:[[File:Underwater.png|x20px|link=]] ''Это умение является [[underwater mode|подводной]] версией [[{{{uw replaces|{{{uw-replaces|}}}}}}]]''}}}}
 +
{{Quotation|game|{{#if: {{{description|}}}|{{#var:description chain}}{{#var:description type}}{{{description|}}}|''Описание отсутствует.''}}<!--
 +
-->{{#if: {{{description|}}}
 +
  | {{#if: {{#pos: {{{description}}} |id="sic"}}<!-- Check for [sic] tags, if so, remove the template before storing the value -->
 +
    | {{#set:Has game description={{#dplreplace:{{#var:description chain}}{{#var:description type}}{{{description|}}}|\[\[Category:Text errors\]\]}}}}
 +
    | {{#set:Has game description={{#var:description chain}}{{#var:description type}}{{{description|}}}}}
 +
    }}
 +
  }}<!--
 +
-->{{#if: {{{facts|{{{variables|}}}}}} | {{{facts|{{{variables}}}}}}{{#set: Has skill facts = {{{facts|{{{variables}}}}}} }} }}<!--
 +
-->{{#if: {{{variables|}}} | <!-- legacy support -->
 +
:<small>''Поддержка устаревших версий: пожалуйста, используйте параметр '''facts''' вместо '''variables'''.''</small>
 +
}}
 +
}}<!--
 +
-->{{#if: <!-- set missing skill fact subobjects silently --> {{#vardefine: missing skill fact|true}} {{{missing facts|}}} {{#vardefine: missing skill fact|false}} }}{{#vardefine:enable facts|false}}
 +
<!--
 +
 
 
AUTOCATEGORIZATION
 
AUTOCATEGORIZATION
 +
 
-->{{#if: {{NAMESPACE}}<!-- no categories if outside of article namespace -->
 
-->{{#if: {{NAMESPACE}}<!-- no categories if outside of article namespace -->
 
           {{#ifeq: {{{categorize|y}}} | n | do not categorize | <!-- categorize --> }}
 
           {{#ifeq: {{{categorize|y}}} | n | do not categorize | <!-- categorize --> }}
Строка 786: Строка 854:
 
  | downed and drowning = [[Category:Downed skills]][[Category:Drowning skills]]
 
  | downed and drowning = [[Category:Downed skills]][[Category:Drowning skills]]
 
  | pet                = [[Category:Pet skills]]
 
  | pet                = [[Category:Pet skills]]
 +
| mastery            = [[Category:Mastery skills]]
 
  | mechanic            = [[Category:Profession mechanics]]
 
  | mechanic            = [[Category:Profession mechanics]]
 
  | special
 
  | special
Строка 873: Строка 942:
 
  | trick              = [[Category:Trick skills]]
 
  | trick              = [[Category:Trick skills]]
 
  | turret            = [[Category:Turret skills]]
 
  | turret            = [[Category:Turret skills]]
 +
| unleashed ambush  = [[Category:Unleashed Ambush skills]]
 
  | venom              = [[Category:Venom skills]]
 
  | venom              = [[Category:Venom skills]]
 
  | virtue            = [[Category:Virtue skills]]
 
  | virtue            = [[Category:Virtue skills]]
Строка 903: Строка 973:
 
  | [[Category:{{ucfirst:{{{mechanic weapon|}}}}} skills]]
 
  | [[Category:{{ucfirst:{{{mechanic weapon|}}}}} skills]]
 
}}
 
}}
}}{{#ifeq:{{{uw replaced by|{{{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|{{{uw-replaced-by|}}}}}}]]''}}{{#if: {{{uw replaces|{{{uw-replaces|}}}}}}|{{#ifeq:{{{uw replaces|{{{uw-replaces|}}}}}}|none|:[[File:Underwater.png|x20px|link=]] ''Это умение имеет только [[underwater mode|подводную]] версию и не доступно на земле.''|:[[File:Underwater.png|x20px|link=]] ''Это умение является [[underwater mode|подводной]] версией [[{{{uw replaces|{{{uw-replaces|}}}}}}]]''}}}}
+
}}</includeonly><noinclude>
{{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: {{#pos: {{{description}}} |id="sic"}}<!-- Check for [sic] tags, if so, remove the template before storing the value -->
 
    | {{#set:Has game description={{#dplreplace:{{#var:description chain}}{{#var:description type}}{{{description|}}}|\[\[Category:Text errors\]\]}}}}
 
    | {{#set:Has game description={{#var:description chain}}{{#var:description type}}{{{description|}}}}}
 
    }}
 
  }}<!--
 
-->{{#if: {{{facts|{{{variables|}}}}}} | {{{facts|{{{variables}}}}}}{{#set: Has skill facts = {{{facts|{{{variables}}}}}} }} }}<!--
 
-->{{#if: {{{variables|}}} | <!-- legacy support -->
 
:<small>''Поддержка устаревших версий: пожалуйста, используйте параметр '''facts''' вместо '''variables'''.''</small>
 
}}
 
}}<!--
 
-->{{#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.
+
This infobox is used for [[skill]]s. Uses {{tl|Skill infobox/subobject}}, {{tl|Skill infobox/weapon slot}} and {{tl|Skill infobox/mechanic slot}}. See {{tl|Skill infobox/historical}} for SMW-free version used on version history pages.
  
 
== Usage ==
 
== Usage ==
Строка 966: Строка 1023:
 
| energy =  
 
| energy =  
 
| health cost =  
 
| health cost =  
 +
| page cost =
 
| initiative =  
 
| initiative =  
 
| upkeep =  
 
| upkeep =  
Строка 974: Строка 1032:
 
| energy pvp =  
 
| energy pvp =  
 
| health cost pvp =  
 
| health cost pvp =  
 +
| page cost pvp =
 
| initiative pvp =  
 
| initiative pvp =  
 
| recharge pvp =  
 
| recharge pvp =  
Строка 982: Строка 1041:
 
| energy wvw =  
 
| energy wvw =  
 
| health cost wvw =  
 
| health cost wvw =  
 +
| page cost wvw =
 
| initiative wvw =  
 
| initiative wvw =  
 
| recharge wvw =  
 
| recharge wvw =  
Строка 999: Строка 1059:
 
;split
 
;split
 
: Game modes that this skill applies to. See {{tl|Game mode version}}. Calls {{tl|Skill infobox/subobject}} for each game mode beside PvE to create subobjects.
 
: Game modes that this skill applies to. See {{tl|Game mode version}}. Calls {{tl|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.
+
: To set ''activation'', ''ammunition'', ''energy'', ''health cost'', ''page 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
 
;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 {{tl|skill fact}} template.
 
: The skill facts (i.e. bleeding, damage, range, etc.) shown below the description. Each fact should be presented as an individual instance of the {{tl|skill fact}} template.
Строка 1016: Строка 1076:
 
;health cost
 
;health cost
 
: Health cost.
 
: Health cost.
 +
;page cost
 +
: Page cost.
 
;recharge
 
;recharge
 
: Recharge time. If there is no recharge, define the value as 0. Omitting the recharge does not set [[Property:Has recharge time]].
 
: Recharge time. If there is no recharge, define the value as 0. Omitting the recharge does not set [[Property:Has recharge time]].
Строка 1043: Строка 1105:
 
:: ''transform'': Transform skill.
 
:: ''transform'': Transform skill.
 
:: ''pet'': Pet skill.
 
:: ''pet'': Pet skill.
 +
:: ''mastery'': Mastery skill.
 
:: ''mechanic'': Profession specific ability.
 
:: ''mechanic'': Profession specific ability.
 
:: ''toy'': Skills provided by toys.
 
:: ''toy'': Skills provided by toys.
 
:: ''tonic'': Skills provided by tonics.
 
:: ''tonic'': Skills provided by tonics.
 
:: ''trait'': Skills provided by traits. Also use the <tt>trait</tt> parameter to link to the trait.
 
:: ''trait'': Skills provided by traits. Also use the <tt>trait</tt> parameter to link to the trait.
 +
:: ''special action'': Additional skills which can appear above the skill bar during certain fights.
 
;mainhand
 
;mainhand
 
: Weapon held in the main hand.
 
: Weapon held in the main hand.
Строка 1089: Строка 1153:
 
:: If the skill is only usable underwater and ''does not'' have a land replacment, input <tt>none</tt>.
 
:: If the skill is only usable underwater and ''does not'' have a land replacment, input <tt>none</tt>.
 
;type
 
;type
: Skill type, such as [[signet]].
+
: Skill type, such as [[signet]]. Can also be set to [[sigil]] or [[rune]].
 
;sort type
 
;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".
 
: 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".
Строка 1105: Строка 1169:
 
:: '''<tt>shadowstep</tt>''': [[Shadowstep (mechanic)|Shadowstep]] skill.
 
:: '''<tt>shadowstep</tt>''': [[Shadowstep (mechanic)|Shadowstep]] skill.
 
:: '''<tt>teleport</tt>''': [[Teleport]] skill.
 
:: '''<tt>teleport</tt>''': [[Teleport]] skill.
;flips over
 
: After using the current skill, this one flips over to the specified skill.
 
 
;chain1 .. chain4
 
;chain1 .. chain4
 
: Skill sequence. Set with the names of the skills in the chain.
 
: Skill sequence. Set with the names of the skills in the chain.
Строка 1121: Строка 1183:
 
;ground target
 
;ground target
 
: Whether the skill has [[Targeting|ground targeting]] or not. Parameter expects type of ground targeting, but providing anything will automatically display [[File:Ground target aim.png|20px]] to the rightmost of upper properties.
 
: Whether the skill has [[Targeting|ground targeting]] or not. Parameter expects type of ground targeting, but providing anything will automatically display [[File:Ground target aim.png|20px]] to the rightmost of upper properties.
 +
;damage type
 +
: Optional. Some bundle skills have a cosmetic [[damage type]].
 +
;summons
 +
: Used to link to any npc or object summoned by this skill. Seperate multiple summons with a comma.
 
;id
 
;id
:The skill's internal ID. Generates a game link in the infobox.
+
:The skill's internal ID as reported by skill chat links and [[API:2/skills]]. Generates a game link in the infobox. Separate multiple ids with a comma.
 +
;palette id
 +
:The skill palette ID as reported by build chat links and [[API:2/professions]] with the url parameter <code>v=latest</code>. This parameter sets the property [[Property:Has skill palette id]] but is not displayed on the page. Separate multiple palette ids with a comma.
 
;categorize
 
;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.
 
: 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.
Строка 1133: Строка 1201:
 
;requires
 
;requires
 
: 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.
 +
;gallery1 ... gallery5
 +
: Optional. Gallery of images. Defaults to <code><nowiki>{{PAGENAME}}</nowiki></code>.jpg.
 +
;gallery1-text ... gallery5-text
 +
: Optional. Image descriptions.
  
 
=== Examples ===
 
=== Examples ===

Текущая версия на 18:14, 3 января 2024

Description[править]

This infobox is used for skills. Uses {{Skill infobox/subobject}}, {{Skill infobox/weapon slot}} and {{Skill infobox/mechanic 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 = 
| mechanic trait = 
| tool belt = 
| attunement = 
| activity = 
| kit = 
| pet = 
| pet family = 
| monster = 
| parent = 
| uw replaced by = 
| uw replaces = 
| type = 
| activation 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 = 
| page cost = 
| initiative = 
| upkeep = 
| recharge = 

| activation pvp = 
| ammunition pvp = 
| energy pvp = 
| health cost pvp = 
| page cost pvp = 
| initiative pvp = 
| recharge pvp = 
| upkeep pvp = 

| activation wvw = 
| ammunition wvw = 
| energy wvw = 
| health cost wvw = 
| page 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 Skill.png 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, page 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.
page cost
Page 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.
mastery: Mastery 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.
special action: Additional skills which can appear above the skill bar during certain fights.
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. Use with the | slot = tonic parameter.
mechanic weapon
Weapon related to a certain profession mechanic.
mechanic trait
Trait 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. Can also be set to sigil or rune.
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.
activation 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 Ground target aim.png to the rightmost of upper properties.
damage type
Optional. Some bundle skills have a cosmetic damage type.
summons
Used to link to any npc or object summoned by this skill. Seperate multiple summons with a comma.
id
The skill's internal ID as reported by skill chat links and API:2/skills. Generates a game link in the infobox. Separate multiple ids with a comma.
palette id
The skill palette ID as reported by build chat links and API:2/professions with the url parameter v=latest. This parameter sets the property Property:Has skill palette id but is not displayed on the page. Separate multiple palette ids with a comma.
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.
gallery1 ... gallery5
Optional. Gallery of images. Defaults to {{PAGENAME}}.jpg.
gallery1-text ... gallery5-text
Optional. Image descriptions.

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
}}

This is an example.

Bleeding.png Кровотечение (5 сек): 110 урона.

— Внутриигровое описание