Шаблон:Mastery infobox — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
− | {{infobox status|{{{status|{ | + | <includeonly>{{#set:Has context=Mastery}}<!-- |
+ | -->{{infobox status|{{{status|}}}|{{{status notes|}}}}}<!-- | ||
+ | -->{{infobox release|{{{release|}}} }}<!-- | ||
+ | |||
+ | --><div class="infobox mastery" style="width: 280px;"> | ||
<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]] | ||
Строка 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 }} | ||
− | |||
| <!-- Do not categorize --> | | | <!-- Do not categorize --> | | ||
{{#if: {{{track|}}} | [[Category:{{ucfirst:{{{track}}}}} masteries]] }} | {{#if: {{{track|}}} | [[Category:{{ucfirst:{{{track}}}}} masteries]] }} | ||
− | }}<noinclude> | + | }}</includeonly><noinclude> |
== Description == | == Description == | ||
<pre>{{Mastery infobox | <pre>{{Mastery infobox | ||
Строка 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. | ||
+ | ; release : Optional. The expansion or living world season required to access the content. Displays a notice of the release. See {{tl|infobox release}} for options. | ||
+ | |||
+ | == Examples == | ||
+ | <pre> | ||
+ | {{Mastery infobox | ||
+ | | points = 1 | ||
+ | | xp = 508000 | ||
+ | | region = Heart of Maguuma | ||
+ | | 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. | ||
+ | | release = hot | ||
+ | }} | ||
+ | </pre> | ||
+ | {{Mastery infobox | ||
+ | | name = Glider Basics | ||
+ | | icon = Glider Basics.png | ||
+ | | points = 2 | ||
+ | | xp = 1016000 | ||
+ | | region = Heart of Maguuma | ||
+ | | 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. | ||
+ | | release = hot | ||
+ | }} | ||
[[Category:Infobox templates]] | [[Category:Infobox templates]] | ||
</noinclude> | </noinclude> |
Версия 15:31, 5 августа 2017
Description
{{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.
- release
- Optional. The expansion or living world season required to access the content. Displays a notice of the release. See {{infobox release}} for options.
Examples
{{Mastery infobox | points = 1 | xp = 508000 | region = Heart of Maguuma | 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. | release = 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.
— Внутриигровое описание