Difference between revisions of "Template:TankMobility"

From War Thunder Wiki
Jump to: navigation, search
m (fixed)
(Switched to Specs calls, translated parameters (except мощность (horsepower)), separated for readability, changed AoA default to "__" (N/A implies no AoA instead of unfilled). I believe {{Specs|mass}} includes AoA weight so that may need to change)
Line 5: Line 5:
 
! colspan="2" | Power-to-weight ratio (hp/ton)
 
! colspan="2" | Power-to-weight ratio (hp/ton)
 
|-
 
|-
! Max Speed
+
! {{Annotation|Max Speed|Maximum forward speed (km/h)}}
! {{Annotation|Weight|Vehicle Weight (Tons)}}
+
! {{Annotation|Weight|Vehicle Weight (tons)}}
! {{Annotation|AoA Weight|Add on Armour Weight (Tons)}}
+
! {{Annotation|AoA Weight|Add-on Armour Weight (tons)}}
 
! Stock
 
! Stock
 
! Upgraded
 
! Upgraded
Line 14: Line 14:
 
|-
 
|-
 
! Arcade
 
! Arcade
| {{{abSpeed|{{#unit: {{#var: me }} | скорость | вперед | аб }}}}} || rowspan="2" | {{{weight|{{#unit: {{#var: me }} | вес }}}}} || rowspan="2" | {{{AoAweight|N/A}}} || {{{abMinHp|}}}|| {{{abMaxHp|{{#replace:{{#unit: {{#var: me }} | двигатель | мощность | аб }}}}}}}|| {{#if:{{{abMinHp|}}}|{{#expr:{{{abMinHp|}}}/{{{weight|{{#unit: {{#var: me }} | вес }}}}} round 2}}|__.__}} || {{#if:{{{abMaxHp|{{#unit: {{#var: me }} | двигатель | мощность | аб }}}}}|{{#expr:{{#replace:{{{abMaxHp|{{#unit: {{#var: me }} | двигатель | мощность | аб }}}}}}}/{{#replace:{{{weight|{{#unit: {{#var: me }} | вес }}}}}}} round 2}}|__.__}}
+
| {{{abSpeed|{{Specs|speed|forward|ab}}}}}
 +
| rowspan="2" | {{{weight|{{Specs|mass}}}}}
 +
| rowspan="2" | {{{AoAweight|__}}}
 +
| {{{abMinHp|_,___}}}
 +
| {{{abMaxHp|{{#replace:{{Specs|engine|мощность|ab}}||,}}}}}
 +
| {{#if:{{{abMinHp|}}}|{{#expr:{{#replace:{{{abMinHp}}}|,}}/{{{weight|{{Specs|mass}}}}} round 2}}|__.__}}
 +
| {{#if:{{{abMaxHp|{{Specs|engine|мощность|ab}}}}}|{{#expr:{{#replace:{{{abMaxHp|{{Specs|engine|мощность|ab}}}}}}}/{{#replace:{{{weight|{{Specs|mass}}}}}}} round 2}}|__.__}}
 
|-
 
|-
 
! {{Annotation|Realistic|Simulator uses Realistic FMs}}
 
! {{Annotation|Realistic|Simulator uses Realistic FMs}}
| {{{rbSpeed|{{#unit: {{#var: me }} | скорость | вперед }}}}} || {{{rbMinHp|}}}|| {{{rbMaxHp|{{#replace:{{#unit: {{#var: me }} | двигатель | мощность | рб }}}}}}}|| {{#if:{{{rbMinHp|}}}|{{#expr:{{{rbMinHp|}}}/{{{weight|{{#unit: {{#var: me }} | вес }}}}} round 2}}|__.__}} || {{#if:{{{rbMaxHp|{{#unit: {{#var: me }} | двигатель | мощность | рб }}}}}|{{#expr:{{#replace:{{{rbMaxHp|{{#unit: {{#var: me }} | двигатель | мощность | рб }}}}}}}/{{#replace:{{{weight|{{#unit: {{#var: me }} | вес }}}}}}} round 2}}|__.__}}
+
| {{{rbSpeed|{{Specs|speed|forward}}}}}
 +
| {{{rbMinHp|_,___}}}
 +
| {{{rbMaxHp|{{#replace:{{Specs|engine|мощность|rb}}||,}}}}}
 +
| {{#if:{{{rbMinHp|}}}|{{#expr:{{#replace:{{{rbMinHp}}}|,}}/{{{weight|{{Specs|mass}}}}} round 2}}|__.__}}
 +
| {{#if:{{{rbMaxHp|{{Specs|engine|мощность|rb}}}}}|{{#expr:{{#replace:{{{rbMaxHp|{{Specs|engine|мощность|rb}}}}}}}/{{#replace:{{{weight|{{Specs|mass}}}}}}} round 2}}|__.__}}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
 
Generates power to weight ratio
 
Generates power to weight ratio
 
<nowiki>{{tankMobility|<!--weight= -->|<!--AoAweight= -->|<!--abSpeed= -->|abMinHp= |<!--abMaxHp= -->|<!--rbSpeed= -->|rbMinHp= |<!--rbMaxHp=--> }}</nowiki>
 
<nowiki>{{tankMobility|<!--weight= -->|<!--AoAweight= -->|<!--abSpeed= -->|abMinHp= |<!--abMaxHp= -->|<!--rbSpeed= -->|rbMinHp= |<!--rbMaxHp=--> }}</nowiki>
 
</noinclude>
 
</noinclude>

Revision as of 19:05, 7 February 2020

Generates power to weight ratio {{tankMobility|<!--weight= -->|<!--AoAweight= -->|<!--abSpeed= -->|abMinHp= |<!--abMaxHp= -->|<!--rbSpeed= -->|rbMinHp= |<!--rbMaxHp=--> }}