Шаблон:Mastery point — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
− | <includeonly>{{#if:{{{1|}}}|{{formatnum:{{{1}}}}} | + | <includeonly>{{#if: {{{1|}}} | {{formatnum:{{{1}}}}} }}<span class="inline-icon">[[File:Mastery point {{#switch: {{{region|}}} |
− | + | | Central Tyria = (Central Tyria) | |
− | + | | Heart of Thorns | |
− | + | | Heart of Maguuma = (Heart of Thorns) | |
+ | | Crystal Desert | ||
+ | | Path of Fire = (Path of Fire) | ||
+ | | #default = large | ||
+ | }}.png|x20px|link=Mastery point|Очко мастерства {{#if: {{{region|}}} | {{#ifeq:{{{region|}}}|Central Tyria|Центральной Тирии|{{{region|}}}}} }}]]</span></includeonly><noinclude> | ||
+ | == Usage == | ||
+ | Use this template to display a mastery point icon and a quantity. | ||
− | < | + | <pre>{{mastery point|<quantity>|region=<region name>}}</pre> |
+ | |||
+ | == Parameters == | ||
+ | All parameters are optional. | ||
; ''unnamed parameter'' 1 | ; ''unnamed parameter'' 1 | ||
− | : | + | : Quantity of points. If omitted, the quantity is not displayed. |
; region | ; region | ||
− | : | + | : Mastery point region. If a value is specified, the icon will change accordingly. Options: |
− | : Default: {{mastery point}} | + | :* Default appearance with no parameter specified: {{mastery point}} |
− | : <code>Heart of | + | :* <code>Central Tyria</code>: {{mastery point|region=Central Tyria}} |
− | : <code> | + | :* <code>Heart of Thorns</code>: {{mastery point|region=Heart of Thorns}} |
+ | :* <code>Path of Fire</code>: {{mastery point|region=Path of Fire}} | ||
− | === | + | === Examples === |
<pre>{{mastery point|3}}</pre> | <pre>{{mastery point|3}}</pre> | ||
{{mastery point|3}} | {{mastery point|3}} | ||
+ | |||
+ | <pre>{{mastery point|region=Central Tyria}}</pre> | ||
+ | {{mastery point|region=Central Tyria}} | ||
+ | |||
+ | <pre>{{mastery point|5|region=Heart of Thorns}}</pre> | ||
+ | {{mastery point|5|region=Heart of Thorns}} | ||
[[Category:Formatting templates]] | [[Category:Formatting templates]] | ||
</noinclude> | </noinclude> |
Версия 11:09, 12 октября 2017
Usage
Use this template to display a mastery point icon and a quantity.
{{mastery point|<quantity>|region=<region name>}}
Parameters
All parameters are optional.
- unnamed parameter 1
- Quantity of points. If omitted, the quantity is not displayed.
- region
- Mastery point region. If a value is specified, the icon will change accordingly. Options:
- Default appearance with no parameter specified:
-
Central Tyria
: -
Heart of Thorns
: -
Path of Fire
:
Examples
{{mastery point|3}}
3
{{mastery point|region=Central Tyria}}
{{mastery point|5|region=Heart of Thorns}}
5