Редактирование: Шаблон:Skill infobox
Материал из Guild Wars 2 wiki
Внимание! Вы не авторизовались на сайте. Ваш IP-адрес будет публично видимым, если вы будете вносить любые правки. Если вы войдёте или создадите учётную запись, правки вместо этого будут связаны с вашим именем пользователя, а также у вас появятся другие преимущества.
Правка может быть отменена. Пожалуйста, просмотрите сравнение версий, чтобы убедиться, что это именно те изменения, которые вас интересуют, и нажмите «Записать страницу», чтобы изменения вступили в силу.
На этой странице невозможны семантические аннотации в тексте из-за ограничений пространства имён. Детали относительно того, как разрешить пространство имен, находятся в справочной странице конфигурации.
Текущая версия | Ваш текст | ||
Строка 110: | Строка 110: | ||
| bundle = {{#switch: {{lc:{{{bundle|{{{kit|}}}}}}}} | | bundle = {{#switch: {{lc:{{{bundle|{{{kit|}}}}}}}} | ||
| tome of justice = 20 | | tome of justice = 20 | ||
− | | tome of | + | | tome of courage = 21 |
− | | tome of | + | | tome of resolve = 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 | | + | | stealth attack | 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 | ||
− | |||
| venom = Venom | | venom = Venom | ||
| virtue = <!-- manually: Virtue:/Activate: --> | | virtue = <!-- manually: Virtue:/Activate: --> | ||
Строка 398: | Строка 397: | ||
| well = Well | | well = Well | ||
}}}}|}} | }}}}|}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
Строка 430: | Строка 424: | ||
| 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|}}}}}} | ||
− | |||
− | |||
− | |||
| recharge = {{#replace:{{{recharge|}}}|.|,}} | | recharge = {{#replace:{{{recharge|}}}|.|,}} | ||
| recharge wvw = {{#replace:{{{recharge wvw|{{{recharge-wvw|}}}}}}|.|,}} | | recharge wvw = {{#replace:{{{recharge wvw|{{{recharge-wvw|}}}}}}|.|,}} | ||
Строка 468: | Строка 459: | ||
| uw replaces = {{{uw replaces|{{{uw-replaces|}}}}}} | | uw replaces = {{{uw replaces|{{{uw-replaces|}}}}}} | ||
| id = {{{id|}}} | | id = {{{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|}}} | ||
Строка 496: | Строка 486: | ||
| [[File:Ground target aim.png|18px|link=Targeting#Прицеливание на землю|Прицеливание на землю]] {{#set:Is ground targeted=Y}} | | [[File:Ground target aim.png|18px|link=Targeting#Прицеливание на землю|Прицеливание на землю]] {{#set:Is ground targeted=Y}} | ||
}}{{#if: {{{uw replaced by|{{{uw-replaced-by|}}}}}} | }}{{#if: {{{uw replaced by|{{{uw-replaced-by|}}}}}} | ||
− | | [[File:Not available underwater.png|x20px|link=Underwater mode#Подводные умения|Недоступно под водой]] | + | | <span>[[File:Not available underwater.png|x20px|link=Underwater mode#Подводные умения|Недоступно под водой]]</span> |
}}{{#ifeq: {{{activation|0}}} | 0 | }}{{#ifeq: {{{activation|0}}} | 0 | ||
| <!-- display nothing --> | | <!-- display nothing --> | ||
Строка 530: | Строка 520: | ||
| {{health cost|{{{health cost}}}}} | | {{health cost|{{{health cost}}}}} | ||
}} | }} | ||
− | |||
− | |||
}}{{#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}}}}}}}}}}} | ||
Строка 569: | Строка 557: | ||
}}{{#if: {{{pet family|{{{pet-family|}}}}}} | | }}{{#if: {{{pet family|{{{pet-family|}}}}}} | | ||
; Сем. [[pet|питомца]] | ; Сем. [[pet|питомца]] | ||
− | : {{ | + | : [[Is for pet family::{{ucfirst:{{{pet family|{{{pet-family|}}}}}}}}|{{rus lang|pet family|{{{pet family}}}}}]] |
− | |||
− | |||
− | |||
}}{{#if: {{{monster|}}} | | }}{{#if: {{{monster|}}} | | ||
; [[Bestiary|Монстр]] | ; [[Bestiary|Монстр]] | ||
Строка 621: | Строка 606: | ||
: {{trait icon|{{{trait}}}|size=20}} {{#set:Has trait parent={{{trait}}}}} | : {{trait icon|{{{trait}}}|size=20}} {{#set:Has trait parent={{{trait}}}}} | ||
}} | }} | ||
− | | engineering kit = ; [[Engineering Kit| | + | | 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:@@@}}}} | + | | bundle = ; [[Bundle|Комплект]]: {{#arraymap: {{{bundle|}}} |,|@@@| {{#set: Is for bundle={{ucfirst:@@@}}}}{{cname|@@@}} |<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}} | ||
Строка 631: | Строка 616: | ||
| 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|список умений]])</small>{{#set:Has skill context=Pet|Has profession mechanic slot number={{{mechanic slot|{{{mechanic-slot|}}}}}}}} | | pet = ; [[Skill bar|Слот]]: [[Pet|Питомец]] <small>([[List of pet skills|список умений]])</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|}}}}}}}} |
− | |||
{{#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|}}}}} | ||
Строка 671: | Строка 655: | ||
| underwater ={{#var:underwater useability}} | | underwater ={{#var:underwater useability}} | ||
| status ={{{status|}}} | | status ={{{status|}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} }} }}{{#if: {{{tool belt|}}} | }} }} }}{{#if: {{{tool belt|}}} | ||
| {{#switch: {{{slot}}} | | {{#switch: {{{slot}}} | ||
Строка 709: | Строка 685: | ||
| sequence = [[Sequence skill|Последовательность]] {{#set:Has skill activation type=Sequence}} | | sequence = [[Sequence skill|Последовательность]] {{#set:Has skill activation type=Sequence}} | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}}{{#if: {{{movement type|}}} | | }}{{#if: {{{movement type|}}} | | ||
; [[Movement|Движение]] | ; [[Movement|Движение]] | ||
Строка 727: | Строка 693: | ||
| 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>}}| → }} | ||
+ | {{#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|Очки героя]] |
}}{{#if: {{{id|}}} | | }}{{#if: {{{id|}}} | | ||
; Игр. ссылка | ; Игр. ссылка | ||
Строка 741: | Строка 711: | ||
| Racial | | Racial | ||
| Monster = | | Monster = | ||
− | ; | + | ; Внеш. ссылки |
− | : [https://api.guildwars2.com/v2/skills?ids={{#replace:{{{id}}}&lang=en| |}} | + | : [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" --> |
| Common = <!-- do not display API --> | | Common = <!-- do not display API --> | ||
}} | }} | ||
Строка 748: | Строка 718: | ||
}} | }} | ||
</div> | </div> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{clear}} | {{clear}} | ||
− | </div> | + | </div><!-- |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <!-- | ||
− | |||
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 --> }} | ||
Строка 854: | Строка 786: | ||
| 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]] | ||
− | |||
| mechanic = [[Category:Profession mechanics]] | | mechanic = [[Category:Profession mechanics]] | ||
| special | | special | ||
Строка 942: | Строка 873: | ||
| trick = [[Category:Trick skills]] | | trick = [[Category:Trick skills]] | ||
| turret = [[Category:Turret skills]] | | turret = [[Category:Turret skills]] | ||
− | |||
| venom = [[Category:Venom skills]] | | venom = [[Category:Venom skills]] | ||
| virtue = [[Category:Virtue skills]] | | virtue = [[Category:Virtue skills]] | ||
Строка 973: | Строка 903: | ||
| [[Category:{{ucfirst:{{{mechanic weapon|}}}}} skills]] | | [[Category:{{ucfirst:{{{mechanic weapon|}}}}} skills]] | ||
}} | }} | ||
− | }}</includeonly><noinclude> | + | }}{{#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|Внутриигровое описание <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}} | + | 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 == | == Usage == | ||
Строка 1023: | Строка 966: | ||
| energy = | | energy = | ||
| health cost = | | health cost = | ||
− | |||
| initiative = | | initiative = | ||
| upkeep = | | upkeep = | ||
Строка 1032: | Строка 974: | ||
| energy pvp = | | energy pvp = | ||
| health cost pvp = | | health cost pvp = | ||
− | |||
| initiative pvp = | | initiative pvp = | ||
| recharge pvp = | | recharge pvp = | ||
Строка 1041: | Строка 982: | ||
| energy wvw = | | energy wvw = | ||
| health cost wvw = | | health cost wvw = | ||
− | |||
| initiative wvw = | | initiative wvw = | ||
| recharge wvw = | | recharge wvw = | ||
Строка 1059: | Строка 999: | ||
;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 | + | : 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 | ;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. | ||
Строка 1076: | Строка 1016: | ||
;health cost | ;health cost | ||
: Health cost. | : Health 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]]. | ||
Строка 1105: | Строка 1043: | ||
:: ''transform'': Transform skill. | :: ''transform'': Transform skill. | ||
:: ''pet'': Pet skill. | :: ''pet'': Pet 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. | ||
− | |||
;mainhand | ;mainhand | ||
: Weapon held in the main hand. | : Weapon held in the main hand. | ||
Строка 1153: | Строка 1089: | ||
:: 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]]. |
;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". | ||
Строка 1169: | Строка 1105: | ||
:: '''<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. | ||
Строка 1183: | Строка 1121: | ||
;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. | ||
− | |||
− | |||
− | |||
− | |||
;id | ;id | ||
− | :The skill's internal ID | + | :The skill's internal ID. Generates a game link in the infobox. |
− | |||
− | |||
;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. | ||
Строка 1201: | Строка 1133: | ||
;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. | ||
− | |||
− | |||
− | |||
− | |||
=== Examples === | === Examples === |