Difference between revisions of "Template:AutoWeapon-Card"
(Changes) |
m |
||
| 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>{{#if: {{{Belt-capacity|}}} | |
| − | <div class="ttx-table-line"><span class="ttx-value"> | + | <div class="ttx-table-line"><span class="ttx-value">{{{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> | ||
Revision as of 07:22, 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:

