Difference between revisions of "Template:Test"

From War Thunder Wiki
Jump to: navigation, search
m
m
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" {{!}}}}
| {{{{{AoAweight|}}} =  Weight (tons)
+
{{#if:{{{AoAweightFull|}}}|colspan="2" {{!}}|rowspan="2" {{!}}}} Weight (tons)
| {{{{{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}}||,}}}}}

Revision as of 19:02, 13 April 2021