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

From AHWiki
Jump to: navigation, search
(Undo revision 4876 by Murdr (Talk) Oops, saved wrong window.)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
 +
==Edit the weapon page, not this template page==
 +
<div style="background: #FFFFEA;padding: 1%;border: 1px solid #C7C7B7;margin: 0 0 1em;">
 +
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.
 +
</div>
  
 
==Usage==
 
==Usage==
Line 14: Line 19:
 
{{Infobox Gun
 
{{Infobox Gun
 
|name        =<!-- REQUIRED: name of the weapon -->
 
|name        =<!-- REQUIRED: name of the weapon -->
 +
|image        =<!-- photo.... no "Image:", just the filename -->
 
|type        =<!-- REQUIRED: e.g. Light Machine Gun, Heavy Machine Gun, Autocannon -->
 
|type        =<!-- REQUIRED: e.g. Light Machine Gun, Heavy Machine Gun, Autocannon -->
 
|cartridge    =<!-- optional link to parent article -->
 
|cartridge    =<!-- optional link to parent article -->
Line 23: Line 29:
 
|rateoffire  =
 
|rateoffire  =
 
|muzzlevelocity  =
 
|muzzlevelocity  =
 +
|damagevalue  =
 
}}
 
}}
 
</pre>
 
</pre>
Line 31: Line 38:
 
{{Infobox Gun
 
{{Infobox Gun
 
|name        =MG 131
 
|name        =MG 131
 +
|image        =gun.jpg
 
|type        =Heavy Machine Gun
 
|type        =Heavy Machine Gun
 
|cartridge    =13x64mmB
 
|cartridge    =13x64mmB
Line 37: Line 45:
 
|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>
  

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