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

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
(Отмена правки 86977, сделанной Blood (обсуждение))
Строка 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/Турель }}
Строка 53: Строка 53:
 
{{#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; 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; Jade Sphere/y }}
 +
{{#vardefine:virtuoso-types    | Bladesong/y; Psionic }}
 +
{{#vardefine:harbinger-types    | Blight/y; Elixir/n/Эликсир; Harbinger Shroud/y }}
  
 
<!-- Miscellaneous -->
 
<!-- Miscellaneous -->
Строка 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.
  

Версия 08:46, 12 апреля 2022

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