Редактирование: Шаблон:Environmental skill table row

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск

Внимание! Вы не авторизовались на сайте. Ваш IP-адрес будет публично видимым, если вы будете вносить любые правки. Если вы войдёте или создадите учётную запись, правки вместо этого будут связаны с вашим именем пользователя, а также у вас появятся другие преимущества.

Правка может быть отменена. Пожалуйста, просмотрите сравнение версий, чтобы убедиться, что это именно те изменения, которые вас интересуют, и нажмите «Записать страницу», чтобы изменения вступили в силу.

На этой странице невозможны семантические аннотации в тексте из-за ограничений пространства имён. Детали относительно того, как разрешить пространство имен, находятся в справочной странице конфигурации.

Текущая версия Ваш текст
Строка 1: Строка 1:
 
<includeonly>|-
 
<includeonly>|-
| style="text-align:center;" | {{{2|{{#show:{{{1|}}}|?Has skill slot number|default=}}}}}
+
| {{#if: {{{chain|}}} | {{#switch: {{{chain|}}}
 +
                          | mount
 +
                          | mount2  = {{{2|{{#show:{{{1|}}}|?Has skill slot number|default=}}}}}
 +
                          | chain
 +
                          | replacedby
 +
                          | replacedby2
 +
                          | #default = }} | {{{2|{{#show:{{{1|}}}|?Has skill slot number|default=}}}}} }}
 
| {{#if: {{{chain|}}} | {{#switch: {{{chain|}}}  
 
| {{#if: {{{chain|}}} | {{#switch: {{{chain|}}}  
 
                           | mount = [[File:Chain Arrow Toolbelt.png|Умение ездового животного|25px|link=]]  
 
                           | mount = [[File:Chain Arrow Toolbelt.png|Умение ездового животного|25px|link=]]  
Строка 11: Строка 17:
 
{{#ifeq: {{#var:moreinfo}} | type | {{!}} {{#arraymap: {{#show:{{{1|}}}|?Has skill type|link=none}} |,|@@@|[[@@@|{{rus lang|skill type|@@@}}]] }} }}
 
{{#ifeq: {{#var:moreinfo}} | type | {{!}} {{#arraymap: {{#show:{{{1|}}}|?Has skill type|link=none}} |,|@@@|[[@@@|{{rus lang|skill type|@@@}}]] }} }}
 
| style="text-align:center;" | {{#ifeq:{{#show:{{{1|}}}|?Is ground targeted}}|Y|[[File:Ground_target_aim.png|18px|Прицеливание на землю|link=Targeting#Прицеливание на землю]]}}
 
| style="text-align:center;" | {{#ifeq:{{#show:{{{1|}}}|?Is ground targeted}}|Y|[[File:Ground_target_aim.png|18px|Прицеливание на землю|link=Targeting#Прицеливание на землю]]}}
| style="text-align:center;" data-sort-value="{{#show:{{{1|}}}|?Has activation time}}" | {{fraction|{{{activation|{{#show:{{{1|}}}|?Has activation time}}}}}}}
+
| style="text-align:center;" | {{fraction|{{#show:{{{1|}}}|?Has activation time}}}}
| style="text-align:center;" data-sort-value="{{#show:{{{1|}}}|?Has recharge time}}" | {{fraction|{{{recharge|{{#show:{{{1|}}}|?Has recharge time}}}}}}}
+
| style="text-align:center;" | {{fraction|{{#show:{{{1|}}}|?Has recharge time}}}}
 
| {{{description|{{#show:{{{1|}}}|?Has game description|default=''Описание умения не найдено.''}}}}}</includeonly><noinclude>
 
| {{{description|{{#show:{{{1|}}}|?Has game description|default=''Описание умения не найдено.''}}}}}</includeonly><noinclude>
 
+
This template does '''not''' require the presence of a DPL statement (like that included in {{tl|skill list dpl}}).
== Description ==
+
===Parameters===
This template is intended for use for ''environmental skills'' as bundles or tonics, in conjunction with the {{tl|Environmental skill table header}}. It returns the wiki code for a single table row, populated with the following skill data: ''slot#'', '''skill''', ''activation time'', ''recharge time'', and ''description''. It does not return the table opening or closing tags, so those must be provided on the calling page.
+
; ''unnamed parameter 1'' <skill name> : Full name of the skill article, including disambiguation suffixes.
 
+
; ''unnamed parameter 2'' <skill number> : Set the skill number to a certain value, useful if the skill appears in many slots and is therefore not numbered.
=== Caveat ===
+
; ''unnamed parameter 3'' <link text> : Defaults to [[Property:Has canonical name|canonical name]].
This is a template that is used for cases that aren't covered by the following templates:
+
; description : Defaults to the [[Property:Has game description|in-game description]].
* {{tl|Slot skill table header}} and {{tl|Slot skill table row}} for slot skills (prints type, underwater status, skill point cost, recharge, and description)
+
; chain : Set to one of the following values to show an additional icon before the skill icon:
* {{tl|Profession mechanic skill table header}} and {{tl|Profession mechanic skill table row}} for profession mechanic skills (prints profession mechanic slot#, weapon, type, recharge, and description)
+
::{|
* {{tl|Weapon skill table header}} and {{tl|Weapon skill table row}} for weapon skills and auxiliary skill bars (prints slot#, type, recharge, and description)
 
 
 
== Usage ==
 
<pre>{{Environmental skill table row|<skill name>}}
 
{{Profession mechanic skill table row|<skill name>|<skillnumber>|<linked text>|chain=<chain>|class=<css class>}}</pre>
 
 
 
=== Parameters ===
 
;1 ''(unnamed parameter)''
 
: Required. Skill name. Full name of the skill article, including disambiguation suffixes.
 
;2 ''(unnamed parameter)''
 
: Optional. Skill number. Set the skill number to a certain value, useful if the skill appears in many slots and is therefore not numbered.
 
;3 ''(unnamed parameter)''  
 
: Optional. Linked text. Defaults to [[Property:Has canonical name|canonical name]].
 
;description  
 
: Defaults to the [[Property:Has game description|in-game description]].
 
;activation
 
: Defaults to the [[Property:Has activation time|activation time]].
 
;recharge
 
: Defaults to the [[Property:Has recharge time|recharge time]].
 
;chain  
 
: Set to one of the following values to show an additional icon before the skill icon:
 
:{|
 
 
| ''chain'' || [[File:Redirect Arrow.png|25px|link=]] || or any other unused value, as: ''y, yes...''
 
| ''chain'' || [[File:Redirect Arrow.png|25px|link=]] || or any other unused value, as: ''y, yes...''
 
|-
 
|-

Пожалуйста, учтите, что любой ваш вклад в проект «Guild Wars 2 wiki» может быть отредактирован или удалён другими участниками. Если вы не хотите, чтобы кто-либо изменял ваши тексты, не помещайте их сюда.
Вы также подтверждаете, что являетесь автором вносимых дополнений, или скопировали их из источника, допускающего свободное распространение и изменение своего содержимого (см. Guild Wars 2 wiki:Авторские права). НЕ РАЗМЕЩАЙТЕ БЕЗ РАЗРЕШЕНИЯ ОХРАНЯЕМЫЕ АВТОРСКИМ ПРАВОМ МАТЕРИАЛЫ!

Чтобы изменить эту страницу, пожалуйста, ответьте на приведённый ниже вопрос (подробнее):

Отменить | Справка по редактированию (в новом окне)

Шаблоны, используемые на этой странице: