Шаблон:Profession mechanic skill table row

Материал из Guild Wars 2 wiki
Версия от 20:27, 23 июля 2019; Blood (обсуждение | вклад) (Новая страница: «<includeonly>{{#ask:[[{{{1}}}]] | ?Has canonical name | ?Has game icon | ?Has game description | ?Is for profession | ?Has skill type | ?Has profession mechanic s…»)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

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:

Columns

Basic
  1. Has profession mechanic slot number (prefix: "F")
  2. Skill
  3. Has activation time
  4. Has recharge time or Has initiative cost (set {{#vardefine:initiative|y}})
  5. Has game description
Optional
  1. Has profession mechanic slot number
  2. Skill
  3. Is for weapon (set showWeapon=true in the header)
  4. Has skill type (set showType=true in the header)
  5. Is for pet or Is for pet family (set showPet=true in the header)
  6. Has pet archetype (set showArchetype=true in the header)
  7. Has activation time
  8. Has energy cost (set {{#vardefine:energy|y}})
  9. Has recharge time or Has initiative cost
  10. 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 or pet is used, see below).
chain 
Set to one of the following values to show an additional icon before the skill icon:
chain Redirect Arrow.png (no link)
burst Chain Arrow Toolbelt.png (links to Burst)
toolbelt Chain Arrow Toolbelt.png (links to Tool belt)
underwater Underwater.png (links to Underwater mode)
notunderwater Not available underwater.png (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.png
 Virtue of Justice
20 Добродетель: Вы поджигаете противников через каждые несколько атак.
Активация: Вы и ваши союзники поджигаете своей следующей атакой.
F2
Virtue of Resolve.png
 Virtue of Resolve
30 Добродетель: Вы восстанавливаете здоровье.
Активация: Исцелить себя и союзников поблизости.
F3
Virtue of Courage.png
 Virtue of Courage
45 Добродетель: Вам периодически даруется эгида.
Активация: Дарует эгиду вам и союзникам поблизости.