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

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
 
Строка 1: Строка 1:
{{#ifeq:{{{1}}}|0|| {{{1|}}} [[File:Upkeep.png|20px|Поддержка|link=Energy#Upkeep]]}}
+
{{#ifeq:{{{1}}}|0|| {{{1|}}} [[File:Upkeep.png|20px|Поддержание|link=Energy#Upkeep]]}}<noinclude>
 +
 
 +
== Description ==
 +
 
 +
=== Usage ===
 +
Displays the upkeep icon and the upkeep cost. If the value is 0, the icon isn't displayed. If the value is omitted, the icon is displayed by itself. If you wish to omit the upkeep icon when using this in template or other places, set the default value passed to this template as 0.
 +
 
 +
<nowiki>{{upkeep|<cost>}}</nowiki>
 +
 
 +
; cost
 +
: Cost of upkeep per second
 +
 
 +
=== Examples ===
 +
 
 +
({{upkeep|-5}})
 +
    <nowiki>{{upkeep|-5}}</nowiki>
 +
 
 +
({{upkeep|0}})
 +
    <nowiki>{{upkeep|0}}</nowiki>
 +
 
 +
({{upkeep}})
 +
    <nowiki>{{upkeep}}</nowiki>
 +
 
 +
[[Category:Formatting templates]]
 +
</noinclude>

Версия 11:50, 18 мая 2018

Поддержание

Description

Usage

Displays the upkeep icon and the upkeep cost. If the value is 0, the icon isn't displayed. If the value is omitted, the icon is displayed by itself. If you wish to omit the upkeep icon when using this in template or other places, set the default value passed to this template as 0.

{{upkeep|<cost>}}

cost
Cost of upkeep per second

Examples

(-5 Поддержание)

   {{upkeep|-5}}

()

   {{upkeep|0}}

(Поддержание)

   {{upkeep}}