Версия 16:21, 24 июня 2020 | | Версия 15:29, 25 июня 2020 |
Строка 9: | | Строка 9: |
| #vardefine: maxpenetration | 85 }}{{ | | | #vardefine: maxpenetration | 85 }}{{ |
| #vardefine: maxreloadtime | 7.6 }}{{ | | | #vardefine: maxreloadtime | 7.6 }}{{ |
? | #vardefine: maxammunition | 200 }} | | + | #vardefine: minammunition | 24 }}{{ |
| | + | #vardefine: maxammunition | 250 }} |
| | | | |
| <div class="wot-frame-1" style="margin-bottom: 10px"> | | | <div class="wot-frame-1" style="margin-bottom: 10px"> |
Строка 37: | | Строка 38: |
| | | | |
| <!-- Боезапас --> | | | <!-- Боезапас --> |
? | <div title="Боезапас в топе {{CaliberWeapons|{{{weapons}}}|ammunition|top}} ед." style="margin-top: 2px; background-color:#d703d5; height:10px; width:{{ #expr: {{#var:maxwidth}} * {{CaliberWeapons|{{{weapons}}}|ammunition|top}} / {{#var:maxammunition}} round 0}}px"></div> | | + | <div title="Боезапас в топе {{CaliberWeapons|{{{weapons}}}|ammunition|top}} ед." style="margin-top: 2px; background-color:#d703d5; height:10px; width:{{ #expr: {{#var:minammunition}} * {{CaliberWeapons|{{{weapons}}}|ammunition|top}} / {{#var:maxammunition}} round 0}}px"></div> |
? | <div title="Боезапас в стоке {{CaliberWeapons|{{{weapons}}}|ammunition|stock}} ед." style="background-color:#c401c0; height:10px; width:{{ #expr: {{#var:maxwidth}} * {{CaliberWeapons|{{{weapons}}}|ammunition|stock}} / {{#var:maxammunition}} round 0}}px"></div> | | + | <div title="Боезапас в стоке {{CaliberWeapons|{{{weapons}}}|ammunition|stock}} ед." style="background-color:#c401c0; height:10px; width:{{ #expr: {{#var:minammunition}} * {{CaliberWeapons|{{{weapons}}}|ammunition|stock}} / {{#var:maxammunition}} round 0}}px"></div> |
| | | | |
| |}</div></includeonly> | | | |}</div></includeonly> |