Difference between revisions of "User:DnaGonite/penetrationTableBody"

From War Thunder Wiki
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
|{{#vardefine:i|1}}{{#while:|{{{{{#var:i}}|}}}|{{#if:{{#var: {{{{{#var:i}}|}}} penetration}}|{{#replace: {{#var: {{{{{#var:i}}|}}} penetration}}|&|{{!}}{{!}}}}
+
{| class="wikitable {{#if:{{#explode:{{{1|}}}|,|1}}|sortable}}" style="text-align:center" width="100%"
 +
! colspan="8" | Penetration statistics
 +
|-
 +
! rowspan="2" data-sort-type="text" | Ammunition
 +
{{#if: {{{unnamed|}}}||! rowspan="2" {{!}} Type of<br>warhead}}
 +
! colspan="6" | Penetration @ 0° Angle of Attack (mm)
 +
|-
 +
{{#switch: {{{2|}}}|5000=! 100 m !! 1,000 m !! 2,000 m !! 3,000 m !! 4,000 m !! 5,000 m|15000=! 1,000 m !! 2,500 m !! 5,000 m !! 7,500 m !! 10,000 m !! 15,000 m|#default=! 10 m !! 100 m !! 500 m !! 1,000 m !! 1,500 m !! 2,000 m}}
 +
|-
 +
|{{#vardefine:i|0}}{{#while:|{{#explode:{{{1|}}}|,|{{#var:i}}}}|{{#if:{{#var: {{#explode:{{{1|}}}|,|{{#var:i}}}} penetration}}|{{#replace: {{#var: {{#explode:{{{1|}}}|,|{{#var:i}}}} penetration}}|&|{{!}}{{!}}}}
 
{{!}}-
 
{{!}}-
 
{{!}}}}
 
{{!}}}}
 
{{#vardefine:i|{{#expr:{{#var:i}}+1}}}}}}-
 
{{#vardefine:i|{{#expr:{{#var:i}}+1}}}}}}-
 
|}
 
|}

Latest revision as of 00:19, 16 January 2023

Penetration statistics
Ammunition Type of
warhead
Penetration @ 0° Angle of Attack (mm)
10 m 100 m 500 m 1,000 m 1,500 m 2,000 m