Шаблон:Environmental skill table row — различия между версиями

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
Строка 1: Строка 1:
 
<includeonly>|-
 
<includeonly>|-
|{{{2|{{#show:{{{1|}}}|?Has skill slot number|default=}}}}}
+
| {{#if: {{{chain|}}} | {{#switch: {{{chain|}}}
|{{#switch:{{{chain|}}}
+
                          | mount
|chain=[[File:Redirect Arrow.png|25px|link=]]
+
                          | mount2  = {{{2|{{#show:{{{1|}}}|?Has skill slot number|default=}}}}}  
|toolbelt=[[File:Chain Arrow Toolbelt.png|25px|link=Tool belt|Пояс с инструментами]]
+
                          | chain
|burst=[[File:Chain Arrow Toolbelt.png|25px|link=Burst|Вспышка ярости]]
+
                          | replacedby
|stealth=[[File:Chain Arrow Toolbelt.png|25px|link=Stealth Attack|Атака невидимки]]
+
                          | replacedby2
|underwater=[[File:Underwater.png|link=Underwater mode|Подводный режим]]
+
                          | #default = }} | {{{2|{{#show:{{{1|}}}|?Has skill slot number|default=}}}}} }}
}}{{#if:{{{3|}}}|{{Skill icon|{{{1|}}}|{{{3|}}}}}|{{Skill icon|{{{1|}}}}}}}
+
| {{#if: {{{chain|}}} | {{#switch: {{{chain|}}}  
{{#ifeq: {{#var:moreinfo}} | type | {{!}} {{#arraymap: {{#show:{{{1|}}}|?Has skill type|link=none}} | , | @@@ | [[@@@|{{#switch:@@@|Virtue = Добродетель|Consecration = Освящение|Meditation = Медитация|Spirit weapon = Призрачное оружие|Symbol = Символ|Tome = Фолиант|Ward = Оберег|Final Charge = Последний заряд|Legend = Легенда|Legendary Dragon Stance|Legendary Dragon = Стойка легендарного дракона|Legendary Renegade Stance|Legendary Renegade = Стойка легендарного отступника|Consume = Поглощение|Citadel Order = Приказ цитадели|Burst = Вспышка ярости|Primal burst = Первобытная ярость|Banner = Стяг|Physical = Грубая сила|Rage = Гнев|Stance = Стойка|Tool belt = Пояс&nbsp;с инструментами|Engineering kit = Инженерный набор|Elixir = Эликсир|Gadget = Приспособление|Turret = Турель|Gyro = Коптер|Exceed = Превышение|Pet (skill type) = Питомец|Spirit = Дух|Survival = Выживание|Stolen skill = Украденное умение|Deception (skill type) = Хитрость|Dual wield = Сдвоенное умение|Stealth Attack = Атака невидимки|Trick = Уловка|Venom = Яд|Kneel = Выстрел с колена|Attunement = Настройка|Arcane = Таинство|Cantrip = Колдовство|Conjure = Сотворение|Glyph = Глиф|Dual Attack = Сдвоенная атака|Shatter = Осколки|Clone = Клон|Glamour = Волшебство|Manipulation = Обман|Mantra = Мантра|Phantasm = Фантом|Ambush = Засада|Shade = Тень|Corruption = Порча|Mark = Метка|Minion = Миньон|Spectral = Призрак|Well = Источник|Punishment = Кара|Chain = Цепочка|Shout = Крик|Signet = Печать|Transform = Преображение|Trap = Ловушка|#default = @@@}}]] }}}}
+
                          | mount = [[File:Chain Arrow Toolbelt.png|Умение ездового животного|25px|link=]]  
| style="text-align:center;" | {{#ifeq:{{#show:{{{1|}}}|?Is ground targeted}}|Y|[[File:Ground_target_aim.png|18px|Прицеливание на землю|link=Targeting#Прицеливание на землю]]}}
+
                          | mount2 = <span style="width:26px;display:inline-block;"></span>[[File:Chain Arrow Toolbelt.png|Вторичное умение ездового животного|25px|link=]]
| style="text-align:center;" | {{fraction|{{#show:{{{1|}}}|?Has activation time}}}}
+
                          | replacedby = [[File:Redirect Arrow.png|Заменяется|25px|link=]]  
| style="text-align:center;" | {{fraction|{{#show:{{{1|}}}|?Has recharge time}}}}
+
                          | replacedby2 = <span style="width:25px;display:inline-block;"></span>[[File:Redirect Arrow.png|Заменяется|25px|link=]]
 +
                          | chain2 = <span style="width:25px;display:inline-block;"></span>[[File:Redirect Arrow.png|25px|link=]]
 +
                          | chain
 +
                          | #default = [[File:Redirect Arrow.png|25px|link=]] }} }}{{#if:{{{3|}}}|{{Skill icon|{{{1|}}}|{{{3|}}}}}|{{Skill icon|{{{1|}}}}}}}
 +
| {{#ifeq:{{#show:{{{1|}}}|?Is ground targeted}}|Y|[[File:Ground_target_aim.png|18px|Прицеливание на землю|link=Targeting#Прицеливание на землю]]}}
 +
| {{fraction|{{#show:{{{1|}}}|?Has activation time}}}}
 +
| {{fraction|{{#show:{{{1|}}}|?Has recharge time}}}}
 
| {{{description|{{#show:{{{1|}}}|?Has game description|default=''Описание умения не найдено.''}}}}}</includeonly><noinclude>
 
| {{{description|{{#show:{{{1|}}}|?Has game description|default=''Описание умения не найдено.''}}}}}</includeonly><noinclude>
 
This template does '''not''' require the presence of a DPL statement (like that included in {{tl|skill list dpl}}).
 
This template does '''not''' require the presence of a DPL statement (like that included in {{tl|skill list dpl}}).
Строка 19: Строка 25:
 
; ''unnamed parameter 3'' <link text> : Defaults to [[Property:Has canonical name|canonical name]].
 
; ''unnamed parameter 3'' <link text> : Defaults to [[Property:Has canonical name|canonical name]].
 
; description : Defaults to the [[Property:Has game description|in-game description]].
 
; description : Defaults to the [[Property:Has game description|in-game description]].
; chain : Set to any value will omit the weapon slot number and set the following icon before the skill icon: [[File:Redirect Arrow.png|25px|link=]]  
+
; chain : Set to one of the following values to show an additional icon before the skill icon:
 +
::{|
 +
| ''chain'' || [[File:Redirect Arrow.png|25px|link=]] || or any other unused value, as: ''y, yes...''
 +
|-
 +
| ''chain2'' || <span style="width:25px;display:inline-block;"></span>[[File:Redirect Arrow.png|25px|link=]] || Level 2
 +
|-
 +
| ''mount'' || [[File:Chain Arrow Toolbelt.png|Mount skill|25px|link=]] || On hover: ''Mount skill''
 +
|-
 +
| ''mount2'' || <span style="width:30px;display:inline-block;"></span>[[File:Chain Arrow Toolbelt.png|Secondary mount skill|25px|link=]] || Level 2; on hover: ''Secondary mount skill''
 +
|-
 +
| ''replacedby'' || [[File:Redirect Arrow.png|Replaced by|25px|link=]] || On hover: ''Replaced by''
 +
|-
 +
| ''replacedby2'' || <span style="width:25px;display:inline-block;"></span>[[File:Redirect Arrow.png|Replaced by|25px|link=]] || Level 2; on hover: ''Replaced by''
 +
|}
  
 
[[Category:Skill formatting templates]]
 
[[Category:Skill formatting templates]]
 
 
</noinclude>
 
</noinclude>

Версия 18:51, 30 мая 2019

This template does not require the presence of a DPL statement (like that included in {{skill list dpl}}).

Parameters

unnamed parameter 1 <skill name> 
Full name of the skill article, including disambiguation suffixes.
unnamed parameter 2 <skill number> 
Set the skill number to a certain value, useful if the skill appears in many slots and is therefore not numbered.
unnamed parameter 3 <link text> 
Defaults to canonical name.
description 
Defaults to the in-game description.
chain 
Set to one of the following values to show an additional icon before the skill icon:
chain Redirect Arrow.png or any other unused value, as: y, yes...
chain2 Redirect Arrow.png Level 2
mount Mount skill On hover: Mount skill
mount2 Secondary mount skill Level 2; on hover: Secondary mount skill
replacedby Replaced by On hover: Replaced by
replacedby2 Replaced by Level 2; on hover: Replaced by