Difference between revisions of "Template:AutoWeapon-Card"
Inceptor57 (talk | contribs) m (U28580205 moved page Template:MG-Card to Template:AutoWeapon-Card: Renamed template pending possible wider usage) |
Inceptor57 (talk | contribs) (Changes) |
||
Line 4: | Line 4: | ||
<div class="ttx-table"> | <div class="ttx-table"> | ||
<div class="ttx-table-line ttx-table-head">General characteristics</div> | <div class="ttx-table-line ttx-table-head">General characteristics</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">{{{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">{{#if: {{{Belt-capacity|}}} |{{{Belt-capacity}}}}} rounds</span><span class="ttx-name">{{Annotation|Belt capacity|The amount of rounds held in the magazine/belt before reloading}}</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-max-pen}}} mm | + | <div class="ttx-table-line"><span class="ttx-value">{{{MG-max-pen}}} mm </span><span class="ttx-name">{{Annotation|Maximum penetration|The highest armour penetration the gun is capable of (measured at 10 m range and 0° angle of attack)}}</span></div> |
</div> | </div> | ||
</div></includeonly><noinclude> | </div></includeonly><noinclude> |
Revision as of 07:16, 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: