Контент Guild Wars 2: Heart of Thorns

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

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
 
 
(не показаны 22 промежуточные версии этого же участника)
Строка 1: Строка 1:
{{infobox status|{{{status|{{#ifeq:{{{historical|n}}}|y|historical}} }}} }}{{#set:Has context=Mastery}}<div class="infobox mastery" style="width: 280px;">
+
<includeonly>{{#set:Has context=Mastery}}<!--
 +
-->{{infobox status|{{{status|}}}|{{{status notes|}}}|date={{{status date|}}}}}<!--
 +
-->{{infobox requires|{{{requires|}}} }}<!--
 +
-->{{wikipopup|{{{description|}}}}}{{wikipopup quotation|game}}<!--
 +
--><div class="infobox mastery" style="width: 290px;">
 
<div class="icon infobox-icon">{{#if: {{{icon|}}}
 
<div class="icon infobox-icon">{{#if: {{{icon|}}}
 
  | [[Has game icon::File:{{{icon}}}|40px]]
 
  | [[Has game icon::File:{{{icon}}}|40px]]
Строка 10: Строка 14:
 
<div class="wrapper">
 
<div class="wrapper">
 
<dl style="width: 280px;">
 
<dl style="width: 280px;">
<dt style="width:120px;">Регион цепочки</dt>
+
<dt>Регион</dt>
<dd>[[{{{region|}}} mastery tracks|{{#switch:{{{region}}}|Central Tyria=Центральная Тирия|Heart of Maguuma=Сердце Магуумы|#default=Неизвестно}}]]{{#set:Has mastery track region={{{region|}}}}}</dd>
+
<dd>[[{{{region|}}} mastery tracks|{{#switch:{{{region}}}|Central Tyria=Центральная Тирия|Heart of Thorns|Heart of Maguuma|=Heart of Thorns|Path of Fire=Path of Fire|Icebrood Saga=Сага&nbsp;об&nbsp;Исчадиях&nbsp;Льда|#default={{{region|Неизвестно}}}}}]]{{#set:Has mastery track region={{{region|}}}}}</dd>
<dt style="width:120px;">[[Mastery|Цепочка&nbsp;мастерства]]</dt>
+
<dt>[[Mastery#Цепочка мастерства|Цепочка]]</dt>
<dd>{{#switch:{{{track}}}|Gliding=Планирование|Itzel Lore=Знания Итцель|Exalted Lore=Знания Возвышенных|Nuhoch Lore=Знания Нухоч|Forsaken Thicket=Покинутая Чаща|Pact Commander=Командир Пакта|Legendary Crafting=Создание легенд|Fractal Attunement=Фрактальная&nbsp;настройка|#default=Неизвестно}}{{#set:Has mastery track={{{track|}}}}}</dd>
+
<dd>[[{{{region|}}} mastery tracks#{{{track|}}}|{{rus lang|mastery|{{{track|Неизвестно}}}}}]]{{#set:Has mastery track={{{track|}}}}}</dd>
<dt style="width:120px;">Уровень</dt>
+
<dt>Уровень</dt>
 
<dd>[[Has mastery tier::{{{tier|0}}}]]</dd>
 
<dd>[[Has mastery tier::{{{tier|0}}}]]</dd>
<dt style="width:120px;">Требуется опыта</dt>
+
<dt>Опыт</dt>
 
<dd>{{formatnum:{{{experience|{{{xp|0}}}}}}}}{{#set: Has mastery experience requirement={{{experience|{{{xp|0}}}}}}}}</dd>
 
<dd>{{formatnum:{{{experience|{{{xp|0}}}}}}}}{{#set: Has mastery experience requirement={{{experience|{{{xp|0}}}}}}}}</dd>
 
</dl>
 
</dl>
Строка 28: Строка 32:
 
           {{#ifeq: {{{categorize|y}}} | n | do not categorize | <!-- categorize --> }}
 
           {{#ifeq: {{{categorize|y}}} | n | do not categorize | <!-- categorize --> }}
 
           {{#switch: {{lc:{{{status|}}}}} | historical | unimplemented | future = do not categorize }}
 
           {{#switch: {{lc:{{{status|}}}}} | historical | unimplemented | future = do not categorize }}
          {{#ifeq: {{lc:{{{historical}}}}} | y | do not categorize }}<!-- legacy support -->
 
 
  | <!-- Do not categorize --> |
 
  | <!-- Do not categorize --> |
 
{{#if: {{{track|}}} | [[Category:{{ucfirst:{{{track}}}}} masteries]] }}
 
{{#if: {{{track|}}} | [[Category:{{ucfirst:{{{track}}}}} masteries]] }}
}}<noinclude>
+
}}</includeonly><noinclude>
== Description ==
+
== Usage ==
 
<pre>{{Mastery infobox
 
<pre>{{Mastery infobox
 
| points =  
 
| points =  
Строка 54: Строка 57:
 
; categorize : Optional. "y" or "n" to turn on/off categorization. Default is on for main namespace articles and off for others. If using "status", don't set this parameter.
 
; categorize : Optional. "y" or "n" to turn on/off categorization. Default is on for main namespace articles and off for others. If using "status", don't set this parameter.
 
; status : Optional. Status of content. Only set if not currently obtainable ingame, displays relevant notice. Available options: "historical", "future", "unimplemented", "current" (default).
 
; status : Optional. Status of content. Only set if not currently obtainable ingame, displays relevant notice. Available options: "historical", "future", "unimplemented", "current" (default).
 +
; status notes : Optional. Allows provision of additional reason for the given status.
 +
; status date : Optional. Sets the date of the update that marked this skill as historical (in YYYY-MM-DD format).
 +
; requires : Optional. The expansion or living world season required to access the content. Displays a notice of the release. See {{tl|infobox requires}} for options.
 +
 +
=== Example ===
 +
<pre>
 +
{{Mastery infobox
 +
| points = 1
 +
| xp = 508000
 +
| region = Heart of Thorns
 +
| track = Gliding
 +
| tier = 1
 +
| description = Gain access to the glider so that you can glide like a squirrel across the highest points of the Heart of Maguuma.
 +
| mastered description = To glide, jump from a high place, and then press the jump key again while falling.
 +
| requires = hot
 +
}}
 +
</pre>
 +
{{Mastery infobox
 +
| name = Glider Basics
 +
| icon = Glider Basics.png
 +
| points = 2
 +
| xp = 1016000
 +
| region = Heart of Thorns
 +
| track = Gliding
 +
| tier = 2
 +
| description = Improved design to your glider handles and slits in the wings let you confidently fly into updrafts, allowing you to gain altitude and travel to previously unreachable locations.
 +
| mastered description = Updrafts are pillars of swirling wind found around the [[Heart of Maguuma|Maguuma Jungle]]. To use updrafts, simply glide into them and receive an elevation boost.
 +
| requires = hot
 +
}}
  
 
[[Category:Infobox templates]]
 
[[Category:Infobox templates]]
 
</noinclude>
 
</noinclude>

Текущая версия на 17:11, 31 марта 2023

Usage[править]

{{Mastery infobox
| points = 
| experience = 
| region = 
| track = 
| tier = 
| description = 
| mastered description = 
}}

Parameters[править]

name 
Optional. Mastery name. Defaults to the page name.
points 
Required. The number of mastery points required to use the mastery.
experience 
Required. The amount of experience required to acquire the mastery.
region 
Required. The region that the track is unlocked in. (e.g. "Heart of Maguuma")
track 
Required. The mastery track that the specific mastery is under. (e.g. "Gliding")
tier 
Required. The mastery track tier.
description 
Required. The in-game description.
mastered description 
Optional. The in-game description of the mastery once it's been mastered.
categorize 
Optional. "y" or "n" to turn on/off categorization. Default is on for main namespace articles and off for others. If using "status", don't set this parameter.
status 
Optional. Status of content. Only set if not currently obtainable ingame, displays relevant notice. Available options: "historical", "future", "unimplemented", "current" (default).
status notes 
Optional. Allows provision of additional reason for the given status.
status date 
Optional. Sets the date of the update that marked this skill as historical (in YYYY-MM-DD format).
requires 
Optional. The expansion or living world season required to access the content. Displays a notice of the release. See {{infobox requires}} for options.

Example[править]

{{Mastery infobox
| points = 1
| xp = 508000
| region = Heart of Thorns
| track = Gliding
| tier = 1
| description = Gain access to the glider so that you can glide like a squirrel across the highest points of the Heart of Maguuma.
| mastered description = To glide, jump from a high place, and then press the jump key again while falling.
| requires = hot
}}
Glider Basics.png

Glider Basics

Очки мастерства Heart of Thorns

Регион
Heart of Thorns
Цепочка
Планирование
Уровень
2
Опыт
1 016 000

До открытия: Improved design to your glider handles and slits in the wings let you confidently fly into updrafts, allowing you to gain altitude and travel to previously unreachable locations. 

После открытия: Updrafts are pillars of swirling wind found around the Maguuma Jungle. To use updrafts, simply glide into them and receive an elevation boost.

— Внутриигровое описание