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

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
(не показано 15 промежуточных версий этого же участника)
Строка 4: Строка 4:
  
 
<!-- Elite specialization definition (in order of release) -->
 
<!-- Elite specialization definition (in order of release) -->
{{#vardefine:guardian-specs    | dragonhunter, firebrand }}
+
{{#vardefine:guardian-specs    | dragonhunter, firebrand, willbender }}
{{#vardefine:revenant-specs    | herald, renegade }}
+
{{#vardefine:revenant-specs    | herald, renegade, vindicator }}
{{#vardefine:warrior-specs      | berserker, spellbreaker }}
+
{{#vardefine:warrior-specs      | berserker, spellbreaker, bladesworn }}
{{#vardefine:engineer-specs    | scrapper, holosmith }}
+
{{#vardefine:engineer-specs    | scrapper, holosmith, mechanist }}
{{#vardefine:ranger-specs      | druid, soulbeast }}
+
{{#vardefine:ranger-specs      | druid, soulbeast, untamed }}
{{#vardefine:thief-specs        | daredevil, deadeye }}
+
{{#vardefine:thief-specs        | daredevil, deadeye, specter }}
{{#vardefine:elementalist-specs | tempest, weaver }}
+
{{#vardefine:elementalist-specs | tempest, weaver, catalyst }}
{{#vardefine:mesmer-specs      | chronomancer, mirage }}
+
{{#vardefine:mesmer-specs      | chronomancer, mirage, virtuoso }}
{{#vardefine:necromancer-specs  | reaper, scourge }}
+
{{#vardefine:necromancer-specs  | reaper, scourge, harbinger }}
  
 
<!--
 
<!--
Строка 23: Строка 23:
 
<!-- Core profession types -->
 
<!-- Core profession types -->
 
{{#vardefine:guardian-types    | Consecration/n/Освящение; Justice/y/Справедливость; Meditation/n/Медитация; Shout/n/Крик; Signet/n/Печать; Spirit Weapon/n/Призрачное оружие; Symbol/n/Символ; Virtue/y/Добродетель; Ward/n/Оберег }}
 
{{#vardefine:guardian-types    | Consecration/n/Освящение; Justice/y/Справедливость; Meditation/n/Медитация; Shout/n/Крик; Signet/n/Печать; Spirit Weapon/n/Призрачное оружие; Symbol/n/Символ; Virtue/y/Добродетель; Ward/n/Оберег }}
{{#vardefine:revenant-types    | Energy/y/Энергия; Legend/y/Легенда; Legendary Assassin Stance/n/Легендарный ассасин; Legendary Centaur Stance/n/Легендарный кентавр; Legendary Demon Stance/n/Легендарный демон; Legendary Dwarf Stance/n/Легендарный гном }}
+
{{#vardefine:revenant-types    | Ancient Echo/y/Древнее эхо; Energy/y/Энергия; Legend/y/Легенда; Legendary Assassin Stance/n/Легендарный ассасин; Legendary Centaur Stance/n/Легендарный кентавр; Legendary Demon Stance/n/Легендарный демон; Legendary Dwarf Stance/n/Легендарный гном }}
 
{{#vardefine:warrior-types      | Adrenaline/y/Адреналин; Banner/n/Стяг; Burst/y/Вспышка ярости; Physical/n/Грубая сила; Shout/n/Крик; Signet/n/Печать; Stance/n/Стойка }}
 
{{#vardefine:warrior-types      | Adrenaline/y/Адреналин; Banner/n/Стяг; Burst/y/Вспышка ярости; Physical/n/Грубая сила; Shout/n/Крик; Signet/n/Печать; Stance/n/Стойка }}
 
{{#vardefine:engineer-types    | Elixir/n/Эликсир; Engineering Kit/n/Инженерный набор; Gadget/n/Приспособление; Tool belt/y/Пояс с инструментами; Turret/n/Турель }}
 
{{#vardefine:engineer-types    | Elixir/n/Эликсир; Engineering Kit/n/Инженерный набор; Gadget/n/Приспособление; Tool belt/y/Пояс с инструментами; Turret/n/Турель }}
Строка 38: Строка 38:
 
{{#vardefine:scrapper-types    | Function Gyro (tool belt skill)/y/Робокоптер; Well/n/Источник }}
 
{{#vardefine:scrapper-types    | Function Gyro (tool belt skill)/y/Робокоптер; Well/n/Источник }}
 
{{#vardefine:druid-types        | Celestial Avatar/y/Небесный Аватар; Glyph/n/Глиф }}
 
{{#vardefine:druid-types        | Celestial Avatar/y/Небесный Аватар; Glyph/n/Глиф }}
{{#vardefine:daredevil-types    | Physical/n/Грубая сила; Swipe/y/Грабеж }}
+
{{#vardefine:daredevil-types    | Physical/n/Грубая сила; }}
 
{{#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/Источник }}
Строка 44: Строка 44:
  
 
<!-- Path of Fire elite spec types -->
 
<!-- Path of Fire elite spec types -->
{{#vardefine:firebrand-types    | Mantra/n/Мантра; Tome/y/Фолиант }}
+
{{#vardefine:firebrand-types    | Mantra/n/Мантра; Final Charge/n/Последний заряд; Tome/y/Фолиант }}
 
{{#vardefine:renegade-types    | Citadel Order/y/Приказ цитадели; Legendary Renegade Stance/n/Легендарный ренегат }}
 
{{#vardefine:renegade-types    | Citadel Order/y/Приказ цитадели; Legendary Renegade Stance/n/Легендарный ренегат }}
 
{{#vardefine:spellbreaker-types | Full Counter/y/Круговая контратака; Meditation/n/Медитация }}
 
{{#vardefine:spellbreaker-types | Full Counter/y/Круговая контратака; Meditation/n/Медитация }}
 
{{#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/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/n/Хитрость; Mirage Cloak (effect)/y/Покров миража }}
 
{{#vardefine:mirage-types      | Ambush/y/Засада; Deception/n/Хитрость; Mirage Cloak (effect)/y/Покров миража }}
 
{{#vardefine:scourge-types      | Punishment/n/Кара; Shade/y/Тень }}
 
{{#vardefine:scourge-types      | Punishment/n/Кара; Shade/y/Тень }}
 +
 +
<!-- End of Dragons elite spec types -->
 +
{{#vardefine:willbender-types  | Physical/n/Грубая сила; Willbender Flames/y/Пламя Волеборца }}
 +
{{#vardefine:vindicator-types  | Alliance Tactics/y/Тактика альянса; Legendary Alliance Stance/n/Легендарный альянс; Kurzick/n/Курзик; Luxon/n/Люксон }}
 +
{{#vardefine:bladesworn-types  | Armament/n/Арсенал; Dragon Slash/y/Удар Дракона; Gunsaber/y/Стрелосабля }}
 +
{{#vardefine:mechanist-types    | Mech Command/y/Команда меху; Signet/n/Печать }}
 +
{{#vardefine:untamed-types      | Cantrip/n/Колдовство; Unleashed Ambush/y/Засада освобожденного }}
 +
{{#vardefine:specter-types      | Shadow Shroud/y/Саван Теней; Well/n/Источник }}
 +
{{#vardefine:catalyst-types    | Augment/n/Усиление; Jade Sphere/y/Нефритовая сфера }}
 +
{{#vardefine:virtuoso-types    | Bladesong/y/Песнь клинков; Psionic/n/Псионика }}
 +
{{#vardefine:harbinger-types    | Blight/y/Скверна; Elixir/n/Эликсир; Harbinger Shroud/y/Саван Предвестника }}
  
 
<!-- Miscellaneous -->
 
<!-- Miscellaneous -->
{{#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|Утопление]]<br>[[List of trait skills|Черта]]{{bullet}}[[Special action skill|Особое действие]]{{bullet}}[[Mastery 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|Телепортация]] }}
 
{{#vardefine:movement          | [[Dodge|Уворот]]{{bullet}}[[Evade|Уклонение]]{{bullet}}[[Leap|Прыжок]]{{bullet}}[[Retreat|Отступление]]{{bullet}}[[Shadowstep (mechanic)|Призрачный шаг]]{{bullet}}[[Teleport|Телепортация]] }}
Строка 82: Строка 93:
 
{| class="collapsible" style="width:100%; margin:0;"
 
{| class="collapsible" style="width:100%; margin:0;"
 
|- class="expandable"
 
|- class="expandable"
! style="text-align:center; border-top:1px solid {{any-color|medium}}; background:{{any-color|light}}; border-right:0px; padding: 0.25em 0;" colspan="2" | <div style="margin: 0px auto; width: 15em;">{{#ifeq: {{{misc|}}} | y | Другое | Связанные [[profession|профессии]]}}</div>
+
! class="subheading {{#ifeq: {{{misc|}}}|y||mech2}}" style="text-align:center; border-top-width:1px; border-top-style:solid; border-right:0px; padding: 0.25em 0;" colspan="2" | <div style="margin: 0px auto; width: 15em;">{{#ifeq: {{{misc|}}} | y | Другое | Связанные [[profession|профессии]]}}</div>
 +
|- {{#ifeq: {{{misc|}}} | y |style="display:table-row"|class="collapse-reverse"}}
 +
| <!-- spacer -->
 
{{#arraymap:{{#var:professions}}|,|@@@|
 
{{#arraymap:{{#var:professions}}|,|@@@|
 
{{#if:{{#var:@@@-default}}|
 
{{#if:{{#var:@@@-default}}|
{{!}}- class="collapse-reverse"
 
{{!}} <!-- spacer -->
 
 
{{!}}- class="collapse-reverse"
 
{{!}}- class="collapse-reverse"
 
! style="width: 10em; border-right:2px solid {{color|mech2|border}}" {{!}} [[{{ucfirst:@@@}}|{{rus lang|profession|@@@}}]] {{@@@}}
 
! style="width: 10em; border-right:2px solid {{color|mech2|border}}" {{!}} [[{{ucfirst:@@@}}|{{rus lang|profession|@@@}}]] {{@@@}}
Строка 107: Строка 118:
 
|\n}}
 
|\n}}
 
{{#ifeq: {{{misc|}}} | y |
 
{{#ifeq: {{{misc|}}} | y |
{{!}}- style="display:table-row"
 
{{!}} <!-- spacer -->
 
 
{{!}}- style="display:table-row"
 
{{!}}- style="display:table-row"
 
! style="border-right:2px solid {{any-color|border}}; width: 9.2em;" {{!}} Слоты
 
! style="border-right:2px solid {{any-color|border}}; width: 9.2em;" {{!}} Слоты
Строка 126: Строка 135:
 
{{#arraymap:{{#var:professions}}|,|@@@|
 
{{#arraymap:{{#var:professions}}|,|@@@|
 
{{!}}-
 
{{!}}-
! 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|@@@}}]]
+
! class="subheading @@@" style="text-align:center; border-top-width:1px; border-top-style:solid; border-right:0px; padding: 0.25em 0;" colspan="2" {{!}} {{@@@}} [[{{ucfirst:@@@}}|{{rus lang|profession|@@@}}]]
 
{{!}}-
 
{{!}}-
 
{{!}} <!-- spacer -->
 
{{!}} <!-- spacer -->
Строка 146: Строка 155:
 
|-
 
|-
 
{{#ifeq: {{{misc|}}} | y | <!-- already shown on top --> |
 
{{#ifeq: {{{misc|}}} | y | <!-- already shown on top --> |
! style="text-align:center; border-top:1px solid {{any-color|medium}}; background:{{color|any|light}}; border-right:0px; padding: 0.25em 0;" colspan="2" {{!}} Другое
+
! class="subheading" style="text-align:center; border-top-width:1px; border-top-style:solid; border-right:0px; padding: 0.25em 0;" colspan="2" {{!}} Другое
 
{{!}}-
 
{{!}}-
 
{{!}} <!-- spacer -->
 
{{!}} <!-- spacer -->
Строка 165: Строка 174:
 
</div>
 
</div>
 
</div></includeonly><noinclude>
 
</div></includeonly><noinclude>
== Description ==
+
== Usage ==
 
<pre style="width: 50%;">
 
<pre style="width: 50%;">
 
{{Skill types nav}}
 
{{Skill types nav}}
Строка 173: Строка 182:
  
 
=== Parameters ===
 
=== Parameters ===
; ''unnamed parameter'' 1
+
;1 ''(unnamed parameter)''
 
: Optional. Full page name to display the navigation links for by default. If not set, the current page's name is used instead.
 
: Optional. Full page name to display the navigation links for by default. If not set, the current page's name is used instead.
; professions
+
;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).
 
: 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
+
;misc
 
: Optional. If set to <tt>y</tt>, the "Miscellaneous" rows will be shown by default.
 
: Optional. If set to <tt>y</tt>, the "Miscellaneous" rows will be shown by default.
  

Версия 02:57, 26 октября 2023

Usage

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

Parameters

1 (unnamed parameter)
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}}

{{Skill types nav|misc=y}}