Difference between revisions of "Template:Specs-Weapon-Code"

From War Thunder Wiki
Jump to: navigation, search
(Created page with "{{#switch: {{#unit: {{#var:me}} | тип }} |1={{Specs-Card-Aviation}} |2={{#vardefine: i | 1 }}<!-- -->{{#while: |{{#if: {{#unit: {{#var: me }} | орудие | {{#var: i }...")
 
Line 4: Line 4:
 
-->{{#while:
 
-->{{#while:
 
   |{{#if: {{#unit: {{#var: me }} | орудие | {{#var: i }} | код }} | true }}
 
   |{{#if: {{#unit: {{#var: me }} | орудие | {{#var: i }} | код }} | true }}
   |{{#unit: {{#var: me }} | орудие | {{#var: i }} | код }}<br>
+
   |{{#unit: {{#var: me }} | орудие | {{#var: i }} | код }}{{#vardefine: i | {{#expr: {{#var: i }} + 1 }}}}<br>
 
}}
 
}}
 
|3={{Specs-Card-Fleet}}
 
|3={{Specs-Card-Fleet}}
 
|4={{Specs-Card-Helicopter}}
 
|4={{Specs-Card-Helicopter}}
 
}}
 
}}

Revision as of 15:25, 8 February 2021