Шаблон:Profession mechanic skill table row — различия между версиями

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
 
(не показана 1 промежуточная версия этого же участника)
Строка 4: Строка 4:
 
| ?Has game description
 
| ?Has game description
 
| ?Is for profession
 
| ?Is for profession
 +
| ?Is for specialization
 +
| ?Has skill context
 
| ?Has skill type
 
| ?Has skill type
 
| ?Has profession mechanic slot number
 
| ?Has profession mechanic slot number
 +
| ?Has chain sequence position
 
| ?Has activation time
 
| ?Has activation time
 
| ?Has recharge time
 
| ?Has recharge time
 
| ?Has initiative cost
 
| ?Has initiative cost
 
| ?Has energy cost
 
| ?Has energy cost
 +
| ?Has upkeep cost
 
| ?Is for weapon
 
| ?Is for weapon
 +
| ?Is for attunement
 
| ?Is for pet
 
| ?Is for pet
 
| ?Is for pet family
 
| ?Is for pet family
 
| ?Has pet archetype
 
| ?Has pet archetype
| ?Has upkeep cost
 
| ?Has chain sequence position
 
 
| ?Is usable underwater
 
| ?Is usable underwater
 +
| ?Has chain sequence|+order=asc
 +
| ?Has skill sort order
 
| ?Is ground targeted
 
| ?Is ground targeted
 
| link = none
 
| link = none
Строка 22: Строка 27:
 
| template = Profession mechanic skill table row format{{!}}class={{{class|}}}{{!}}chain={{{chain|}}}
 
| template = Profession mechanic skill table row format{{!}}class={{{class|}}}{{!}}chain={{{chain|}}}
 
| default = {{Profession mechanic skill table row format|{{{1}}}|{{{1}}}|File:{{{1}}}.png}}
 
| default = {{Profession mechanic skill table row format|{{{1}}}|{{{1}}}|File:{{{1}}}.png}}
| userparam = {{{chain|}}}
 
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
== Description ==
 
== Description ==
Строка 82: Строка 86:
 
|-
 
|-
 
| ''underwater'' || [[File:Underwater.png|link=Underwater mode]] (links to [[Underwater mode]])
 
| ''underwater'' || [[File:Underwater.png|link=Underwater mode]] (links to [[Underwater mode]])
 +
|-
 +
| ''willbender flames'' || [[File:Chain Arrow Toolbelt.png|25px|link=Willbender Flames]] (links to [[Willbender Flames]])
 
|}
 
|}
  

Текущая версия на 06:06, 11 апреля 2022

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"), skill, (type), (weapon), (pet or pet family), (archetype), activation time, (energy), 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 showInitiative=true in the header)
  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 showEnergy=true in the header)
  9. Has recharge time or Has initiative cost (set showInitiative=true in the header)
  10. Has game description

Usage[править]

{{Profession mechanic skill table row|<skill name>}}
{{Profession mechanic skill table row|<skill name>|class=<css class>}}

Parameters[править]

1 (unnamed parameter)
Required. Skill name.
class
Used to apply CSS classes to the row. Examples: class=line applies a border to the bottom of the row.
chain
Optional. Added automatically, can be overridden with one of the following values:
none
chain Redirect Arrow.png (no link)
ambush Chain Arrow Toolbelt.png (links to Ambush)
burst Chain Arrow Toolbelt.png (links to Burst)
primal burst Chain Arrow Toolbelt.png (links to Primal Burst)
stealth Chain Arrow Toolbelt.png (links to Stealth Attack)
toolbelt Chain Arrow Toolbelt.png (links to Tool belt)
underwater Underwater.png (links to Underwater mode)
willbender flames Chain Arrow Toolbelt.png (links to Willbender Flames)

Template: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 Symbol 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".
showArchetype
Optional. Shows archetype column and displays the property Has pet archetype, disabled on default. Can be set to "true".
showEnergy
Optional. Shows energy column and displays the property Has energy cost, disabled on default. Can be set to "true".
showInitiative
Optional. Shows initiative column instead the recharge column and displays the property Has initiative cost, disabled on default. Can be set to "true".
showUnderwater
Optional. Shows underwater icon and displays the property Is usable underwater, disabled on default. Can be set to "true".

Example[править]

{| {{STDT|guardian skills}}
{{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 Добродетель: Вам периодически даруется эгида.
Активация: Дарует эгиду вам и союзникам поблизости.