Template:Infobox Gun/doc

From AHWiki
Jump to: navigation, search
This is a documentation subpage for Template:Infobox Gun (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Edit the weapon page, not this template page[edit]

To add infobox data to a weapon page, do not edit this page. Open this page in another window/tab and use the information to help you edit the infobox on the weapon page.

Usage[edit]

Infobox Gun[edit]

{{Infobox Gun}}

This infobox shows summary information guns.

Only the name, type and country fields are required; all others are optional.

{{Infobox Gun
|name         =<!-- REQUIRED: name of the weapon -->
|image        =<!-- photo.... no "Image:", just the filename -->
|type         =<!-- REQUIRED: e.g. Light Machine Gun, Heavy Machine Gun, Autocannon -->
|cartridge    =<!-- optional link to parent article -->
|country      =<!-- REQUIRED: country of manufacture -->
|manufacturer =<!-- manufacturing company -->
|weight       =
|length       =
|barrellength =
|rateoffire   =
|muzzlevelocity   =
|damagevalue  =
}}

Example[edit]

{{Infobox Gun
|name         =MG 131
|image        =gun.jpg
|type         =Heavy Machine Gun
|cartridge    =13x64mmB
|country      =Germany
|manufacturer =Rheinmetall-Borsig
|weight       =40lb
|length       =46"
|barrellength =36"
|rateoffire   =900 rpm
|muzzlevelocity   =2460 fps
}}