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

From AHWiki
Jump to: navigation, search
Line 37: Line 37:
 
|weight      =40lb
 
|weight      =40lb
 
|length      =46"
 
|length      =46"
−
|barrellength =44.9"
+
|barrellength =36"
 
|rateoffire  =900 rpm
 
|rateoffire  =900 rpm
−
|muzzlevelocity  =900 fps
+
|muzzlevelocity  =2460 fps
 
}}</pre><includeonly>
 
}}</pre><includeonly>
  

Revision as of 10:43, 7 May 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.

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

Example

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