Difference between revisions of "Template:Specs-Heli-Suspended"

From War Thunder Wiki
Jump to: navigation, search
(Created page with "<includeonly>{{#ifeq: {{#unit: {{#var: me }} | тип }} | 4 |{{#if: {{#unit: {{#var: me }} | подвесное | количество }} |<div class="specs_info"> <div class...")
 
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
|{{#if: {{#unit: {{#var: me }} | подвесное | количество }}
 
|{{#if: {{#unit: {{#var: me }} | подвесное | количество }}
 
|<div class="specs_info">
 
|<div class="specs_info">
<div class="specs_char">
 
<div class="specs_char_block">
 
<div class="specs_char_line head"><span class="name">Number of setups</span><span class="value">{{#unit: {{#var: me }} | подвесное | количество }}</span></div>
 
</div>
 
</div>
 
 
<div class="specs_slider">
 
<div class="specs_slider">
<div class="specs_slider_title">List of setups</div>
+
<div class="specs_slider_title">List of setups ({{#unit: {{#var: me }} | подвесное | количество }})</div>
 
<div class="specs_slider_container avia_suspended">
 
<div class="specs_slider_container avia_suspended">
 
<div class="specs_char">
 
<div class="specs_char">
Line 14: Line 9:
 
|{{#if: {{#unit: {{#var: me }} | подвесное | {{#var: i }} | количество }} | true }}
 
|{{#if: {{#unit: {{#var: me }} | подвесное | {{#var: i }} | количество }} | true }}
 
|<div class="specs_char_block">
 
|<div class="specs_char_block">
<div class="specs_char_line head"><span class="name">Setup {{#var: i }}</span><span class="value"><!--
+
<div class="specs_char_line head"><span class="name">Setup {{#var: i }}</span><!--
-->{{#unit: {{#var: me }} | подвесное | {{#var: i }} | 1 | количество }} x {{#unit: {{#var: me }} | подвесное | {{#var: i }} | 1 | название }}<!--
+
--><span class="value">{{#unit: {{#var: me }} | подвесное | {{#var: i }} | вывод }}</span><!--
-->{{#if: {{#unit: {{#var: me }} | подвесное | {{#var: i }} | 1 | боезапас }} |<br><span style="font-size:14px;">(ammunition: {{#unit: {{#var: me }} | подвесное | {{#var: i }} | 1 | боезапас | format=1 }} rounds)</span> }}<!--
+
--></div></div>{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }}
--></span></div>{{#vardefine:j|2}}{{#while:
 
|{{#if: {{#unit: {{#var: me }} | подвесное | {{#var: i }} | {{#var: j }} | code }} | true }}
 
|<div class="specs_char_line indent"><span class="name"></span><span class="value">{{#unit: {{#var: me }} | подвесное | {{#var: i }} | {{#var: j }} | количество }} x {{#unit: {{#var: me }} | подвесное | {{#var: i }} | {{#var: j }} | название }}<!--
 
-->{{#if: {{#unit: {{#var: me }} | подвесное | {{#var: i }} | {{#var: j }} | боезапас }} |<br><span style="font-size:14px;">(ammunition: {{#unit: {{#var: me }} | подвесное | {{#var: i }} | {{#var: j }} | боезапас | format=1 }} rounds)</span> }}</span></div>
 
{{#vardefine: j | {{#expr: {{#var: j }} + 1 }} }}
 
}}<!--
 
--></div>{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }}
 
 
}}
 
}}
 
</div>
 
</div>

Latest revision as of 11:38, 23 December 2021