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

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
Строка 34: Строка 34:
 
<!-- Heart of Thorns elite spec types -->
 
<!-- Heart of Thorns elite spec types -->
 
{{#vardefine:dragonhunter-types | Trap/n/Ловушка }}
 
{{#vardefine:dragonhunter-types | Trap/n/Ловушка }}
{{#vardefine:herald-types      | Consume/n/Поглощение; Facet of Nature/y/Аспект Природы; Legendary Dragon Stance/n/Легендарный дракон }}
+
{{#vardefine:herald-types      | Facet of Nature/y/Аспект Природы; Legendary Dragon Stance/n/Легендарный дракон; Facet/n/Аспект; Consume/n/Поглощение }}
 
{{#vardefine:berserker-types    | Berserk/y/Берсерк; Primal Burst/y/Первобытная ярость; Rage/n/Гнев }}
 
{{#vardefine:berserker-types    | Berserk/y/Берсерк; Primal Burst/y/Первобытная ярость; Rage/n/Гнев }}
 
{{#vardefine:scrapper-types    | Function Gyro (tool belt skill)/y/Робокоптер; Well/n/Источник }}
 
{{#vardefine:scrapper-types    | Function Gyro (tool belt skill)/y/Робокоптер; Well/n/Источник }}
Строка 57: Строка 57:
 
{{#vardefine:slots              | [[Skill bar#Weapon skills|Оружейные]]{{bullet}}[[Healing skill|Исцеляющие]]{{bullet}}[[Utility skill|Вспомогательные]]{{bullet}}[[Elite skill|Элитные]]{{bullet}}[[List of downed skills|Повержен]]{{bullet}}[[List of drowning skills|Утопление]]{{bullet}}[[List of trait skills|Черта]]{{bullet}}[[Special action skill|Особое действие]] }}
 
{{#vardefine:slots              | [[Skill bar#Weapon skills|Оружейные]]{{bullet}}[[Healing skill|Исцеляющие]]{{bullet}}[[Utility skill|Вспомогательные]]{{bullet}}[[Elite skill|Элитные]]{{bullet}}[[List of downed skills|Повержен]]{{bullet}}[[List of drowning skills|Утопление]]{{bullet}}[[List of trait skills|Черта]]{{bullet}}[[Special action skill|Особое действие]] }}
 
{{#vardefine:activation        | [[Ammunition skill|Амуниция]]{{bullet}}[[Chain|Цепочка]]{{bullet}}[[Channeled skill|Поток]]{{bullet}}[[Charge skill|Зарядка]]{{bullet}}[[Sequence skill|Последовательность]]{{bullet}}[[Transform|Преображение]] }}
 
{{#vardefine:activation        | [[Ammunition skill|Амуниция]]{{bullet}}[[Chain|Цепочка]]{{bullet}}[[Channeled skill|Поток]]{{bullet}}[[Charge skill|Зарядка]]{{bullet}}[[Sequence skill|Последовательность]]{{bullet}}[[Transform|Преображение]] }}
 +
{{#vardefine:movement          | [[Dodge|Уворот]]{{bullet}}[[Evade|Уклонение]]{{bullet}}[[Leap|Прыжок]]{{bullet}}[[Retreat|Отступление]]{{bullet}}[[Shadowstep (mechanic)|Призрачный шаг]]{{bullet}}[[Teleport|Телепортация]] }}
  
 
<!-- Unset all variables holding which professions to open by default -->
 
<!-- Unset all variables holding which professions to open by default -->
Строка 78: Строка 79:
 
<div class="box" style="width:65em;">
 
<div class="box" style="width:65em;">
 
<div class="heading" style="margin-bottom: 0 !important">[[Skill|Типы умений]] и ''[[profession mechanic|механика профессий]]''</div>
 
<div class="heading" style="margin-bottom: 0 !important">[[Skill|Типы умений]] и ''[[profession mechanic|механика профессий]]''</div>
<div class="wrapper">
+
<div class="wrapper" style="padding: 0;">
 
{| class="collapsible" style="width:100%; margin:0;"
 
{| class="collapsible" style="width:100%; margin:0;"
 
|- class="expandable"
 
|- class="expandable"
Строка 109: Строка 110:
 
{{!}} {{#var:slots}}
 
{{!}} {{#var:slots}}
 
{{!}}- class="collapse-reverse"
 
{{!}}- class="collapse-reverse"
! Активация
+
! [[Skill#Activation type|Активация]]
 
{{!}} {{#var:activation}}
 
{{!}} {{#var:activation}}
 +
{{!}}- class="collapse-reverse"
 +
! [[Movement|Движение]]
 +
{{!}} {{#var:movement}}
 
}}
 
}}
 
|- class="collapse-reverse"
 
|- class="collapse-reverse"
| <!-- spacer -->
+
| style="padding-bottom: 0.5em" | <!-- spacer -->  
 
{{#arraymap:{{#var:professions}}|,|@@@|
 
{{#arraymap:{{#var:professions}}|,|@@@|
 
{{!}}-
 
{{!}}-
! style="text-align:center; border-top:1px solid {{color|@@@|border}}; background:{{color|@@@|light}}; border-right:0px" colspan="2" {{!}} {{@@@}} [[{{ucfirst:@@@}}|{{rus lang|profession|@@@}}]]
+
! style="text-align:center; border-top:1px solid {{color|@@@|border}}; background:{{color|@@@|light}}; border-right:0px; padding: 0.25em 0;" colspan="2" {{!}} {{@@@}} [[{{ucfirst:@@@}}|{{rus lang|profession|@@@}}]]
 
{{!}}-
 
{{!}}-
 
{{!}} <!-- spacer -->
 
{{!}} <!-- spacer -->
Строка 131: Строка 135:
 
|\n}}
 
|\n}}
 
{{!}}-
 
{{!}}-
{{!}} <!-- spacer -->
+
{{!}} style="padding-bottom: 0.5em" {{!}} <!-- spacer -->
 
{{!}}-
 
{{!}}-
 
|\n}}
 
|\n}}
 
|-
 
|-
! style="text-align:center; border-top:1px solid {{any-color|border}}; border-right:0px" colspan="2" | Другое
+
! style="text-align:center; border-top:1px solid {{any-color|border}}; background:{{color|any|light}}; border-right:0px; padding: 0.25em 0;" colspan="2" | Другое
 
|-
 
|-
 
| <!-- spacer -->
 
| <!-- spacer -->
Строка 142: Строка 146:
 
| {{#var:slots}}
 
| {{#var:slots}}
 
|-
 
|-
! style="border-right:2px solid {{any-color|border}}" | Активация
+
! style="border-right:2px solid {{any-color|border}}" | [[Skill#Activation type|Активация]]
 
| {{#var:activation}}
 
| {{#var:activation}}
 
|-
 
|-
| <!-- spacer -->
+
! style="border-right:2px solid {{any-color|border}}" | [[Movement|Движение]]
 +
{{!}} {{#var:movement}}
 +
|-
 +
| style="padding-bottom: 0.5em" | <!-- spacer -->
 
|}
 
|}
 
</div>
 
</div>
Строка 170: Строка 177:
 
</pre>
 
</pre>
 
{{Skill types nav|Trap}}
 
{{Skill types nav|Trap}}
 
  
 
<pre style="width: 50%;">
 
<pre style="width: 50%;">

Версия 14:11, 8 декабря 2020

Description

{{Skill types nav}}
{{Skill types nav|<page name>}}
{{Skill types nav|professions = <list of professions and elite specs>}}

Parameters

unnamed parameter 1
Optional. Full page name to display the navigation links for by default. If not set, the current page's name is used instead.
professions
Optional. Comma-separated list of professions and elite specializations to show by default. For each elite specialization in the list, there must also be the core profession there in order to work correctly. Takes precedence over the page title (inferred or given by a paramter).
misc
Optional. If set to y, the "Miscellaneous" rows will be shown by default.

Examples

{{Skill types nav|Trap}}

{{Skill types nav|professions=warrior,spellbreaker,mesmer,mirage}}