Шаблон:Skill list by property result format — различия между версиями

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
Строка 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|}}} }}}}}} &thinsp;{{borderless|{{#sub:{{{3}}}|5}}|25|{{{2|{{{1}}}}}}|link={{{1}}}}} [[{{{1}}}|{{{2|{{{1}}}}}}]]<!--
+
-->{{#if: {{{5|}}}|{{ {{{5|}}} }}|{{#if: {{{4|}}}|{{ {{{4|}}} }}}}}} &thinsp;{{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|}}}|&#32;&mdash; {{#replace:{{{6|}}}|<br>|&#32;}}}}
 
  | description ={{#if: {{{6|}}}|&#32;&mdash; {{#replace:{{{6|}}}|<br>|&#32;}}}}
  | trait ={{#if: {{{8|}}}|&#32;([[{{{8|}}}|{{rus lang|weapon|{{#explode:{{{8|}}}|(}}}}]])}}{{#if: {{{6|}}}|&#32;&mdash; {{#replace:{{{6|}}}|<br>|&#32;}}}}
+
  | trait ={{#if: {{{9|}}}|&#32;([[{{{9|}}}|{{rus lang|weapon|{{#explode:{{{9|}}}|(}}}}]])}}{{#if: {{{6|}}}|&#32;&mdash; {{#replace:{{{6|}}}|<br>|&#32;}}}}
  | #default ={{#if: {{{7|}}}{{{8|}}}{{{9|}}}|&#32;&mdash;&#32;}}<!--
+
  | #default ={{#if: {{{7|}}}{{{9|}}}{{{10|}}}|&#32;&mdash;&#32;}}<!--
   mechanic weapon/pet -->{{#if: {{{9|}}}|{{#arraymap: {{{9|}}}|,|@@@|[[@@@]]|,&#32;}}{{#if: {{{8|}}}|,&#32;|{{#if: {{{7|}}}|,&#32;}}}}}}<!--
+
   mechanic weapon/pet -->{{#if: {{{10|}}}|{{#arraymap: {{{10|}}}|,|@@@|[[@@@]]|,&#32;}}{{#if: {{{9|}}}|,&#32;|{{#if: {{{7|}}}|,&#32;}}}}}}<!--
   weapon/bundle/type  -->{{#if: {{{8|}}}|{{#arraymap: {{{8|}}}|,|@@@|[[@@@|{{rus lang|weapon|@@@}}]]|,&#32;}}{{#if: {{{7|}}}|,&#32;}}}}<!--
+
   weapon/bundle/type  -->{{#if: {{{9|}}}|{{#arraymap: {{{9|}}}|,|@@@|[[@@@|{{rus lang|weapon|@@@}}]]|,&#32;}}{{#if: {{{7|}}}|,&#32;}}}}<!--
 
   attunement          -->{{#if: {{{7|}}}|при [[attunement|настройке]] на {{#arraymap: {{{7|}}}|,|@@@|[[@@@|{{#switch:{{lc:{{#replace:@@@|Attunement}}}}|fire=огонь|water=воду|air=воздух|earth=землю}}]]|&#32;и&#32;}}}}}}</li></includeonly><noinclude>
 
   attunement          -->{{#if: {{{7|}}}|при [[attunement|настройке]] на {{#arraymap: {{{7|}}}|,|@@@|[[@@@|{{#switch:{{lc:{{#replace:@@@|Attunement}}}}|fire=огонь|water=воду|air=воздух|earth=землю}}]]|&#32;и&#32;}}}}}}</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<!-- 8 -->
+
# Is usable underwater  <!-- 8 -->
# Profession mechanic = Is for weapon; Pet = Is for pet <!-- 9 -->
+
# 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}}.

  1. Skill
  2. Has canonical name
  3. Has game icon
  4. Is for profession
  5. Is for specialization
  6. Has game description
  7. Is for attunement
  8. Is usable underwater
  9. 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
  10. Profession mechanic = Is for weapon; Pet = Is for pet