Difference between revisions of "Template:Infobox Gun/doc"

From AHWiki
Jump to: navigation, search
(highlight "do not edit" box)
(Undo revision 4876 by Murdr (Talk) Oops, saved wrong window.)
 
(2 intermediate revisions by the same user not shown)
Line 29: Line 29:
 
|rateoffire  =
 
|rateoffire  =
 
|muzzlevelocity  =
 
|muzzlevelocity  =
 +
|damagevalue  =
 
}}
 
}}
 
</pre>
 
</pre>

Latest revision as of 14:48, 8 December 2008

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

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

Infobox Gun

{{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

{{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
}}