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

From AHWiki
Jump to: navigation, search
Line 39: Line 39:
 
|barrellength =44.9"
 
|barrellength =44.9"
 
|rateoffire  =900 rpm
 
|rateoffire  =900 rpm
 +
|muzzlevelocity  =900 rpm
 
}}</pre><includeonly>
 
}}</pre><includeonly>
  

Revision as of 22:26, 6 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    =13 x 64B
|country      =Germany
|manufacturer =Rheinmetall-Borsig
|weight       =40lb
|length       =46"
|barrellength =44.9"
|rateoffire   =900 rpm
|muzzlevelocity   =900 rpm
}}