Шаблон:Energy — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
(не показана 1 промежуточная версия этого же участника) | |||
Строка 1: | Строка 1: | ||
− | {{#ifeq:{{{1}}}|0|| {{{1|}}} [[File:Energy.png|20px|Энергия|link=Energy]]}} | + | <onlyinclude>{{#ifeq:{{{1}}}|0|| {{{1|}}} [[File:Energy.png|20px|Энергия|link=Energy]]}}</onlyinclude> |
+ | == Description == | ||
+ | Displays an energy icon and the energy cost. | ||
+ | |||
+ | == Usage == | ||
+ | <pre> | ||
+ | {{energy}} | ||
+ | {{energy|<cost>}} | ||
+ | </pre> | ||
+ | |||
+ | === Parameters === | ||
+ | ; 1 ''(unnamed parameter)'' | ||
+ | : Optional. Energy cost in seconds. | ||
+ | |||
+ | === Examples === | ||
+ | {{example table header}} | ||
+ | {{example table row}} | ||
+ | {{example table row|5}} | ||
+ | {{example table row|0.5}} | ||
+ | {{example table row|0}} | ||
+ | |} | ||
+ | |||
+ | == See also == | ||
+ | * {{tl|Activation}} | ||
+ | * {{tl|Health cost}} | ||
+ | * {{tl|Initiative}} | ||
+ | * {{tl|Recharge}} | ||
+ | * {{tl|Upkeep}} | ||
+ | * {{tl|Infobox statistic split}} | ||
+ | |||
+ | [[Category:Icon templates]] |
Текущая версия на 11:42, 7 марта 2020
Содержание
Description[править]
Displays an energy icon and the energy cost.
Usage[править]
{{energy}} {{energy|<cost>}}
Parameters[править]
- 1 (unnamed parameter)
- Optional. Energy cost in seconds.
Examples[править]
Параметр | Код | Результат |
---|---|---|
{{energy}}
|
||
5 | {{energy|5}}
|
5 |
0.5 | {{energy|0.5}}
|
0.5 |
0 | {{energy|0}}
|
See also[править]
- {{Activation}}
- {{Health cost}}
- {{Initiative}}
- {{Recharge}}
- {{Upkeep}}
- {{Infobox statistic split}}