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

From AHWiki
Jump to: navigation, search
(→‎Infobox Aircraft)
(rollback mistaken edits, and highlight "do not edit" message)
Line 3: Line 3:
 
==Edit the aircraft page, not this template page==
 
==Edit the aircraft page, not this template page==
  
 +
<div style="background: #FFFFEA;padding: 1%;border: 1px solid #C7C7B7;margin: 0 0 1em;">
 
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.
 
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.
 +
</div>
  
 
==Usage==
 
==Usage==
Line 17: Line 19:
 
<pre style="overflow:auto">
 
<pre style="overflow:auto">
 
{{Infobox Aircraft
 
{{Infobox Aircraft
−
|BF 109K-4      =<!-- REQUIRED: name of the specific variant -->
+
|name        =<!-- REQUIRED: name of the specific variant -->
 
|image        =<!-- photo.... no "Image:", just the filename -->
 
|image        =<!-- photo.... no "Image:", just the filename -->
−
|Fighter        =<!-- REQUIRED: e.g. Bomber, Naval fighter/attacker, Transport -->
+
|type        =<!-- REQUIRED: e.g. Bomber, Naval fighter/attacker, Transport -->
 
|variantof    =<!-- optional link to parent article -->
 
|variantof    =<!-- optional link to parent article -->
−
|Kufurst     =<!-- optional nickname (use this if only one) -->
+
|nickname     =<!-- optional nickname (use this if only one) -->
 
|nicknames    =<!-- optional nicknames (use this if more than one) -->
 
|nicknames    =<!-- optional nicknames (use this if more than one) -->
−
|Germany    =<!-- REQUIRED: country of manufacture -->
+
|country      =<!-- REQUIRED: country of manufacture -->
 
|manufacturer =<!-- manufacturing company -->
 
|manufacturer =<!-- manufacturing company -->
−
|Single-Seat      =<!-- e.g. Single-seat, Seven crew -->
+
|crew        =<!-- e.g. Single-seat, Seven crew -->
 
|wingspan    =
 
|wingspan    =
 
|length      =
 
|length      =

Revision as of 11:33, 12 May 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
}}