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

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
 
(не показана 1 промежуточная версия этого же участника)
Строка 5: Строка 5:
 
| Crystal Desert
 
| Crystal Desert
 
| Path of Fire = (Path of Fire)
 
| Path of Fire = (Path of Fire)
 +
| The Icebrood Saga
 +
| Icebrood Saga = (Icebrood Saga)
 +
| End of Dragons
 +
| End of Dragons = (End of Dragons)
 
| #default = large
 
| #default = large
}}.png|x20px|link=Mastery point|Очко мастерства {{#if: {{{region|}}} | {{#ifeq:{{{region|}}}|Central Tyria|Центральной Тирии|{{{region|}}}}} }}]]</span></includeonly><noinclude>
+
}}.png|x20px|link=Mastery point|Очки мастерства {{#if: {{{region|}}} | {{#switch: {{{region|}}}  
 +
| Central Tyria = Центральной Тирии
 +
| The Icebrood Saga
 +
| Icebrood Saga = Саги об Исчадиях Льда
 +
| #default = {{{region|}}} }} }}]]</span></includeonly><noinclude>
 
== Usage ==
 
== Usage ==
 
Use this template to display a mastery point icon and a quantity.
 
Use this template to display a mastery point icon and a quantity.
Строка 15: Строка 23:
 
All parameters are optional.
 
All parameters are optional.
  
; ''unnamed parameter'' 1
+
;1 ''(unnamed parameter)''
 
: Quantity of points. If omitted, the quantity is not displayed.
 
: Quantity of points. If omitted, the quantity is not displayed.
 
; region
 
; region
Строка 23: Строка 31:
 
:* <code>Heart of Thorns</code>: {{mastery point|region=Heart of Thorns}}
 
:* <code>Heart of Thorns</code>: {{mastery point|region=Heart of Thorns}}
 
:* <code>Path of Fire</code>: {{mastery point|region=Path of Fire}}
 
:* <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 ===
 
=== Examples ===

Текущая версия на 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: Очки мастерства Heart of Thorns
  • Path of Fire: Очки мастерства Path of Fire
  • Icebrood Saga: Очки мастерства Саги об Исчадиях Льда
  • End of Dragons: Очки мастерства End of Dragons

Examples[править]

{{mastery point|3}}

Очки мастерства

{{mastery point|region=Central Tyria}}

Очки мастерства Центральной Тирии

{{mastery point|5|region=Heart of Thorns}}

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