Шаблон:Recharge table — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
(не показаны 4 промежуточные версии этого же участника) | |||
Строка 18: | Строка 18: | ||
{{{!}} {{STDT|{{lc:{{#var:profession}}}}}} | {{{!}} {{STDT|{{lc:{{#var:profession}}}}}} | ||
! style="width: 5em" {{!}} | ! style="width: 5em" {{!}} | ||
− | ! | + | ! style="min-width: 10em" {{!}} Умение |
− | ! colspan="3" style="border-left-style:none;" {{!}} | + | ! colspan="3" style="border-left-style:none;" {{!}} Перезарядка с чертой |
{{!}}- | {{!}}- | ||
− | {{#arraymap: {{#if: {{{attunement|}}} | Attunement | Weapon, Bundle, Transform, Profession mechanic, Slot }}|,|@@@|<!-- | + | {{#arraymap: {{#if: {{{attunement|}}} | Attunement | Weapon, Bundle, Bundle Type, Transform, Profession mechanic, Slot }}|,|@@@|<!-- |
-->{{#ask: | -->{{#ask: | ||
[[Is for profession::{{#var:profession}}]] | [[Is for profession::{{#var:profession}}]] | ||
Строка 27: | Строка 27: | ||
{{#switch: @@@ | {{#switch: @@@ | ||
| Attunement = [[Has skill context::Weapon]] [[Is for attunement::{{{attunement|}}} Attunement]] | | Attunement = [[Has skill context::Weapon]] [[Is for attunement::{{{attunement|}}} Attunement]] | ||
− | | Weapon = [[Has skill context::Weapon]] [[Is for weapon::{{#arraymap: {{{1|}}}|,|@@@|{{ucfirst:@@@}}|{{!!}}}}]] | + | | Weapon = {{#if: {{{weapon slot|}}} |
+ | | [[Has skill slot number::{{{weapon slot|}}}]] [[Is for weapon::{{#arraymap: {{{1|}}}|,|@@@|{{ucfirst:@@@}}|{{!!}}}}]] <!-- query depth limit --> | ||
+ | | [[Has skill context::Weapon]] [[Is for weapon::{{#arraymap: {{{1|}}}|,|@@@|{{ucfirst:@@@}}|{{!!}}}}]] | ||
+ | }} | ||
| Bundle = [[Has skill context::Bundle]] [[Is for bundle::{{#arraymap: {{{1|}}}|,|@@@|{{ucfirst:@@@}}|{{!!}}}}]] | | Bundle = [[Has skill context::Bundle]] [[Is for bundle::{{#arraymap: {{{1|}}}|,|@@@|{{ucfirst:@@@}}|{{!!}}}}]] | ||
− | | Transform = [[Has skill context:: | + | | Bundle Type = [[Has skill context::Bundle]] [[Has skill type::{{#arraymap: {{{1|}}}|,|@@@|{{ucfirst:@@@}}|{{!!}}}}]] |
− | | Profession mechanic = [[Has skill context::Profession mechanic]] [[Has skill type::{{#arraymap: {{{1|}}}|,|@@@|{{ucfirst:@@@}}|{{!!}}}}]] | + | | Transform = [[Has skill context::Transform]] [[Has parent skill::{{#arraymap: {{{1|}}}|,|@@@|{{ucfirst:@@@}}|{{!!}}}}]] |
− | | Slot = [[Has skill context::Healing{{!!}}Utility{{!!}}Elite{{!!}}Trait]] [[Has skill type::{{#arraymap: {{{1|}}}|,|@@@|{{ucfirst:@@@}}|{{!!}}}}]] | + | | Profession mechanic = [[Has skill context::Profession mechanic]] [[{{{skill type query|Has skill type}}}::{{#arraymap: {{{1|}}}|,|@@@|{{ucfirst:@@@}}|{{!!}}}}]] |
+ | | Slot = [[Has skill context::Healing{{!!}}Utility{{!!}}Elite{{!!}}Trait]] [[{{{skill type query|Has skill type}}}::{{#arraymap: {{{1|}}}|,|@@@|{{ucfirst:@@@}}|{{!!}}}}]] | ||
}} | }} | ||
− | [[Is historical:: | + | [[Is historical::N]] |
− | | {{#switch: @@@ | Attunement | Weapon = ?Is for weapon | Bundle = ?Is for bundle | Transform = ?Has parent | Profession mechanic | Slot = ?Has skill context}} | + | {{{query|}}} |
+ | {{#if: {{{game mode|}}} | [[Is for game mode::Default || {{#switch: {{lc:{{{game mode}}}}} | pve = PvE | pvp = PvP | wvw = WvW}}]] }} | ||
+ | | {{#switch: @@@ | Attunement | Weapon = ?Is for weapon | Bundle | Bundle Type = ?Is for bundle | Transform = ?Has parent skill | Profession mechanic | Slot = ?Has skill context}} | ||
| ?Has recharge time | | ?Has recharge time | ||
| ?Is for game mode | | ?Is for game mode | ||
Строка 46: | Строка 52: | ||
| Attunement | | Attunement | ||
| Weapon = Has profession sort order, <!-- no specialization! --> Has weapon type sort order, Has skill slot number, Has skill sort order, Has chain sequence position, Has recharge time, Is for game mode | | Weapon = Has profession sort order, <!-- no specialization! --> Has weapon type sort order, Has skill slot number, Has skill sort order, Has chain sequence position, Has recharge time, Is for game mode | ||
− | | Bundle = Has profession sort order, Has specialization sort order, Has skill slot number, Has skill sort order, Has chain sequence position, Has recharge time, Is for game mode | + | | Bundle | Bundle Type = Has profession sort order, Has specialization sort order, Has weapon type sort order, Has skill slot number, Has skill sort order, Has chain sequence position, Has recharge time, Is for game mode |
| Transform = Has profession sort order, Has specialization sort order, Has skill slot number, Has skill sort order, Has chain sequence position, Has recharge time, Is for game mode | | Transform = Has profession sort order, Has specialization sort order, Has skill slot number, Has skill sort order, Has chain sequence position, Has recharge time, Is for game mode | ||
− | | Profession mechanic = Has profession sort order, Has specialization sort order, Has | + | | Profession mechanic = Has profession sort order, Has specialization sort order, Has skill slot sort order, Has skill sort order, Has chain sequence position, Has recharge time, Is for game mode |
| Slot = Has profession sort order, Has specialization sort order, Has skill context sort order, Has skill sort order, Has chain sequence position, Has recharge time, Is for game mode | | Slot = Has profession sort order, Has specialization sort order, Has skill context sort order, Has skill sort order, Has chain sequence position, Has recharge time, Is for game mode | ||
}} | }} | ||
Строка 68: | Строка 74: | ||
=== Parameters === | === Parameters === | ||
− | ; | + | ;1 ''(unnamed parameter)'' |
: Required. Query term. Defaults to <code><nowiki>{{PAGENAME}}</nowiki></code>. Either list of weapon types, separated by "," or skill type. | : Required. Query term. Defaults to <code><nowiki>{{PAGENAME}}</nowiki></code>. Either list of weapon types, separated by "," or skill type. | ||
;profession | ;profession | ||
Строка 80: | Строка 86: | ||
;hide count recharge skills | ;hide count recharge skills | ||
: Optional. Can be set to "true" (default "false") in order to hide skills from the normal recharge reduction table that are affected by count recharge reduction only. | : Optional. Can be set to "true" (default "false") in order to hide skills from the normal recharge reduction table that are affected by count recharge reduction only. | ||
+ | ;game mode | ||
+ | : Optional. Can be set to one of "pve, pvp, wvw" to display the recharge reduction table for that mode. | ||
+ | ;weapon slot | ||
+ | : Optional. Restrict weapon slots by "< N" (smaller equal), "<< N" (smaller), "> N" (greater equal), ">> N" (greater) or by an exact number. | ||
+ | ;query | ||
+ | : Optional. Additional query. | ||
+ | ;skill type query | ||
+ | : Optioanl. Skill type property, allows to query for ''Has skill type sort order'' instead of ''Has skill type''. | ||
=== Example === | === Example === | ||
Строка 94: | Строка 108: | ||
<pre>{{Recharge table|Virtue|profession=Guardian}}</pre> | <pre>{{Recharge table|Virtue|profession=Guardian}}</pre> | ||
{{Recharge table|Virtue|profession=Guardian}} | {{Recharge table|Virtue|profession=Guardian}} | ||
− | |||
− | |||
− | |||
<pre>{{Recharge table|Elixir|profession=Engineer}}</pre> | <pre>{{Recharge table|Elixir|profession=Engineer}}</pre> |
Текущая версия на 07:59, 8 марта 2023
Description[править]
This template creates tables displaying the recharge and the traited reduced recharge of the skills affected by the trait. Setting type to "count recharge" displays count recharge values instead.
Format using {{Recharge table result format}} and {{Recharge table result format/Count recharge}} for count recharge tables.
Usage[править]
{{Recharge table|<List of weapon types>}} {{Recharge table|<List of weapon types>|recharge=<0..100>}} {{Recharge table|attunement=<Attunement>}} {{Recharge table|<Skill type>}} {{Recharge table|<Skill type>|recharge=<0..100>}}
Parameters[править]
- 1 (unnamed parameter)
- Required. Query term. Defaults to
{{PAGENAME}}
. Either list of weapon types, separated by "," or skill type. - profession
- Optional. Profession. Defaults to Is for profession of the current
{{PAGENAME}}
. - attunement
- Optional. Elementalist attunement, either Fire, Water, Air, Earth.
- recharge
- Optional. Recharge. Defaults to 20.
- type
- Optional. Set to "count recharge" to ask for count recharge instead.
- hide count recharge skills
- Optional. Can be set to "true" (default "false") in order to hide skills from the normal recharge reduction table that are affected by count recharge reduction only.
- game mode
- Optional. Can be set to one of "pve, pvp, wvw" to display the recharge reduction table for that mode.
- weapon slot
- Optional. Restrict weapon slots by "< N" (smaller equal), "<< N" (smaller), "> N" (greater equal), ">> N" (greater) or by an exact number.
- query
- Optional. Additional query.
- skill type query
- Optioanl. Skill type property, allows to query for Has skill type sort order instead of Has skill type.
Example[править]
Recharge[править]
{{Recharge table|attunement=Air|profession=Elementalist}}
Умение | Перезарядка с чертой | |||
---|---|---|---|---|
Кинжал | Convergence | 8 | → | 6.4 |
Shocking Aura (PvE) | 10 | → | 8 | |
Shocking Aura (WvW, PvP) | 25 | → | 20 | |
Transmute Lightning (WvW, PvP) | 3 | → | 2.4 | |
Transmute Lightning (PvE) | 10 | → | 8 | |
Ride the Lightning (PvE) | 20 | → | 16 | |
Ride the Lightning (WvW, PvP) | 25 | → | 20 | |
Updraft (PvE) | 20 | → | 16 | |
Updraft (WvW, PvP) | 30 | → | 24 | |
Скипетр | Lightning Strike | 5 | → | 4 |
Blinding Flash (PvE) | 0.5 | → | 0.4 | |
Blinding Flash (WvW, PvP) | 15 | → | 12 | |
Меч | Polaric Leap (WvW, PvP) | 12 | → | 9.6 |
Polaric Leap (PvE) | 15 | → | 12 | |
Quantum Strike | 16 | → | 12.8 | |
Фокус | Swirling Winds | 30 | → | 24 |
Gale | 40 | → | 32 | |
Боевой рог | Cyclone | 25 | → | 20 |
Lightning Orb | 25 | → | 20 | |
Молот | Hurricane of Pain | 10 | → | 8 |
Crescent Wind | 18 | → | 14.4 | |
Wind Storm | 20 | → | 16 | |
Shock Blast | 25 | → | 20 | |
Посох | Lightning Surge (WvW, PvP) | 6 | → | 4.8 |
Lightning Surge (PvE) | 10 | → | 8 | |
Gust | 25 | → | 20 | |
Windborne Speed | 20 | → | 16 | |
Static Field | 30 | → | 24 | |
Трезубец | Electrocute | 8 | → | 6.4 |
Air Pocket | 12 | → | 9.6 | |
Air Bubble (PvE) | 20 | → | 16 | |
Air Bubble (WvW, PvP) | 25 | → | 20 | |
Lightning Cage | 30 | → | 24 |
{{Recharge table|Shield|profession=Warrior}}
Умение | Перезарядка с чертой |
---|
{{Recharge table|Axe, Focus|profession=Necromancer}}
Умение | Перезарядка с чертой | |||
---|---|---|---|---|
Топор | Ghastly Claws | 8 | → | 6.4 |
Unholy Feast | 12 | → | 9.6 | |
Фокус | Soul Grasp | 3 | → | 2.4 |
Spinal Shivers (PvE) | 16 | → | 12.8 | |
Spinal Shivers (WvW, PvP) | 20 | → | 16
| |
Черта | Lesser Spinal Shivers | 20 | → | 16 |
{{Recharge table|Virtue|profession=Guardian}}
Умение | Перезарядка с чертой | |||
---|---|---|---|---|
Механика профессии | Virtue of Justice | 20 | → | 16 |
Virtue of Resolve | 30 | → | 24 | |
Virtue of Courage | 45 | → | 36 | |
Spear of Justice | 20 | → | 16 | |
Wings of Resolve | 25 | → | 20 | |
Shield of Courage | 45 | → | 36 | |
Rushing Justice (PvE) | 12 | → | 9.6 | |
Rushing Justice (PvP, WvW) | 18 | → | 14.4 | |
Crashing Courage | 30 | → | 24 |
{{Recharge table|Elixir|profession=Engineer}}
Умение | Перезарядка с чертой | |||
---|---|---|---|---|
Пояс с инструментами | Toss Elixir H | 20 | → | 16 |
Toss Elixir X | 60 | → | 48 | |
Toss Elixir X | 60 | → | 48 | |
Healing Mist | 28 | → | 22.4 | |
Toss Elixir B | 20 | → | 16 | |
Toss Elixir C | 16 | → | 12.8 | |
Toss Elixir S | 45 | → | 36 | |
Toss Elixir U | 25 | → | 20 | |
Toss Elixir U | 32 | → | 25.6
| |
Исцеляющие | Elixir H | 20 | → | 16 |
Вспомогательные | Elixir B | 20 | → | 16 |
Elixir C | 20 | → | 16 | |
Elixir R | 24 | → | 19.2 | |
Elixir S | 60 | → | 48 | |
Elixir U | 32 | → | 25.6 | |
Элитные | Elixir X | 85 | → | 68 |
Elixir X | 85 | → | 68 | |
Черта | Elixir E (PvE) | 40 | → | 32 |
Elixir E (WvW) | 60 | → | 48 | |
Elixir E (PvP) | 100 | → | 80 | |
Lesser Elixir B | 24 | → | 19.2 | |
Lesser Elixir C (PvE, WvW) | 60 | → | 48 | |
Lesser Elixir C (PvP) | 80 | → | 64 |
Count Recharge[править]
{{Recharge table|Arcane|profession=Elementalist|type=count recharge}}
Умение | Перезарядка с чертой | |||
---|---|---|---|---|
Вспомогательные | Arcane Blast | 20 | → | 16 |
Arcane Wave (PvE) | 25 | → | 20
| |
Arcane Wave (WvW, PvP) | 30 | → | 24 |