Шаблон:Recharge table result format — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
(не показаны 4 промежуточные версии этого же участника) | |||
Строка 20: | Строка 20: | ||
{{!}}- <!-- row count -->{{increment|{{#var:this_context}}{{#var:table_id}}}} | {{!}}- <!-- row count -->{{increment|{{#var:this_context}}{{#var:table_id}}}} | ||
{{!}} {{skill icon|{{{1|}}}}} <span style="color: #808080;">{{#switch: {{{4|}}} | Default = | #default = {{#vardefine:{{#var:this_skill}}{{#var:this_recharge}}{{#var:table_id}}|({{{4|}}})}} {{#var_final:{{#var:this_skill}}{{#var:this_recharge}}{{#var:table_id}}}} }}</span> | {{!}} {{skill icon|{{{1|}}}}} <span style="color: #808080;">{{#switch: {{{4|}}} | Default = | #default = {{#vardefine:{{#var:this_skill}}{{#var:this_recharge}}{{#var:table_id}}|({{{4|}}})}} {{#var_final:{{#var:this_skill}}{{#var:this_recharge}}{{#var:table_id}}}} }}</span> | ||
− | {{!}} style="text-align:right" {{!}} {{{3|}}} | + | {{!}} style="text-align:right" {{!}} {{#replace:{{{3|}}}|,|.}} |
{{!}} style="text-align:center;padding-left:1em;padding-right:1em;" {{!}} → | {{!}} style="text-align:center;padding-left:1em;padding-right:1em;" {{!}} → | ||
− | {{!}} | + | {{!}} {{!}} {{#if:{{{3|}}}|{{#expr: {{#replace:{{{3|}}}|,|.}} * (100-{{{userparam|}}})/100}}}} |
}} | }} | ||
| <!-- new context, new subheader colspan row -->{{#vardefine:last_context|{{#var:this_context}}}}{{#vardefine:last_recharge|{{#var:this_recharge}}}}<nowiki/> | | <!-- new context, new subheader colspan row -->{{#vardefine:last_context|{{#var:this_context}}}}{{#vardefine:last_recharge|{{#var:this_recharge}}}}<nowiki/> | ||
{{!}}- class="line-top" <!-- row count -->{{increment|{{#var:this_context}}{{#var:table_id}}}} | {{!}}- class="line-top" <!-- row count -->{{increment|{{#var:this_context}}{{#var:table_id}}}} | ||
! rowspan="{{#var_final:{{#var:this_context}}{{#var:table_id}}}}" {{!}} {{#switch: {{#var:this_context}} | ! rowspan="{{#var_final:{{#var:this_context}}{{#var:table_id}}}}" {{!}} {{#switch: {{#var:this_context}} | ||
− | | Transform = [[Transform]] | + | | Transform = [[Transform|Преображение]] |
− | | Healing = [[Healing skill#{{{profession|}}}| | + | | Healing = [[Healing skill#{{{profession|}}}|Исцеляющие]] |
− | | Utility = [[Utility skill#{{{profession|}}}| | + | | Utility = [[Utility skill#{{{profession|}}}|Вспомогательные]] |
− | | Elite = [[Elite skill#{{{profession|}}}| | + | | Elite = [[Elite skill#{{{profession|}}}|Элитные]] |
− | | Trait = [[List of {{lc:{{{profession|}}}}} traits| | + | | Trait = [[List of {{lc:{{{profession|}}}}} traits|Черта]] |
− | | Bundle = [[Utility skill#{{{profession|}}}| | + | | Bundle = [[Utility skill#{{{profession|}}}|Комплект]] |
− | | Profession mechanic = {{#switch: {{{profession|}}} | Engineer = [[Tool belt]] | #default = [[Profession mechanic| | + | | Profession mechanic = {{#switch: {{{profession|}}} | Engineer = [[Tool belt|Пояс с инструментами]] | #default = [[Profession mechanic|Механика профессии]]}} |
− | | #default = [[{{#var:this_context}}#{{{profession|}}}|{{#var:this_context}}]] <!-- Weapons --> | + | | #default = [[{{#var:this_context}}#{{{profession|}}}|{{rus lang|weapon|{{#var:this_context}}}}]] <!-- Weapons --> |
}} | }} | ||
{{!}} {{skill icon|{{{1|}}}}} <span style="color: #808080;">{{#switch: {{{4|}}} | Default = | #default = {{#vardefine:{{#var:this_skill}}{{#var:this_recharge}}{{#var:table_id}}|({{{4|}}})}} {{#var_final:{{#var:this_skill}}{{#var:this_recharge}}{{#var:table_id}}|}} }}</span> | {{!}} {{skill icon|{{{1|}}}}} <span style="color: #808080;">{{#switch: {{{4|}}} | Default = | #default = {{#vardefine:{{#var:this_skill}}{{#var:this_recharge}}{{#var:table_id}}|({{{4|}}})}} {{#var_final:{{#var:this_skill}}{{#var:this_recharge}}{{#var:table_id}}|}} }}</span> | ||
− | {{!}} style="text-align:right" {{!}} {{{3|}}} | + | {{!}} style="text-align:right" {{!}} {{#replace:{{{3|}}}|,|.}} |
{{!}} style="text-align:center;padding-left:1em;padding-right:1em;" {{!}} → | {{!}} style="text-align:center;padding-left:1em;padding-right:1em;" {{!}} → | ||
− | {{!}} | + | {{!}} {{!}} {{#if:{{{3|}}}|{{#expr: {{#replace:{{{3|}}}|,|.}} * (100-{{{userparam|}}})/100}}}} |
}}<!-- store this skill for the next row -->{{#vardefine:last_skill|{{#var:this_skill}}}} | }}<!-- store this skill for the next row -->{{#vardefine:last_skill|{{#var:this_skill}}}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> |
Текущая версия на 07:26, 27 сентября 2021
Result format for {{Recharge table}}.
- Skill
- Attunement AND Weapon = Is for weapon, Bundle = Is for bundle, Transform = Has parent skill, Profession mechanic AND Slot = Has skill context
- Has recharge time
- Is for game mode
- Has skill type