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

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
(Отмена правки 88012, сделанной Blood (обсуждение))
 
(не показано 6 промежуточных версий этого же участника)
Строка 1: Строка 1:
<includeonly>* {{#if: {{{5|}}}|{{ {{{5|}}} }}|{{#if: {{{4|}}}|{{ {{{4|}}} }}}}}} &thinsp;{{borderless|{{#sub:{{{3}}}|5}}|25|{{{2|{{{1}}}}}}|link={{{1}}}}} [[{{{1}}}|{{{2|{{{1}}}}}}]]<!--
+
<includeonly><li class="filter-list f-noheading {{#if: {{{4|}}} | f-{{{4|}}} }} f-{{{context|}}}"><!--
 +
-->{{#ifeq: {{#var:last_profession}}|{{{4|}}}||{{#vardefine:last_profession|{{{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}}}}}}]]<!--
 
-->{{#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|}}}|,|@@@|[[@@@|{{rus lang|weapon|@@@}}]]|,&#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|{{rus lang|skill type|@@@}}}}]]|,&#32;}}{{#if: {{{7|}}}|,&#32;}}}}<!--
   attunement          -->{{#if: {{{7|}}}|при [[attunement|настройке]] на {{#arraymap: {{{7|}}}|,|@@@|[[@@@|{{#switch:{{lc:{{#replace:@@@|Attunement}}}}|fire=огонь|water=воду|air=воздух|earth=землю}}]]|&#32;и&#32;}}}}}}</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}}.
 
# Skill                  <!-- 1 -->
 
# Skill                  <!-- 1 -->
Строка 16: Строка 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>

Текущая версия на 16:35, 13 марта 2023

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