Difference between revisions of "Template:AutoWeapon-Card/Documentation"

From War Thunder Wiki
Jump to: navigation, search
m (U28580205 moved page Template:MG-Card/Documentation to Template:AutoWeapon-Card/Documentation: Renamed template pending possible wider usage)
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{docpage}} __NOTOC__
 
{{docpage}} __NOTOC__
 
== Description ==
 
== Description ==
This template is used to create simple spec cards for machine guns.
+
This template is used to create simple spec cards for automatic weapons, weapons that can fire more than one round continuously until empty.
  
 
== Using ==
 
== Using ==
<pre>{{MG-Card
+
<pre>{{AutoWeapon-Card
 
  |image =
 
  |image =
 
  |title =  
 
  |title =  
  |MG-type =  
+
  |MG-calibre =
  |MG-calibre =
+
  |Belt-capacity
 
  |RoF =  
 
  |RoF =  
 
  |MG-velocity =  
 
  |MG-velocity =  
 
  |MG-max-pen =  
 
  |MG-max-pen =  
|MG-max-ammo =
 
 
}}</pre>
 
}}</pre>
  
Line 18: Line 17:
 
* '''image''' — adds image (remove if no image available)
 
* '''image''' — adds image (remove if no image available)
 
* '''title''' — title (default: no title)
 
* '''title''' — title (default: no title)
* '''MG-type''' — type of MG (Medium, Heavy, etc.)
 
 
* '''MG-calibre''' — calibre of MG
 
* '''MG-calibre''' — calibre of MG
 +
* '''Belt-capacity''' — Number of rounds fired before needing to reload (default: no value)
 
* '''RoF''' — MG rate of fire
 
* '''RoF''' — MG rate of fire
 
* '''MG-velocity''' — range of velocities from different rounds in MG
 
* '''MG-velocity''' — range of velocities from different rounds in MG
 
* '''MG-max-pen''' — maximum penetration achieved by MG
 
* '''MG-max-pen''' — maximum penetration achieved by MG
* '''MG-max-ammo''' — type of MG ammo that achieves maximum penetration
 
  
 
== Example ==
 
== Example ==
  <nowiki>{{MG-Card
+
  <nowiki>{{AutoWeapon-Card
 
  |image = File:Pintle_Mounted_MG_34.jpg
 
  |image = File:Pintle_Mounted_MG_34.jpg
 
  |title = MG 34 (7.92 mm)
 
  |title = MG 34 (7.92 mm)
|MG-type = General-Purpose MG
 
 
  |MG-calibre = 7.92
 
  |MG-calibre = 7.92
 +
|Belt-capacity = 150
 
  |RoF = 900
 
  |RoF = 900
 
  |MG-velocity = 905
 
  |MG-velocity = 905
 
  |MG-max-pen = 13
 
  |MG-max-pen = 13
|MG-max-ammo = AP
 
 
}}
 
}}
 
</nowiki>
 
</nowiki>
 
Displayed as:
 
Displayed as:
{{MG-Card
+
{{AutoWeapon-Card
 
  |image = File:Pintle_Mounted_MG_34.jpg
 
  |image = File:Pintle_Mounted_MG_34.jpg
 
  |title = MG 34 (7.92 mm)
 
  |title = MG 34 (7.92 mm)
|MG-type = General-Purpose MG
 
 
  |MG-calibre = 7.92
 
  |MG-calibre = 7.92
 +
|Belt-capacity = 150
 
  |RoF = 900
 
  |RoF = 900
 
  |MG-velocity = 905
 
  |MG-velocity = 905
 
  |MG-max-pen = 13
 
  |MG-max-pen = 13
|MG-max-ammo = AP
 
 
}}
 
}}

Latest revision as of 07:20, 15 February 2019

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: