Difference between revisions of "Template:Test"

From War Thunder Wiki
Jump to: navigation, search
m
 
(4 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
! rowspan="2" | Game Mode
 
! rowspan="2" | Game Mode
 
! colspan="2" | Max Speed (km/h)
 
! colspan="2" | Max Speed (km/h)
{{#switch: 1
+
! {{#if:{{{AoAweight|}}}|colspan="2" {{!}}|rowspan="2" {{!}}}}
| {{#expr: {{{AoAweight|}}} =  Weight (tons)
+
{{#if:{{{AoAweightFull|}}}|colspan="2" {{!}}|rowspan="2" {{!}}}} Weight (tons)
| {{#expr: {{{AoAweightFull|}}} =  Weight (tons)
 
| #default =  colspan="2" rowspan="2" | Weight (tons)
 
}}
 
 
! colspan="2" | Engine power (horsepower)
 
! colspan="2" | Engine power (horsepower)
 
! colspan="2" | Power-to-weight ratio (hp/ton)
 
! colspan="2" | Power-to-weight ratio (hp/ton)
Line 14: Line 11:
 
! Reverse
 
! Reverse
 
{{#if:{{{AoAweight|}}}|! Stock
 
{{#if:{{{AoAweight|}}}|! Stock
 +
! {{Annotation|AoA|Add-on Armour}}}}
 +
{{#if:{{{AoAweightFull|}}}|! Stock
 
! {{Annotation|AoA|Add-on Armour}}}}
 
! {{Annotation|AoA|Add-on Armour}}}}
 
! Stock
 
! Stock
Line 25: Line 24:
 
| rowspan="2" |{{#expr: {{#var:emptyweight}} round 1}}
 
| rowspan="2" |{{#expr: {{#var:emptyweight}} round 1}}
 
{{#if:{{{AoAweight|}}}|{{!}} rowspan="2" {{!}} {{{AoAweight|}}}}}
 
{{#if:{{{AoAweight|}}}|{{!}} rowspan="2" {{!}} {{{AoAweight|}}}}}
 +
{{#if:{{{AoAweightFull|}}}|{{!}} rowspan="2" {{!}} {{{AoAweightFull|}}}}}
 
| {{{abMinHp|_,___}}}
 
| {{{abMinHp|_,___}}}
 
| {{{abMaxHp|{{#replace:{{Specs|engine|мощность|ab}}||,}}}}}
 
| {{{abMaxHp|{{#replace:{{Specs|engine|мощность|ab}}||,}}}}}
Line 39: Line 39:
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
 
{{doc}}
 
{{doc}}
[[Category:Templates]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 11:16, 27 June 2023