Шаблон:Mastery infobox — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
(не показано 5 промежуточных версий этого же участника) | |||
Строка 1: | Строка 1: | ||
<includeonly>{{#set:Has context=Mastery}}<!-- | <includeonly>{{#set:Has context=Mastery}}<!-- | ||
-->{{infobox status|{{{status|}}}|{{{status notes|}}}|date={{{status date|}}}}}<!-- | -->{{infobox status|{{{status|}}}|{{{status notes|}}}|date={{{status date|}}}}}<!-- | ||
− | -->{{infobox requires|{{{requires|{{{ | + | -->{{infobox requires|{{{requires|}}} }}<!-- |
− | + | -->{{wikipopup|{{{description|}}}}}{{wikipopup quotation|game}}<!-- | |
--><div class="infobox mastery" style="width: 290px;"> | --><div class="infobox mastery" style="width: 290px;"> | ||
<div class="icon infobox-icon">{{#if: {{{icon|}}} | <div class="icon infobox-icon">{{#if: {{{icon|}}} | ||
Строка 14: | Строка 14: | ||
<div class="wrapper"> | <div class="wrapper"> | ||
<dl style="width: 280px;"> | <dl style="width: 280px;"> | ||
− | <dt | + | <dt>Регион</dt> |
− | <dd>[[{{{region|}}} mastery tracks|{{#switch:{{{region}}}|Central Tyria=Центральная Тирия|Icebrood Saga=Сага об Исчадиях Льда|#default={{{region}}}}}]]{{#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=Сага об Исчадиях Льда|#default={{{region|Неизвестно}}}}}]]{{#set:Has mastery track region={{{region|}}}}}</dd> |
− | <dt | + | <dt>[[Mastery#Цепочка мастерства|Цепочка]]</dt> |
<dd>[[{{{region|}}} mastery tracks#{{{track|}}}|{{rus lang|mastery|{{{track|Неизвестно}}}}}]]{{#set:Has mastery track={{{track|}}}}}</dd> | <dd>[[{{{region|}}} mastery tracks#{{{track|}}}|{{rus lang|mastery|{{{track|Неизвестно}}}}}]]{{#set:Has mastery track={{{track|}}}}}</dd> | ||
− | <dt | + | <dt>Уровень</dt> |
<dd>[[Has mastery tier::{{{tier|0}}}]]</dd> | <dd>[[Has mastery tier::{{{tier|0}}}]]</dd> | ||
− | <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> | ||
Строка 35: | Строка 35: | ||
{{#if: {{{track|}}} | [[Category:{{ucfirst:{{{track}}}}} masteries]] }} | {{#if: {{{track|}}} | [[Category:{{ucfirst:{{{track}}}}} masteries]] }} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
− | == | + | == Usage == |
<pre>{{Mastery infobox | <pre>{{Mastery infobox | ||
| points = | | points = | ||
Строка 59: | Строка 59: | ||
; status notes : Optional. Allows provision of additional reason for the given status. | ; 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). | ; 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> | <pre> | ||
{{Mastery infobox | {{Mastery infobox | ||
| points = 1 | | points = 1 | ||
| xp = 508000 | | xp = 508000 | ||
− | | region = Heart of | + | | region = Heart of Thorns |
| track = Gliding | | track = Gliding | ||
| tier = 1 | | 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. | | 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. | | mastered description = To glide, jump from a high place, and then press the jump key again while falling. | ||
− | | | + | | requires = hot |
}} | }} | ||
</pre> | </pre> | ||
Строка 79: | Строка 79: | ||
| points = 2 | | points = 2 | ||
| xp = 1016000 | | xp = 1016000 | ||
− | | region = Heart of | + | | region = Heart of Thorns |
| track = Gliding | | track = Gliding | ||
| tier = 2 | | 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. | | 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. | | 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 }}
“До открытия: 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.
— Внутриигровое описание