Шаблон:Mastery point — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
(не показаны 2 промежуточные версии этого же участника) | |||
Строка 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) | ||
+ | | The Icebrood Saga | ||
+ | | Icebrood Saga = (Icebrood Saga) | ||
+ | | End of Dragons | ||
+ | | End of Dragons = (End of Dragons) | ||
+ | | #default = large | ||
+ | }}.png|x20px|link=Mastery point|Очки мастерства {{#if: {{{region|}}} | {{#switch: {{{region|}}} | ||
+ | | Central Tyria = Центральной Тирии | ||
+ | | The Icebrood Saga | ||
+ | | Icebrood Saga = Саги об Исчадиях Льда | ||
+ | | #default = {{{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> |
− | ; ''unnamed parameter'' | + | == Parameters == |
− | : | + | All parameters are optional. |
+ | |||
+ | ;1 ''(unnamed parameter)'' | ||
+ | : 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}} | ||
+ | :* <code>Icebrood Saga</code>: {{mastery point|region=Icebrood Saga}} | ||
+ | :* <code>End of Dragons</code>: {{mastery point|region=End of Dragons}} | ||
− | === | + | === 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> |
Текущая версия на 17:16, 31 марта 2023
Usage[править]
Use this template to display a mastery point icon and a quantity.
{{mastery point|<quantity>|region=<region name>}}
Parameters[править]
All parameters are optional.
- 1 (unnamed parameter)
- 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
: -
Icebrood Saga
: -
End of Dragons
:
Examples[править]
{{mastery point|3}}
3
{{mastery point|region=Central Tyria}}
{{mastery point|5|region=Heart of Thorns}}
5