Difference between revisions of "Template:Specs-Card-Helicopter"
Line 22: | Line 22: | ||
--><div class="ttx-table-line ttx-table-collapse"><span class="ttx-value">{{#unit: {{#var: me }} | курсовое | {{#var: i }} | скорострельность }} shots/min</span><span class="ttx-name-indent">Fire rate</span></div><!-- | --><div class="ttx-table-line ttx-table-collapse"><span class="ttx-value">{{#unit: {{#var: me }} | курсовое | {{#var: i }} | скорострельность }} shots/min</span><span class="ttx-name-indent">Fire rate</span></div><!-- | ||
-->{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }} | -->{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }} | ||
+ | }} | ||
}}<!-- | }}<!-- | ||
+ | -->{{#if: {{#unit: {{#var: me }} | подвесное | количество }} | ||
+ | |<div class="ttx-table-line ttx-table-head">Suspended armament</div><!-- | ||
+ | -->{{#vardefine: j | 1 }}<!-- | ||
+ | -->{{#while: | ||
+ | |{{#if: {{#unit: {{#var: me }} | подвесное | {{#var: j }} | количество }} | true }} | ||
+ | |<div class="ttx-table-line"><span class="ttx-value">{{#unit: {{#var: me }} | подвесное | {{#var: j }} | 1 | количество }} x {{#unit: {{#var: me }} | подвесное | {{#var: j }} | 1 | название }}<!-- | ||
+ | -->{{#vardefine: i | 2 }}<!-- | ||
+ | -->{{#while: | ||
+ | |{{#if: {{#unit: {{#var: me }} | подвесное | {{#var: j }} | {{#var: i }} }} | true }} | ||
+ | |<br>{{#unit: {{#var: me }} | подвесное | {{#var: j }} | {{#var: i }} | количество }} x {{#unit: {{#var: me }} | подвесное | {{#var: j }} | {{#var: i }} | название }}<!-- | ||
+ | -->{{#vardefine: i | {{#expr: {{#var: i }} + 1 }}}}<!-- | ||
+ | -->}}</span><span class="ttx-name">Setup {{#var: j }}</span></div><!-- | ||
+ | -->{{#vardefine: j | {{#expr: {{#var: j }} + 1 }}}}<!-- | ||
+ | -->}}<!-- | ||
-->}}</includeonly><noinclude> | -->}}</includeonly><noinclude> | ||
{{doc}} | {{doc}} | ||
[[Category:Specs]] | [[Category:Specs]] | ||
</noinclude> | </noinclude> |