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

From AHWiki
Jump to: navigation, search
(→‎Example: updated example)
(→‎Infobox Ordnance)
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
 
<code>{{tl|Infobox Ordnance}}</code>
 
<code>{{tl|Infobox Ordnance}}</code>
  
−
This infobox shows summary information guns.
+
This infobox shows summary information of ordnance.
  
 
Only the '''name''', '''type''' and '''country''' fields are required; all others are optional.
 
Only the '''name''', '''type''' and '''country''' fields are required; all others are optional.
Line 17: Line 17:
 
<!-- Abstract usage of the template -->
 
<!-- Abstract usage of the template -->
 
<pre style="overflow:auto">
 
<pre style="overflow:auto">
−
{{Infobox Gun
+
{{Infobox Ordnance
 
|name        =<!-- REQUIRED: designation of weapon -->
 
|name        =<!-- REQUIRED: designation of weapon -->
 
|image        =<!-- photo.... no "Image:", just the filename -->
 
|image        =<!-- photo.... no "Image:", just the filename -->
 
|type        =<!-- REQUIRED: e.g. Aerial bomb, rocket, torpedo -->
 
|type        =<!-- REQUIRED: e.g. Aerial bomb, rocket, torpedo -->
−
|fuzetype    =<!-- e.g. Timed, Proximity, Quick -->
+
|fuzetype    =<!-- e.g. Timed, Proximity, Impact -->
 
|country      =<!-- REQUIRED: country of manufacture -->
 
|country      =<!-- REQUIRED: country of manufacture -->
 
|weight      =<!--if not indicated in type-->
 
|weight      =<!--if not indicated in type-->

Latest revision as of 03:51, 9 December 2008

This is a documentation subpage for Template:Infobox Ordnance (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 ordnance page, not this template page

To add infobox data to a ordnance 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 Ordnance

{{Infobox Ordnance}}

This infobox shows summary information of ordnance.

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

{{Infobox Ordnance
|name         =<!-- REQUIRED: designation of weapon -->
|image        =<!-- photo.... no "Image:", just the filename -->
|type         =<!-- REQUIRED: e.g. Aerial bomb, rocket, torpedo -->
|fuzetype     =<!-- e.g. Timed, Proximity, Impact -->
|country      =<!-- REQUIRED: country of manufacture -->
|weight       =<!--if not indicated in type-->
|chargeweight =<!--e.g. 157 lb TNT-->
|length       =
|diameter     =
|minsafealt   =
|damagevalue  =
|target1      =
|target2      =
|target3      =
|target4      =
|target5      =
}}

Example

{{Infobox Ordnance
|name         =AN-M64
|image        =500lbbomb.jpg
|type         =500lb GP Bomb
|fuzetype     =Quick 
|country      =USA
|weight       =
|chargeweight =276lbs TNT or Amatol
|length       =57"
|diameter     =14"
|minsafealt   =2500 ft
|damagevalue  =
|target1      =Steel Railway bridges
|target2      =Subways
|target3      =Concrete docks
|target4      =Light cruisers
|target5      =
}}