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

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
Строка 4: Строка 4:
 
<!--- Core specializations --->
 
<!--- Core specializations --->
 
{{#vardefine:guardian-core    | [[Zeal|Рвение]]{{bullet}}[[Radiance|Сияние]]{{bullet}}[[Valor|Доблесть]]{{bullet}}[[Honor|Честь]]{{bullet}}[[Virtues|Добродетели]] }}
 
{{#vardefine:guardian-core    | [[Zeal|Рвение]]{{bullet}}[[Radiance|Сияние]]{{bullet}}[[Valor|Доблесть]]{{bullet}}[[Honor|Честь]]{{bullet}}[[Virtues|Добродетели]] }}
{{#vardefine:revenant-core    | [[Corruption (specialization)|Порча]]{{bullet}}[[Retribution (specialization)|Возмездие]]{{bullet}}[[Salvation|Спасение]]{{bullet}}[[Devastation|Разрушение]]{{bullet}}[[Invocation|Призыв]] }}
+
{{#vardefine:revenant-core    | [[Corruption (specialization)|Порча]]{{bullet}}[[Retribution (specialization)|Возмездие]]{{bullet}}[[Salvation|Спасение]]{{bullet}}[[Invocation|Призыв]]{{bullet}}[[Devastation|Разрушение]] }}
 
{{#vardefine:warrior-core      | [[Strength|Крепость]]{{bullet}}[[Arms|Оружие]]{{bullet}}[[Defense|Защита]]{{bullet}}[[Tactics|Тактика]]{{bullet}}[[Discipline|Дисциплина]] }}
 
{{#vardefine:warrior-core      | [[Strength|Крепость]]{{bullet}}[[Arms|Оружие]]{{bullet}}[[Defense|Защита]]{{bullet}}[[Tactics|Тактика]]{{bullet}}[[Discipline|Дисциплина]] }}
 
{{#vardefine:engineer-core    | [[Explosives|Взрывчатка]]{{bullet}}[[Firearms|Огнестрельное оружие]]{{bullet}}[[Inventions|Изобретения]]{{bullet}}[[Alchemy|Алхимия]]{{bullet}}[[Tools|Инструменты]] }}
 
{{#vardefine:engineer-core    | [[Explosives|Взрывчатка]]{{bullet}}[[Firearms|Огнестрельное оружие]]{{bullet}}[[Inventions|Изобретения]]{{bullet}}[[Alchemy|Алхимия]]{{bullet}}[[Tools|Инструменты]] }}
Строка 31: Строка 31:
 
{|
 
{|
 
! style="width: 8.2em; border-right:2px solid {{color|{{#var:profession}}|border}}" | Списки
 
! style="width: 8.2em; border-right:2px solid {{color|{{#var:profession}}|border}}" | Списки
| [[List of {{#var:profession}} skills|Умения]]{{bullet}}[[List of {{#var:profession}} traits|Черты]]{{#ifeq: {{#var:profession}} | ranger | {{bullet}}[[List of pet skills|Умения питомцев]] }}
+
| [[List of {{#var:profession}} skills|Умения]]{{bullet}}[[List of {{#var:profession}} traits|Черты]]{{#ifeq: {{#var:profession}} | ranger | {{bullet}}[[List of pet skills|Умения питомцев]] }}<!--{{bullet}}[[Training/{{ucfirst:{{#var:profession}}}}|Изучение]]-->
 
|-
 
|-
 
! style="width: 8.2em; border-right:2px solid {{color|{{#var:profession}}|border}}" | [[Specialization#{{#var:profession-russian}}|Специализации]]
 
! style="width: 8.2em; border-right:2px solid {{color|{{#var:profession}}|border}}" | [[Specialization#{{#var:profession-russian}}|Специализации]]
Строка 43: Строка 43:
 
{| 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" colspan="2" | <div style="margin: 0px auto; width: 250px;">Все [[profession|профессии]]</div>
+
! class="black-text" style="text-align:center; border-top:1px solid {{any-color|medium}}; background:{{any-color|light}}; border-right:0px" colspan="2" | <div style="margin: 0px auto; width: 250px;">Все [[profession|профессии]]</div>
 
|- class="collapse-reverse"
 
|- class="collapse-reverse"
 
| style="text-align:center; font-size:smaller;padding: 0.75em" colspan="2" | {{guardian}} [[Guardian|Страж]]{{bullet}}{{revenant}} [[Revenant|Ревенант]]{{bullet}}{{warrior}} [[Warrior|Воин]]{{bullet}}{{engineer}} [[Engineer|Инженер]]{{bullet}}{{ranger}} [[Ranger|Рейнджер]]{{bullet}}{{thief}} [[Thief|Вор]]<br>{{elementalist}} [[Elementalist|Элементалист]]{{bullet}}{{mesmer}} [[Mesmer|Месмер]]{{bullet}}{{necromancer}} [[Necromancer|Некромант]]
 
| style="text-align:center; font-size:smaller;padding: 0.75em" colspan="2" | {{guardian}} [[Guardian|Страж]]{{bullet}}{{revenant}} [[Revenant|Ревенант]]{{bullet}}{{warrior}} [[Warrior|Воин]]{{bullet}}{{engineer}} [[Engineer|Инженер]]{{bullet}}{{ranger}} [[Ranger|Рейнджер]]{{bullet}}{{thief}} [[Thief|Вор]]<br>{{elementalist}} [[Elementalist|Элементалист]]{{bullet}}{{mesmer}} [[Mesmer|Месмер]]{{bullet}}{{necromancer}} [[Necromancer|Некромант]]
Строка 49: Строка 49:
 
{{#ifeq:@@@|{{#var:profession}}|<!-- current profession already displayed at top -->|
 
{{#ifeq:@@@|{{#var:profession}}|<!-- current profession already displayed at top -->|
 
{{!}}-
 
{{!}}-
! style="text-align:center; border-top:1px solid {{color|@@@|border}}; background:{{color|@@@|light}}; border-right:0px" colspan="2" {{!}} {{@@@}} [[{{ucfirst:@@@}}|{{#switch:@@@|guardian=Страж|warrior=Воин|engineer=Инженер|revenant=Ревенант|ranger=Рейнджер|thief=Вор|elementalist=Элементалист|mesmer=Месмер|necromancer=Некромант}}]]
+
! class="black-text" style="text-align:center; border-top:1px solid {{color|@@@|border}}; background:{{color|@@@|light}}; border-right:0px" colspan="2" {{!}} {{@@@}} [[{{ucfirst:@@@}}|{{#switch:@@@|guardian=Страж|warrior=Воин|engineer=Инженер|revenant=Ревенант|ranger=Рейнджер|thief=Вор|elementalist=Элементалист|mesmer=Месмер|necromancer=Некромант}}]]
 
{{!}}-
 
{{!}}-
 
{{!}} <!-- spacer -->
 
{{!}} <!-- spacer -->
 
{{!}}-
 
{{!}}-
 
! style="width: 8.2em; border-right:2px solid {{color|@@@|border}}" {{!}} Списки
 
! style="width: 8.2em; border-right:2px solid {{color|@@@|border}}" {{!}} Списки
{{!}} [[List of @@@ skills|Умения]]{{bullet}}[[List of @@@ traits|Черты]]{{#ifeq: @@@ | ranger | {{bullet}}[[List of pet skills|Умения питомцев]] }}
+
{{!}} [[List of @@@ skills|Умения]]{{bullet}}[[List of @@@ traits|Черты]]{{#ifeq: @@@ | ranger | {{bullet}}[[List of pet skills|Умения питомцев]] }}<!--{{bullet}}[[Training/{{ucfirst:@@@}}|Изучение]]-->
 
{{!}}-
 
{{!}}-
 
! style="width: 8.2em; border-right:2px solid {{color|@@@|border}}" {{!}} [[Specialization#{{ucfirst:@@@}}|Специализации]]
 
! style="width: 8.2em; border-right:2px solid {{color|@@@|border}}" {{!}} [[Specialization#{{ucfirst:@@@}}|Специализации]]

Версия 18:22, 25 мая 2021

Description

{{Professions nav}}
{{Professions nav|profession}}

Parameters

unnamed parameter 1
Optional. Full name of the profession to display the navigation links by default. If not set, the current page's name is considered as a specialization, and its profession is chosen to be shown.

Example

{{Professions nav|elementalist}}