Difference between revisions of "Template:AutoWeapon-Card"
m |
m (attempt to add image) |
||
| Line 2: | Line 2: | ||
<includeonly><div class="ttx"> | <includeonly><div class="ttx"> | ||
<div class="ttx-title">{{{title}}}</div> | <div class="ttx-title">{{{title}}}</div> | ||
| − | <div class="ttx-image"> | + | <div class="ttx-image">{{#if: {{{image|}}} |[[{{image}}|thumb]]}}</div> |
<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> | ||
Revision as of 17:14, 13 February 2019
| Writing in process... This article is being edited by the member U28580205 (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:

