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

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
Строка 38: Строка 38:
 
{{#vardefine:scrapper-types    | Function Gyro (trait skill)/y/Робокоптер; Gyro/n/Коптер }}
 
{{#vardefine:scrapper-types    | Function Gyro (trait skill)/y/Робокоптер; Gyro/n/Коптер }}
 
{{#vardefine:druid-types        | Celestial Avatar/y/Небесный Аватар; Glyph/n/Глиф }}
 
{{#vardefine:druid-types        | Celestial Avatar/y/Небесный Аватар; Glyph/n/Глиф }}
{{#vardefine:daredevil-types    | Physical/n/Грубая сила }}
+
{{#vardefine:daredevil-types    | Physical/n/Грубая сила; Swipe/y/Удар }}
 
{{#vardefine:tempest-types      | Overload/y/Форсаж; Shout/n/Крик }}
 
{{#vardefine:tempest-types      | Overload/y/Форсаж; Shout/n/Крик }}
 
{{#vardefine:chronomancer-types | Continuum Split/y/Расщепление континуума; Well/n/Источник }}
 
{{#vardefine:chronomancer-types | Continuum Split/y/Расщепление континуума; Well/n/Источник }}
Строка 49: Строка 49:
 
{{#vardefine:holosmith-types    | Exceed/n/Превышение; Heat/y/Тепло; Photon Forge/y/Фотонная кузница }}
 
{{#vardefine:holosmith-types    | Exceed/n/Превышение; Heat/y/Тепло; Photon Forge/y/Фотонная кузница }}
 
{{#vardefine:soulbeast-types    | Beastmode/y/Режим зверя; Stance/n/Стойка }}
 
{{#vardefine:soulbeast-types    | Beastmode/y/Режим зверя; Stance/n/Стойка }}
{{#vardefine:deadeye-types      | Cantrip/n/Колдовство; Deadeye's Mark/y/Метка снайпера; Kneel/n/На колено; Malice (effect)/y/Злобность }}
+
{{#vardefine:deadeye-types      | Cantrip/n/Колдовство; Deadeye's Mark/y/Метка снайпера; Kneel/n/На колено; Malice/y/Злобность }}
 
{{#vardefine:weaver-types      | Dual Attack/y/Сдвоенная атака; Stance/n/Стойка }}
 
{{#vardefine:weaver-types      | Dual Attack/y/Сдвоенная атака; Stance/n/Стойка }}
 
{{#vardefine:mirage-types      | Ambush/y/Засада; Deception (skill type)/n/Хитрость; Mirage Cloak (effect)/y/Покров миража }}
 
{{#vardefine:mirage-types      | Ambush/y/Засада; Deception (skill type)/n/Хитрость; Mirage Cloak (effect)/y/Покров миража }}
Строка 76: Строка 76:
 
}}<!--end #if-->
 
}}<!--end #if-->
 
<hr style="margin: 1em 0em; clear: both;" />
 
<hr style="margin: 1em 0em; clear: both;" />
<div class="nav mech2" style="width:755px">
+
<div class="nav mech2">
<div class="box">
+
<div class="box" style="width:58em;">
 
<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">
Строка 88: Строка 88:
 
{{#if:{{#var:@@@-default}}|
 
{{#if:{{#var:@@@-default}}|
 
{{!}}- class="collapse-reverse"
 
{{!}}- class="collapse-reverse"
! style="width: 110px;" {{!}} [[{{ucfirst:@@@}}|{{#switch:@@@|guardian=Страж|warrior=Воин|engineer=Инженер|revenant=Ревенант|ranger=Рейнджер|thief=Вор|elementalist=Элементалист|mesmer=Месмер|necromancer=Некромант}}]] {{@@@}}
+
! style="width: 9.2em;" {{!}} [[{{ucfirst:@@@}}|{{#switch:@@@|guardian=Страж|warrior=Воин|engineer=Инженер|revenant=Ревенант|ranger=Рейнджер|thief=Вор|elementalist=Элементалист|mesmer=Месмер|necromancer=Некромант}}]] {{@@@}}
 
{{!}} {{#arraymap:{{#var:@@@-types}}|;|&&&| {{#if:
 
{{!}} {{#arraymap:{{#var:@@@-types}}|;|&&&| {{#if:
 
   {{#vardefine:link-page  | {{#explode:&&&|/|0}} }}
 
   {{#vardefine:link-page  | {{#explode:&&&|/|0}} }}
Строка 122: Строка 122:
 
{{#arraymap:@@@,{{#var:@@@-specs}}|,|###|
 
{{#arraymap:@@@,{{#var:@@@-specs}}|,|###|
 
{{!}}-
 
{{!}}-
! style="width: 110px; border-right:2px solid {{color|@@@|border}}" {{!}} {{#ifeq: @@@ | ### | Общие | [[{{ucfirst:###}}|{{#switch:###
+
! style="width: 9.2em; border-right:2px solid {{color|@@@|border}}" {{!}} {{#ifeq: @@@ | ### | Общие | [[{{ucfirst:###}}|{{#switch:###
 
     | dragonhunter = Драконоборец | firebrand = Поджигатель
 
     | dragonhunter = Драконоборец | firebrand = Поджигатель
 
     | herald = Вестник | renegade = Ренегат  
 
     | herald = Вестник | renegade = Ренегат  

Версия 06:39, 29 апреля 2019

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