Шаблон:Environmental skill table row — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
Строка 13: | Строка 13: | ||
| style="text-align:center;" data-sort-value="{{#show:{{{1|}}}|?Has activation time}}" | {{fraction|{{#show:{{{1|}}}|?Has activation time}}}} | | style="text-align:center;" data-sort-value="{{#show:{{{1|}}}|?Has activation time}}" | {{fraction|{{#show:{{{1|}}}|?Has activation time}}}} | ||
| style="text-align:center;" data-sort-value="{{#show:{{{1|}}}|?Has recharge time}}" | {{fraction|{{#show:{{{1|}}}|?Has recharge time}}}} | | style="text-align:center;" data-sort-value="{{#show:{{{1|}}}|?Has recharge time}}" | {{fraction|{{#show:{{{1|}}}|?Has recharge time}}}} | ||
− | | {{{description|{{#show:{{{1|}}}|?Has game description|default=''Описание умения не найдено.''}}}}}</includeonly><noinclude> | + | | style="padding-left:2em;" | {{{description|{{#show:{{{1|}}}|?Has game description|default=''Описание умения не найдено.''}}}}}</includeonly><noinclude> |
− | This template | + | |
− | ===Parameters=== | + | == Description == |
− | ; ''unnamed parameter | + | 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 | + | |
− | ; ''unnamed parameter | + | === Caveat === |
− | ; description : Defaults to the [[Property:Has game description|in-game description]]. | + | This is a template that is used for cases that aren't covered by the following templates: |
− | ; chain : Set to one of the following values to show an additional icon before the skill icon: | + | * {{tl|Slot skill table header}} and {{tl|Slot skill table row}} for slot skills (prints type, underwater status, skill point cost, recharge, and description) |
− | + | * {{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)'' | ||
+ | : Optinal. Linked text. Defaults to [[Property:Has canonical name|canonical name]]. | ||
+ | ;description | ||
+ | : Defaults to the [[Property:Has game description|in-game description]]. | ||
+ | ;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...'' | ||
|- | |- |
Версия 07:40, 29 октября 2019
Содержание
Description
This template is intended for use for environmental skills as bundles or tonics, in conjunction with the {{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.
Caveat
This is a template that is used for cases that aren't covered by the following templates:
- {{Slot skill table header}} and {{Slot skill table row}} for slot skills (prints type, underwater status, skill point cost, recharge, and description)
- {{Profession mechanic skill table header}} and {{Profession mechanic skill table row}} for profession mechanic skills (prints profession mechanic slot#, weapon, type, recharge, and description)
- {{Weapon skill table header}} and {{Weapon skill table row}} for weapon skills and auxiliary skill bars (prints slot#, type, recharge, and description)
Usage
{{Environmental skill table row|<skill name>}} {{Profession mechanic skill table row|<skill name>|<skillnumber>|<linked text>|chain=<chain>|class=<css class>}}
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)
- Optinal. Linked text. Defaults to canonical name.
- description
- Defaults to the in-game description.
- chain
- Set to one of the following values to show an additional icon before the skill icon:
chain or any other unused value, as: y, yes... chain2 Level 2 mount On hover: Mount skill mount2 Level 2; on hover: Secondary mount skill replacedby On hover: Replaced by replacedby2 Level 2; on hover: Replaced by