Шаблон:Weapon skill table row — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
Строка 14: | Строка 14: | ||
| format = template | | format = template | ||
| template = weapon skill table row format | | template = weapon skill table row format | ||
+ | | default = {{Weapon skill table row format|{{{1}}}|{{{1}}}|File:{{{1}}}.png}} | ||
| userparam = {{{chain|}}} | | userparam = {{{chain|}}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
Строка 36: | Строка 37: | ||
:{| | :{| | ||
| ''chain'' || [[File:Redirect Arrow.png|25px|link=]] (no link) | | ''chain'' || [[File:Redirect Arrow.png|25px|link=]] (no link) | ||
+ | |- | ||
+ | | ''ambush'' || [[File:Chain Arrow Toolbelt.png|25px|link=Ambush]] (links to [[Ambush]]) | ||
|- | |- | ||
| ''burst'' || [[File:Chain Arrow Toolbelt.png|25px|link=Burst]] (links to [[Burst]]) | | ''burst'' || [[File:Chain Arrow Toolbelt.png|25px|link=Burst]] (links to [[Burst]]) |
Версия 19:58, 23 августа 2017
Содержание
Description
{{Weapon skill table row|<skill name>}} {{Weapon skill table row|<skill name>|chain= |class= }}
This template is intended for use in weapon skill tables in conjunction with the {{weapon skill table header}}. It returns the wiki code for a single table row, populated with the following skill data: slot# (before the skill name), type, recharge time, and description. It does not return the table opening or closing tags, so those must be provided on the calling page.
It uses {{weapon skill table row format}} to process the results of the semantic query.
Caveat
This is a standardized template that specifically builds a weapon skill table. For alternatives, see:
- {{Skill table row}} for custom tables (can set which data prints in what order)
- {{Slot skill table header}} / {{Slot skill table row}} for slot skills (prints type, underwater status, skill point cost, recharge, and description)
Parameters
- unnamed parameter 1 <skill name>
- Full name of the skill article, including disambiguation suffixes. The skill icon and name will appear in the first cell of the row (unless
slot
orpet
is used, see below).
- chain
- Set to one of the following values to show an additional icon before the skill icon:
chain (no link) ambush (links to Ambush) burst (links to Burst) stealth (links to Stealth Attack) toolbelt (links to Tool belt) underwater (links to Underwater mode)
- class
- Used to apply CSS classes to the row. Examples:
-
class=<profession>
applies profession coloring to individual rows of a general table -
class=line
applies a border to the bottom of the row
-
Example
{| class="guardian skills table" {{weapon skill table header}} {{weapon skill table row|True Strike}} {{weapon skill table row|chain=chain|Pure Strike}} {{weapon skill table row|chain=chain|Faithful Strike}} {{weapon skill table row|Symbol of Faith}} {{weapon skill table row|Protector's Strike}} |}
# | Умение | Описание | |||
---|---|---|---|---|---|
1 | True Strike | ½ | Цепочка. Ударить вашего противника. | ||
1 | Pure Strike | ½ | Цепочка. Стукнуть вашего противника. | ||
1 | Faithful Strike | ¾ | Нанести противнику завершающий удар и исцелить союзников поблизости. | ||
2 | Symbol of Faith | 1¼ | 8 | Символ. Выбить на земле таинственный символ, который наносит урон противникам и дарует союзникам регенерацию. | |
3 | Protector's Strike | 3¾ | 15 | Защитить союзников от нескольких следующих атак. Если вас атакуют, вы наложите блага на союзников поблизости, а ваш пассивный эффект поджигания будет полностью заряжен. |