Шаблон:Weapon skill table row format — различия между версиями

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
 
(не показана 1 промежуточная версия этого же участника)
Строка 8: Строка 8:
 
   | {{#vardefine:last_profession|{{#var:this_profession}}}}{{#vardefine:last_specialization|{{#var:this_specialization}}}}{{#vardefine:last_weapon|<!-- new profession section, reset weapon -->}}
 
   | {{#vardefine:last_profession|{{#var:this_profession}}}}{{#vardefine:last_specialization|{{#var:this_specialization}}}}{{#vardefine:last_weapon|<!-- new profession section, reset weapon -->}}
 
{{!}}- class="{{lc:{{{5|}}}}}"  
 
{{!}}- class="{{lc:{{{5|}}}}}"  
! colspan="7" {{!}} {{#tag: {{#var:profession heading|h4}}|{{#ifeq: {{#var:this_specialization}}|| {{ {{#var:this_profession}} }} [[{{#var:this_profession}}]] | {{ {{#var:this_specialization}} }} [[{{#var:this_specialization}}]] }} }}
+
! colspan="7" {{!}} {{#tag: {{#var:profession heading|h4}}|{{#ifeq: {{#var:this_specialization}}|| {{ {{#var:this_profession}} }} [[{{#var:this_profession}}|{{rus lang|profession|{{#var:this_profession}}}}]] | {{ {{#var:this_specialization}} }} [[{{#var:this_specialization}}|{{rus lang|specialization|{{#var:this_specialization}}}}]] }} }}
 
{{!}}-
 
{{!}}-
 
   }}
 
   }}
Строка 50: Строка 50:
 
  | stealth | stealth attack = [[File:Chain Arrow Toolbelt.png|25px|link=Stealth Attack|Атака невидимки]]
 
  | stealth | stealth attack = [[File:Chain Arrow Toolbelt.png|25px|link=Stealth Attack|Атака невидимки]]
 
  | ambush = [[File:Chain Arrow Toolbelt.png|25px|link=Ambush|Засада]]
 
  | ambush = [[File:Chain Arrow Toolbelt.png|25px|link=Ambush|Засада]]
  | unleashed ambush = [[File:Chain Arrow Toolbelt.png|25px|link=Unleashed Ambush|Засада Освобожденного]]
+
  | unleashed ambush = [[File:Chain Arrow Toolbelt.png|25px|link=Unleashed Ambush|Засада освобожденного]]
 +
| other = [[File:Chain Arrow Toolbelt.png|25px|link=]]
 
  | #default = {{#if: {{#var:last_weapon}}{{#var:last_weapon_slot}}<!-- checking if empty due to #var caching bug -->
 
  | #default = {{#if: {{#var:last_weapon}}{{#var:last_weapon_slot}}<!-- checking if empty due to #var caching bug -->
 
               | <!-- automatic  -->{{#ifeq: {{#var:this_weapon}}{{#var:this_weapon_slot}}|{{#var:last_weapon}}{{#var:last_weapon_slot}}|{{#ifexpr: {{#if:{{{10|}}}|{{{10|}}}|1}} > 1|[[File:Redirect Arrow.png|25px|link=|Цепочка]]}}}}
 
               | <!-- automatic  -->{{#ifeq: {{#var:this_weapon}}{{#var:this_weapon_slot}}|{{#var:last_weapon}}{{#var:last_weapon_slot}}|{{#ifexpr: {{#if:{{{10|}}}|{{{10|}}}|1}} > 1|[[File:Redirect Arrow.png|25px|link=|Цепочка]]}}}}

Текущая версия на 21:28, 7 мая 2024

Called as a semantic result template by Template:Weapon skill table row and Template:Weapon skill table.

Input parameter list[править]

  1. Skill
  2. Has canonical name
  3. Has game icon
  4. Has game description
  5. Is for profession
  6. Is for specialization
  7. Has skill context
  8. Has skill type
  9. Has skill slot number
  10. Has chain sequence position
  11. Has activation time
  12. Has recharge time
  13. Has initiative cost
  14. Has energy cost
  15. Is for weapon
  16. Is for bundle
  17. Has parent skill
  18. Has profession mechanic slot number
  19. Requires offhand
  20. Is for attunement
  21. Is usable underwater
  22. Has ammunition number
  23. Has page cost
  24. Is ground targeted