Difference between revisions of "Template:Specs-Card-Helicopter"
(One intermediate revision by the same user not shown) | |||
Line 24: | Line 24: | ||
}} | }} | ||
}}<!-- | }}<!-- | ||
+ | -->{{#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> |