Difference between revisions of "User:DnaGonite/templateTest"

From War Thunder Wiki
Jump to: navigation, search
(Undo revision 142715 by U38088265 (talk))
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#vardefine:isTurn|{{#if:{{{TurnTimeStockAB|}}}{{{TurnSpeedStockAB|}}}{{{TurnTimeSpadedAB|}}}{{{TurnSpeedSpadedAB|}}}{{{TurnTimeStockRB|}}}{{{TurnSpeedStockRB|}}}{{{TurnTimeSpadedRB|}}}{{{TurnSpeedSpadedRB|}}}|1|}}}}{{#vardefine:isStockAB|{{#ifeq:{{{SpeedForwardStockAB|}}}{{{SpeedBackStockAB|}}}|{{{SpeedForwardStockAB}}}{{{SpeedBackStockAB}}}|1|}}}}{{#vardefine:isStockRB|{{#ifeq:{{{SpeedForwardStockRB|}}}{{{SpeedBackStockRB|}}}|{{{SpeedForwardStockRB}}}{{{SpeedBackStockRB}}}|1|}}}}{{#vardefine:isStockIntroAB|{{#ifexpr:0{{#var:isStockAB}}=1 or (0{{#var:isStockAB}}!=1 and {{{TurnTimeStockAB|0}}}!=0)|1|}}}}{{#vardefine:isStockIntroRB|{{#ifexpr:0{{#var:isStockRB}}=1 or (0{{#var:isStockRB}}!=1 and {{{TurnTimeStockRB|0}}}!=0)|1|}}}}<!--
+
{{#vardefine:isTurn|{{#if:{{{TurnTimeStockAB|}}}{{{TurnSpeedStockAB|}}}{{{TurnTimeSpadedAB|}}}{{{TurnSpeedSpadedAB|}}}{{{TurnTimeStockRB|}}}{{{TurnSpeedStockRB|}}}{{{TurnTimeSpadedRB|}}}{{{TurnSpeedSpadedRB|}}}|1|}}}}{{#vardefine:isStockAB|{{#if:{{{SpeedForwardStockAB|}}}{{{SpeedBackStockAB|}}}|1|}}}}{{#vardefine:isStockRB|{{#if:{{{SpeedForwardStockRB|}}}{{{SpeedBackStockRB|}}}|1|}}}}{{#vardefine:isStockIntroAB|{{#ifexpr:0{{#var:isStockAB}}=1 or (0{{#var:isStockAB}}!=1 and 0{{{TurnTimeStockAB|0}}}!=0)|1|}}}}{{#vardefine:isStockIntroRB|{{#ifexpr:0{{#var:isStockRB}}=1 or (0{{#var:isStockRB}}!=1 and 0{{{TurnTimeStockRB|0}}}!=0)|1|}}}}<!--
 
--> {| class="wikitable" style="text-align:center"
 
--> {| class="wikitable" style="text-align:center"
 
! colspan="{{#if:{{#var:isTurn}}|6|4}}" | '''Mobility Characteristics'''
 
! colspan="{{#if:{{#var:isTurn}}|6|4}}" | '''Mobility Characteristics'''
Line 14: Line 14:
 
| rowspan="2" | {{Annotation|AB|Arcade Battles}}
 
| rowspan="2" | {{Annotation|AB|Arcade Battles}}
 
| {{#if:{{#var:isStockIntroAB}}||style="display:none;"}}| {{Annotation|Stock|All modifications removed}}
 
| {{#if:{{#var:isStockIntroAB}}||style="display:none;"}}| {{Annotation|Stock|All modifications removed}}
| {{#if:{{#var:isStockIntroAB}}||style="display:none;"}}| {{{SpeedForwardStockAB|___}}}
+
| {{#if:{{#var:isStockIntroAB}}||style="display:none;"}}| {{#if:{{{SpeedForwardStockAB|}}}|{{Annotation|{{{SpeedForwardStockAB}}}|{{#expr:{{{SpeedForwardStockAB}}} * 0.54}} kn}}|___}}
| {{#if:{{#var:isStockIntroAB}}||style="display:none;"}}| {{{SpeedBackStockAB|___}}}
+
| {{#if:{{#var:isStockIntroAB}}||style="display:none;"}}| {{#if:{{{SpeedBackStockAB|}}}|{{Annotation|{{{SpeedBackStockAB}}}|{{#expr:{{{SpeedBackStockAB}}} * 0.54}} kn}}|___}}
| {{#ifexpr: 0{{#var:isStockAB}}=1 and 0{{#var:isTurn}}=1 or ((0{{#var:isStockAB}}=1 and 0{{#var:isTurn}}=1)=0 and {{{TurnTimeStockAB|0}}}!=0)||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#if:{{{TurnTimeStockAB|}}}| ~{{#expr:{{{TurnTimeStockAB}}} round 2}}|___}}|}}
+
| {{#ifexpr: 0{{#var:isStockAB}}=1 and 0{{#var:isTurn}}=1 or ((0{{#var:isStockAB}}=1 and 0{{#var:isTurn}}=1)=0 and 0{{{TurnTimeStockAB|0}}}!=0)||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#if:{{{TurnTimeStockAB|}}}| ~{{#expr:{{{TurnTimeStockAB}}} round 2}}|___}}|}}
| {{#ifexpr: 0{{#var:isStockAB}}=1 and 0{{#var:isTurn}}=1 or ((0{{#var:isStockAB}}=1 and 0{{#var:isTurn}}=1)=0 and {{{TurnTimeStockAB|0}}}!=0)||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#ifeq:{{{TurnSpeedStockAB|}}}{{{TurnTimeStockAB|}}}|{{{TurnSpeedStockAB}}}{{{TurnTimeStockAB}}}| ~{{#expr:({{{TurnSpeedStockAB}}} * 1000 / 3600) * {{{TurnTimeStockAB}}} / (2 * pi) round 2}}|___}}|}}
+
| {{#ifexpr: 0{{#var:isStockAB}}=1 and 0{{#var:isTurn}}=1 or ((0{{#var:isStockAB}}=1 and 0{{#var:isTurn}}=1)=0 and 0{{{TurnTimeStockAB|0}}}!=0)||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#ifexpr:0{{{TurnSpeedStockAB|}}} and 0{{{TurnTimeStockAB|}}}| ~{{#expr:({{{TurnSpeedStockAB}}} * 1000 / 3600) * {{{TurnTimeStockAB}}} / (2 * pi) round 2}}|___}}|}}
 
|-
 
|-
| {{Annotation|Upgraded|All modifications installed}} || {{{SpeedForwardSpadedAB|{{Specs|speed|forward|ab}}}}} || {{{SpeedBackSpadedAB|{{Specs|speed|back|ab}}}}}
+
| {{Annotation|Upgraded|All modifications installed}} || {{Annotation|{{{SpeedForwardSpadedAB|{{Specs|speed|forward|ab}}}}}|{{#expr:{{{SpeedForwardSpadedAB|{{Specs|speed|forward|ab}}}}} * 0.54}} kn}} || {{Annotation|{{{SpeedBackSpadedAB|{{Specs|speed|back|ab}}}}}|{{#expr:{{{SpeedBackSpadedAB|{{Specs|speed|back|ab}}}}} * 0.54}} kn}}
 
| {{#if:{{#var:isTurn}}||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#if:{{{TurnTimeSpadedAB|}}}| ~{{#expr:{{{TurnTimeSpadedAB}}} round 2}}|___}}|}}
 
| {{#if:{{#var:isTurn}}||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#if:{{{TurnTimeSpadedAB|}}}| ~{{#expr:{{{TurnTimeSpadedAB}}} round 2}}|___}}|}}
| {{#if:{{#var:isTurn}}||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#ifeq:{{{TurnSpeedSpadedAB|}}}{{{TurnTimeSpadedAB|}}}|{{{TurnSpeedSpadedAB}}}{{{TurnTimeSpadedAB}}}| ~{{#expr:({{{TurnSpeedSpadedAB}}} * 1000 / 3600) * {{{TurnTimeSpadedAB}}} / (2 * pi) round 2}}|___}}|}}
+
| {{#if:{{#var:isTurn}}||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#ifexpr:0{{{TurnSpeedSpadedAB|}}} and 0{{{TurnTimeSpadedAB|}}}| ~{{#expr:({{{TurnSpeedSpadedAB}}} * 1000 / 3600) * {{{TurnTimeSpadedAB}}} / (2 * pi) round 2}}|___}}|}}
 
|-
 
|-
 
| rowspan="2" | {{Annotation|RB|Realistic Battles}}/{{Annotation|SB|Simulator Battles}}
 
| rowspan="2" | {{Annotation|RB|Realistic Battles}}/{{Annotation|SB|Simulator Battles}}
 
| {{#if:{{#var:isStockIntroRB}}||style="display:none;"}}| {{Annotation|Stock|All modifications removed}}
 
| {{#if:{{#var:isStockIntroRB}}||style="display:none;"}}| {{Annotation|Stock|All modifications removed}}
| {{#if:{{#var:isStockIntroRB}}||style="display:none;"}}| {{{SpeedForwardStockRB|___}}}
+
| {{#if:{{#var:isStockIntroRB}}||style="display:none;"}}| {{#if:{{{SpeedForwardStockRB|}}}|{{Annotation|{{{SpeedForwardStockRB}}}|{{#expr:{{{SpeedForwardStockRB}}} * 0.54}} kn}}|___}}
| {{#if:{{#var:isStockIntroRB}}||style="display:none;"}}| {{{SpeedBackStockRB|___}}}
+
| {{#if:{{#var:isStockIntroRB}}||style="display:none;"}}| {{#if:{{{SpeedBackStockRB|}}}|{{Annotation|{{{SpeedBackStockRB}}}|{{#expr:{{{SpeedBackStockRB}}} * 0.54}} kn}}|___}}
| {{#ifexpr: 0{{#var:isStockRB}}=1 and 0{{#var:isTurn}}=1 or ((0{{#var:isStockRB}}=1 and 0{{#var:isTurn}}=1)=0 and {{{TurnTimeStockRB|0}}}!=0)||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#if:{{{TurnTimeStockRB|}}}| ~{{#expr:{{{TurnTimeStockRB}}} round 2}}|___}}|}}
+
| {{#ifexpr: 0{{#var:isStockRB}}=1 and 0{{#var:isTurn}}=1 or ((0{{#var:isStockRB}}=1 and 0{{#var:isTurn}}=1)=0 and 0{{{TurnTimeStockRB|0}}}!=0)||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#if:{{{TurnTimeStockRB|}}}| ~{{#expr:{{{TurnTimeStockRB}}} round 2}}|___}}|}}
| {{#ifexpr: 0{{#var:isStockRB}}=1 and 0{{#var:isTurn}}=1 or ((0{{#var:isStockRB}}=1 and 0{{#var:isTurn}}=1)=0 and {{{TurnTimeStockRB|0}}}!=0)||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#ifeq:{{{TurnSpeedStockRB|}}}{{{TurnTimeStockRB|}}}|{{{TurnSpeedStockRB}}}{{{TurnTimeStockRB}}}| ~{{#expr:({{{TurnSpeedStockRB}}} * 1000 / 3600) * {{{TurnTimeStockRB}}} / (2 * pi) round 2}}|___}}|}}
+
| {{#ifexpr: 0{{#var:isStockRB}}=1 and 0{{#var:isTurn}}=1 or ((0{{#var:isStockRB}}=1 and 0{{#var:isTurn}}=1)=0 and 0{{{TurnTimeStockRB|0}}}!=0)||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#ifexpr:0{{{TurnSpeedStockRB|}}} and 0{{{TurnTimeStockRB|}}}| ~{{#expr:({{{TurnSpeedStockRB}}} * 1000 / 3600) * {{{TurnTimeStockRB}}} / (2 * pi) round 2}}|___}}|}}
 
|-
 
|-
| {{Annotation|Upgraded|All modifications installed}} || {{{SpeedForwardSpadedRB|{{Specs|speed|forward|rb}}}}} || {{{SpeedBackSpadedRB|{{Specs|speed|back|rb}}}}}
+
| {{Annotation|Upgraded|All modifications installed}} || {{Annotation|{{{SpeedForwardSpadedRB|{{Specs|speed|forward|rb}}}}}|{{#expr:{{{SpeedForwardSpadedRB|{{Specs|speed|forward|rb}}}}} * 0.54}} kn}} || {{Annotation|{{{SpeedBackSpadedRB|{{Specs|speed|back|rb}}}}}|{{#expr:{{{SpeedBackSpadedRB|{{Specs|speed|back|rb}}}}} * 0.54}} kn}}
 
| {{#if:{{#var:isTurn}}||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#if:{{{TurnTimeSpadedRB|}}}| ~{{#expr:{{{TurnTimeSpadedRB}}} round 2}}|___}}|}}
 
| {{#if:{{#var:isTurn}}||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#if:{{{TurnTimeSpadedRB|}}}| ~{{#expr:{{{TurnTimeSpadedRB}}} round 2}}|___}}|}}
| {{#if:{{#var:isTurn}}||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#ifeq:{{{TurnSpeedSpadedRB|}}}{{{TurnTimeSpadedRB|}}}|{{{TurnSpeedSpadedRB}}}{{{TurnTimeSpadedRB}}}| ~{{#expr:({{{TurnSpeedSpadedRB}}} * 1000 / 3600) * {{{TurnTimeSpadedRB}}} / (2 * pi) round 2}}|___}}|}}
+
| {{#if:{{#var:isTurn}}||style="display:none;"}}| {{#if:{{#var:isTurn}}|{{#ifexpr:0{{{TurnSpeedSpadedRB|}}} and 0{{{TurnTimeSpadedRB|}}}| ~{{#expr:({{{TurnSpeedSpadedRB}}} * 1000 / 3600) * {{{TurnTimeSpadedRB}}} / (2 * pi) round 2}}|___}}|}}
 
|-
 
|-
|}</includeonly><noinclude>
+
|}
{{doc}}
 
[[Category:Templates]]
 
</noinclude>
 

Latest revision as of 18:42, 23 October 2022

Mobility Characteristics
Game Mode Upgrade Status Maximum Speed (km/h) Turn Time (s) Turn Radius (m)
Forward Reverse
AB Stock ___ ___
Upgraded <span title="Expression error: Unexpected * operator. kn" style="border-bottom: 1px dotted; cursor: help; white-space: nowrap"></span> <span title="Expression error: Unexpected * operator. kn" style="border-bottom: 1px dotted; cursor: help; white-space: nowrap"></span>
RB/SB Stock ___ ___
Upgraded <span title="Expression error: Unexpected * operator. kn" style="border-bottom: 1px dotted; cursor: help; white-space: nowrap"></span> <span title="Expression error: Unexpected * operator. kn" style="border-bottom: 1px dotted; cursor: help; white-space: nowrap"></span>