Шаблон:Profession mechanic skill table row
Материал из Guild Wars 2 wiki
Версия от 20:29, 23 июля 2019; Blood (обсуждение | вклад)
Содержание
Description
This template is intended for use in profession mechanic skill tables in conjunction with the {{profession mechanic skill table header}}. It returns the wiki code for a single table row, populated with the following skill data: mechanic slot# (before the skill name with the prefix "F", e.g. profession mechanic skill number "F1"), 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 {{profession mechanic skill table row format}} to process the results of the semantic query.
Caveat
This is a standardized template that specifically builds a profession mechanic 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)
- {{Weapon skill table header}} / {{Weapon skill table row}} for weapon skills and auxiliary skill bars (prints slot#, type, recharge, and description)
Columns
- Basic
- Has profession mechanic slot number (prefix: "F")
- Skill
- Has activation time
- Has recharge time or Has initiative cost (set
{{#vardefine:initiative|y}}
) - Has game description
- Optional
- Has profession mechanic slot number
- Skill
- Is for weapon (set
showWeapon=true
in the header) - Has skill type (set
showType=true
in the header) - Is for pet or Is for pet family (set
showPet=true
in the header) - Has pet archetype (set
showArchetype=true
in the header) - Has activation time
- Has energy cost (set
{{#vardefine:energy|y}}
) - Has recharge time or Has initiative cost
- Has game description
Usage
{{Profession mechanic skill table row|<skill name>}} {{Profession mechanic skill table row|<skill name>|chain= |class= }}
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) burst (links to Burst) toolbelt (links to Tool belt) underwater (links to Underwater mode) notunderwater (no link)
- class
- Used to apply CSS classes to the row. Examples:
-
class=line
applies a border to the bottom of the row
-
{{profession mechanic skill table header}} parameters
- showType
- Optional. Shows type column and displays the Property Has skill type, disabled on default. Can be set to "true".
- showWeapon
- Optional. Shows weapon column and displays the Property Is for weapon (e.g. for Berserker primal burst skills), disabled on default. Can be set to "true".
- showPet
- Optional. Shows pet column and displays the Property Is for pet, disabled on default. Can be set to "true".
- shotArchetype
- Optional. Shows archetype column and displays the Property Has pet archetype, disabled on default. Can be set to "true".
Example
{| class="guardian skills table" {{Profession mechanic skill table header}} {{Profession mechanic skill table row|Virtue of Justice}} {{Profession mechanic skill table row|Virtue of Resolve}} {{Profession mechanic skill table row|Virtue of Courage}} |}
# | Умение | Описание | |||
---|---|---|---|---|---|
F1 | Virtue of Justice | 20 | Добродетель: Вы поджигаете противников через каждые несколько атак. Активация: Вы и ваши союзники поджигаете своей следующей атакой. | ||
F2 | Virtue of Resolve | 30 | Добродетель: Вы восстанавливаете здоровье. Активация: Исцелить себя и союзников поблизости. | ||
F3 | Virtue of Courage | 45 | Добродетель: Вам периодически даруется эгида. Активация: Дарует эгиду вам и союзникам поблизости. |