Template:AmmoDetailsTable

From War Thunder Wiki
Revision as of 14:03, 16 January 2023 by DnaGonite (talk | contribs) (Created)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

This template inserts a standardised ammunition details table using values defined on the ammunition table page.

Parameters

  • 1 - Comma-delimited list of shells to display. This should be set as "{{{1|}}}" when passing through the list of shells on an ammunition table page.
  • (optional) 2 - Override the table header text (to add custom text before "details").
  • (optional) unnamed - Set as "true" to remove the "Type of warhead" column.
  • (optional) missile - Set as "true" to add columns for the missile format (can be used together with proxy=true).
  • (optional) proxy - Set as "true" to add columns for the proximity-fused shell format (can be used together with missile=true).
  • (optional) TNTe - Change the units of the "Explosive mass (TNT equivalent)" column (i.e. TNTe=kg). Default is g.
  • (optional) fuseDelay - Change (or remove if left blank) the units of the "Fuse delay" column (i.e. fuseDelay=s or fuseDelay=). Default is m.

Examples of use

Missile details
Ammunition Type of
warhead
Velocity
(m/s)
Range
(m)
Projectile
mass (kg)
Fuse delay
(m)
Fuse sensitivity
(mm)
Arming
distance (m)
Trigger
radius (m)
Explosive mass
(TNT equivalent) (kg)
Ricochet
0% 50% 100%
MIM146 ATGM 1,027 10,000 51 0 0.1 300 6 7.86 79° 80° 81°
MIM147 ATGM 1,028 10,001 52 1 0.2 301 7 7.87 79° 80° 81°
{{#vardefine: MIM146 details | MIM146 & ATGM & 1,027 & 10,000 & 51 & 0 & 0.1 & 300 & 6 & 7.86 & 79° & 80° & 81°}}<!--
-->{{#vardefine: MIM147 details | MIM147 & ATGM & 1,028 & 10,001 & 52 & 1 & 0.2 & 301 & 7 & 7.87 & 79° & 80° & 81°}}<!--
-->{{AmmoDetailsTable|MIM146, MIM147|Missile|missile=true|proxy=true|TNTe=kg}}