Difference between revisions of "Template:AutoWeapon-Card"

From War Thunder Wiki
Jump to: navigation, search
(Template card creation WIP.)
 
m
Line 8: Line 8:
 
   <div class="ttx-table-line"><span class="ttx-value">{{{MG-calibre}}} mm</span><span class="ttx-name">{{Annotation|Calibre|The calibre of the weapon}}</span></div>
 
   <div class="ttx-table-line"><span class="ttx-value">{{{MG-calibre}}} mm</span><span class="ttx-name">{{Annotation|Calibre|The calibre of the weapon}}</span></div>
 
   <div class="ttx-table-line"><span class="ttx-value">{{{RoF}}} shots/min</span><span class="ttx-name">{{Annotation|Rate of fire|How many rounds a minute the weapon fires}}</span></div>
 
   <div class="ttx-table-line"><span class="ttx-value">{{{RoF}}} shots/min</span><span class="ttx-name">{{Annotation|Rate of fire|How many rounds a minute the weapon fires}}</span></div>
   <div class="ttx-table-line"><span class="ttx-value">{{(MG-velocity}}} m/s</span><span class="ttx-name">{{Annotation|Muzzle velocity|The muzzle velocity of the lowest and highest velocity round}}</span></div>
+
   <div class="ttx-table-line"><span class="ttx-value">{{{MG-velocity}}} m/s</span><span class="ttx-name">{{Annotation|Muzzle velocity|The muzzle velocity of the lowest and highest velocity round}}</span></div>
   <div class="ttx-table-line"><span class="ttx-value">{{{MG-penetration}}}</span><span class="ttx-name">{{Annotation|Maximum penetration|The highest armour penetration the gun is capable of, and which ammo type has that penetration (usually measured at 10m range and 0° angle of attack)}}</span></div>
+
   <div class="ttx-table-line"><span class="ttx-value">{{{MG-max-pen}}} mm ({{{MG-max-ammo}}})</span><span class="ttx-name">{{Annotation|Maximum penetration|The highest armour penetration the gun is capable of, and which ammo type has that penetration (usually measured at 10m range and 0° angle of attack)}}</span></div>
 
  </div>
 
  </div>
 
</div></includeonly><noinclude>
 
</div></includeonly><noinclude>

Revision as of 17:10, 13 February 2019

Icons Write.pngWriting in process...
This article is being edited by the member Inceptor57 (talk) 17:06, 13 February 2019 (UTC) (start date). Other participants are requested to not make any changes while this warning is here.

Description

This template is used to create simple spec cards for automatic weapons, weapons that can fire more than one round continuously until empty.

Using

{{AutoWeapon-Card
 |image =
 |title = 
 |MG-calibre =
 |Belt-capacity 
 |RoF = 
 |MG-velocity = 
 |MG-max-pen = 
}}

Options

  • image — adds image (remove if no image available)
  • title — title (default: no title)
  • MG-calibre — calibre of MG
  • Belt-capacity — Number of rounds fired before needing to reload (default: no value)
  • RoF — MG rate of fire
  • MG-velocity — range of velocities from different rounds in MG
  • MG-max-pen — maximum penetration achieved by MG

Example

{{AutoWeapon-Card
 |image = File:Pintle_Mounted_MG_34.jpg
 |title = MG 34 (7.92 mm)
 |MG-calibre = 7.92
 |Belt-capacity = 150
 |RoF = 900
 |MG-velocity = 905
 |MG-max-pen = 13
}}

Displayed as: