Шаблон:Skill list result format — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) (Новая страница: «<includeonly>{{#vardefine: this_skill|{{{2|}}}}}{{#ifeq: {{#var: last_skill}}|{{#var:this_skill}}|<!-- same skill -->{{#switch: {{{suffix|}}}| notes =…») |
Blood (обсуждение | вклад) |
||
Строка 8: | Строка 8: | ||
game mode -->{{#replace:{{#switch: {{{13|}}}|Default=|#default=in {{{13|}}}}}|,| and }}}}|{{#vardefine: last_skill|{{#var: this_skill}}}}<!-- | game mode -->{{#replace:{{#switch: {{{13|}}}|Default=|#default=in {{{13|}}}}}|,| and }}}}|{{#vardefine: last_skill|{{#var: this_skill}}}}<!-- | ||
different skill -->* {{#if: {{{6|}}}|{{ {{{6|}}} }}|{{#if: {{{5|}}}|{{ {{{5|}}} }}}}}}  <!-- | different skill -->* {{#if: {{{6|}}}|{{ {{{6|}}} }}|{{#if: {{{5|}}}|{{ {{{5|}}} }}}}}}  <!-- | ||
− | icon -->{{borderless|{{#sub:{{{4}}}|5}}|25|{{{3|{{{2}}}}}}|link={{{2}}}}} [[{{{2}}}|{{{3|{{{2}}}}}}]]{{#switch: {{{suffix|}}}| description | none = | #default = {{#if: {{{14|}}}{{{15|}}}{{{16|}}}| — }}<!-- | + | icon -->{{borderless|{{#sub:{{{4}}}|5}}|25|{{{3|{{{2}}}}}}|link={{{2}}}}} [[{{{2}}}|{{{3|{{{2}}}}}}]]<!-- |
− | + | -->{{#switch: {{{suffix|}}} | |
− | + | | description | |
− | + | | none = <!-- display nothing --> | |
− | additional notes -->{{#switch: {{{suffix|}}}|#default = | description = — {{#replace:{{{7|}}}|<br>| }} | notes ={{#if: {{{14|}}}{{{15|}}}{{{16|}}}|{{#if:{{{9|}}}{{{10|}}}|,}}|{{#if:{{{9|}}}{{{10|}}}| —}}}} <!-- | + | | trait = {{#if: {{{14|}}}{{{15|}}}{{{16|}}}| (}}<!-- |
− | + | mechanic weapon/pet -->{{#if: {{{16|}}}|{{#arraymap: {{{16|}}}|,|@@@|[[@@@]]|, }}{{#if: {{{15|}}}|, |{{#if: {{{14|}}}|, }}}}}}<!-- | |
− | + | weapon/bundle/type -->{{#if: {{{15|}}}|{{#arraymap: {{{15|}}}|,|@@@|[[@@@]]|, }}{{#if: {{{14|}}}|, }}}}<!-- | |
+ | attunement -->{{#if: {{{14|}}}|when [[Attunement|attuned]] to {{#arraymap: {{{14|}}}|,|@@@|[[@@@|{{lc:{{#replace:@@@|Attunement}}}}]]| and }}}}<!-- | ||
+ | -->{{#if: {{{14|}}}{{{15|}}}{{{16|}}}|)}} | ||
+ | | #default = {{#if: {{{14|}}}{{{15|}}}{{{16|}}}| — }}<!-- | ||
+ | mechanic weapon/pet -->{{#if: {{{16|}}}|{{#arraymap: {{{16|}}}|,|@@@|[[@@@]]|, }}{{#if: {{{15|}}}|, |{{#if: {{{14|}}}|, }}}}}}<!-- | ||
+ | weapon/bundle/type -->{{#if: {{{15|}}}|{{#arraymap: {{{15|}}}|,|@@@|[[@@@]]|, }}{{#if: {{{14|}}}|, }}}}<!-- | ||
+ | attunement -->{{#if: {{{14|}}}|when [[Attunement|attuned]] to {{#arraymap: {{{14|}}}|,|@@@|[[@@@|{{lc:{{#replace:@@@|Attunement}}}}]]| and }}}} | ||
+ | }}<!-- | ||
+ | additional notes -->{{#switch: {{{suffix|}}} | ||
+ | | none | ||
+ | | #default = <!-- display nothing --> | ||
+ | | trait | ||
+ | | description =  — {{#replace:{{{7|}}}|<br>| }} | ||
+ | | notes = {{#if: {{{14|}}}{{{15|}}}{{{16|}}}|{{#if:{{{9|}}}{{{10|}}}|,}}|{{#if:{{{9|}}}{{{10|}}}| —}}}} <!-- | ||
+ | stacks -->{{#if: {{{10|}}}|{{plural:{{{10|}}}|{{#switch: {{{fact|}}}| Might | Stability | Burning | Bleeding | Confusion | Poisoned | Torment | Vulnerability = {{{10|}}} stack}}|{{{10|}}} stacks}}}} <!-- | ||
+ | number -->{{#if: {{{ 9|}}}|{{#switch: {{{8|}}} | Buff | Time = for {{{9}}} {{plural:{{{9}}}|second|seconds}} | ||
| Percent = for {{{9}}}% | | Percent = for {{{9}}}% | ||
| Distance = for {{{9}}} range | | Distance = for {{{9}}} range | ||
| Combo Finisher = {{{9}}}% chance | | Combo Finisher = {{{9}}}% chance | ||
| #default = for {{{9}}} }} }} <!-- | | #default = for {{{9}}} }} }} <!-- | ||
− | + | game mode -->{{#replace:{{#switch: {{{13|}}}|Default=|#default=in {{{13|}}}}}|,| and }} | |
+ | }} | ||
+ | }}</includeonly><noinclude> | ||
Result format for {{tl|skill list}}. | Result format for {{tl|skill list}}. | ||
# Skill fact subobject <!-- 1 --> | # Skill fact subobject <!-- 1 --> |
Версия 01:51, 16 апреля 2020
Result format for {{skill list}}.
- Skill fact subobject
- Is for skill
- Is for skill.Has canonical name
- Is for skill.Has game icon
- Is for skill.Is for profession
- Is for skill.Is for specialization
- Is for skill.Has game description
- Has fact type
- Has fact number
- Has fact stacks
- Has fact coefficient
- Has fact strikes
- Is for game mode
- Is for skill.Is for attunement
- Weapon = Is for skill.Is for weapon; Bundle, Common = Is for skill.Is for bundle; Transform = Is for skill.Has parent skill; Profession mechanic, Healing, Utility, Elite = Is for skill.Has skill type; Pet = Is for skill.Is for pet family
- Profession mechanic = Is for skill.Is for weapon; Pet = Is for skill.Is for pet