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

From AHWiki
Jump to: navigation, search
(→‎Infobox Aircraft)
(Undo revision 4632 by Pervert (Talk))
Line 19: Line 19:
 
<pre style="overflow:auto">
 
<pre style="overflow:auto">
 
{{Infobox Aircraft
 
{{Infobox Aircraft
−
|name        =BF109 K4
+
|name        =<!-- REQUIRED: name of the specific variant -->
−
|image        =
+
|image        =<!-- photo.... no "Image:", just the filename -->
−
|type        =Fighter/attacker
+
|type        =<!-- REQUIRED: e.g. Bomber, Naval fighter/attacker, Transport -->
−
|variantof    =BF109[http://bbs.hitechcreations.com/wiki/index.php/Bf_109]
+
|variantof    =<!-- optional link to parent article -->
−
|nickname    =Kurfürst
+
|nickname    =<!-- optional nickname (use this if only one) -->
−
|nicknames    =
+
|nicknames    =<!-- optional nicknames (use this if more than one) -->
−
|country      =Germany
+
|country      =<!-- REQUIRED: country of manufacture -->
−
|manufacturer =Messerschmitt AG
+
|manufacturer =<!-- manufacturing company -->
−
|crew        =Single-seat
+
|crew        =<!-- e.g. Single-seat, Seven crew -->
 
|wingspan    =
 
|wingspan    =
 
|length      =
 
|length      =

Revision as of 15:30, 28 November 2008

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

To add infobox data to an aircraft 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 aircraft page.

Usage

Infobox Aircraft

{{Infobox Aircraft}}

This infobox shows summary information for World War II aircraft.

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

{{Infobox Aircraft
|name         =<!-- REQUIRED: name of the specific variant -->
|image        =<!-- photo.... no "Image:", just the filename -->
|type         =<!-- REQUIRED: e.g. Bomber, Naval fighter/attacker, Transport -->
|variantof    =<!-- optional link to parent article -->
|nickname     =<!-- optional nickname (use this if only one) -->
|nicknames    =<!-- optional nicknames (use this if more than one) -->
|country      =<!-- REQUIRED: country of manufacture -->
|manufacturer =<!-- manufacturing company -->
|crew         =<!-- e.g. Single-seat, Seven crew -->
|wingspan     =
|length       =
|height       =
|internalfuel =
}}

Example

{{Infobox Aircraft
|name         =P38-L
|image        =P38l.jpg
|type         =Fighter/attacker
|variantof    =[[P-38 Lightning]]
|country      =USA
|manufacturer =Lockheed
|crew         =Single-seat
|wingspan     =52'
|length       =37'10"
|height       =9'10"
|internalfuel =410 gallons
}}