Шаблон:Skill list by property result format — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
Строка 2: | Строка 2: | ||
-->{{#ifeq: {{#var:last_profession}}|{{{4|}}}||{{#vardefine:last_profession|{{{4|}}}}}<!-- | -->{{#ifeq: {{#var:last_profession}}|{{{4|}}}||{{#vardefine:last_profession|{{{4|}}}}}<!-- | ||
-->{{#vardefine: p-{{{context|}}}-{{#var:slbp cnt}}| {{#var: p-{{{context|}}}-{{#var:slbp cnt}}}} f-{{{4|}}} }} }}<!-- | -->{{#vardefine: p-{{{context|}}}-{{#var:slbp cnt}}| {{#var: p-{{{context|}}}-{{#var:slbp cnt}}}} f-{{{4|}}} }} }}<!-- | ||
− | -->{{#if: {{{5|}}}|{{ {{{5|}}} }}|{{#if: {{{4|}}}|{{ {{{4|}}} }}}}}}  {{borderless|{{#sub:{{{3}}}|5}}|25|{{{2|{{{1}}}}}}|link={{{1}}}}} [[{{{1}}}|{{{2|{{{1}}}}}}]]<!-- | + | -->{{#if: {{{5|}}}|{{ {{{5|}}} }}|{{#if: {{{4|}}}|{{ {{{4|}}} }}}}}}  {{borderless|{{#sub:{{{3}}}|5}}|25|{{{2|{{{1}}}}}}|link={{{1}}}}} [[{{{1}}}|{{{2|{{{1}}}}}}]] {{#ifeq: {{{8|}}}|Underwater only|[[File:Underwater.png|x20px|link=Underwater mode]]}}<!-- |
-->{{#switch: {{{suffix|}}} | -->{{#switch: {{{suffix|}}} | ||
| none = | | none = | ||
| description ={{#if: {{{6|}}}| — {{#replace:{{{6|}}}|<br>| }}}} | | description ={{#if: {{{6|}}}| — {{#replace:{{{6|}}}|<br>| }}}} | ||
− | | trait ={{#if: {{{ | + | | trait ={{#if: {{{9|}}}| ([[{{{9|}}}|{{rus lang|weapon|{{#explode:{{{9|}}}|(}}}}]])}}{{#if: {{{6|}}}| — {{#replace:{{{6|}}}|<br>| }}}} |
− | | #default ={{#if: {{{7|}}}{{{ | + | | #default ={{#if: {{{7|}}}{{{9|}}}{{{10|}}}| — }}<!-- |
− | mechanic weapon/pet -->{{#if: {{{ | + | mechanic weapon/pet -->{{#if: {{{10|}}}|{{#arraymap: {{{10|}}}|,|@@@|[[@@@]]|, }}{{#if: {{{9|}}}|, |{{#if: {{{7|}}}|, }}}}}}<!-- |
− | weapon/bundle/type -->{{#if: {{{ | + | weapon/bundle/type -->{{#if: {{{9|}}}|{{#arraymap: {{{9|}}}|,|@@@|[[@@@|{{rus lang|weapon|@@@}}]]|, }}{{#if: {{{7|}}}|, }}}}<!-- |
attunement -->{{#if: {{{7|}}}|при [[attunement|настройке]] на {{#arraymap: {{{7|}}}|,|@@@|[[@@@|{{#switch:{{lc:{{#replace:@@@|Attunement}}}}|fire=огонь|water=воду|air=воздух|earth=землю}}]]| и }}}}}}</li></includeonly><noinclude> | attunement -->{{#if: {{{7|}}}|при [[attunement|настройке]] на {{#arraymap: {{{7|}}}|,|@@@|[[@@@|{{#switch:{{lc:{{#replace:@@@|Attunement}}}}|fire=огонь|water=воду|air=воздух|earth=землю}}]]| и }}}}}}</li></includeonly><noinclude> | ||
Result format for {{tl|skill list by property}}. | Result format for {{tl|skill list by property}}. | ||
Строка 19: | Строка 19: | ||
# Has game description <!-- 6 --> | # Has game description <!-- 6 --> | ||
# Is for attunement <!-- 7 --> | # Is for attunement <!-- 7 --> | ||
− | # Weapon = Is for weapon; Bundle, Common = Is for bundle; Transform = Has parent skill; Profession mechanic, Healing, Utility, Elite = Has skill type; Pet = Is for pet family; Trait = Has trait parent<!-- | + | # Is usable underwater <!-- 8 --> |
− | # Profession mechanic = Is for weapon; Pet = Is for pet <!-- | + | # Weapon = Is for weapon; Bundle, Common = Is for bundle; Transform = Has parent skill; Profession mechanic, Healing, Utility, Elite = Has skill type; Pet = Is for pet family; Trait = Has trait parent<!-- 9 --> |
+ | # Profession mechanic = Is for weapon; Pet = Is for pet <!-- 10 --> | ||
[[Category:Semantic result templates]] | [[Category:Semantic result templates]] | ||
</noinclude> | </noinclude> |
Версия 15:05, 21 сентября 2022
Result format for {{skill list by property}}.
- Skill
- Has canonical name
- Has game icon
- Is for profession
- Is for specialization
- Has game description
- Is for attunement
- Is usable underwater
- Weapon = Is for weapon; Bundle, Common = Is for bundle; Transform = Has parent skill; Profession mechanic, Healing, Utility, Elite = Has skill type; Pet = Is for pet family; Trait = Has trait parent
- Profession mechanic = Is for weapon; Pet = Is for pet