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

From AHWiki
Jump to: navigation, search
(Template:Infobox Aircraft/doc moved to Template:Infobox AH Aircraft/doc: to match changed name of template)
 
(replace redirect with actual doc for Infobox Aircraft)
Line 1: Line 1:
−
#REDIRECT [[Template:Infobox AH Aircraft/doc]]
+
{{Documentation subpage}}
 +
 
 +
==Usage==
 +
 
 +
=== Infobox Aircraft === <!-- PLEASE DON'T CHANGE THE LEVEL OF THIS HEADING, AS IT IS NECESSARY FOR PROPER TRANSCLUSION. -->
 +
<code>{{tl|Infobox Aircraft}}</code>
 +
 
 +
This infobox shows summary information for World War II aircraft.
 +
 
 +
Only the '''name''', '''type''' and '''country''' fields are required; all others are optional.
 +
 
 +
<!-- Abstract usage of the template -->
 +
<pre style="overflow:auto">
 +
{{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 =
 +
}}
 +
</pre>
 +
 
 +
== Example ==
 +
 
 +
<pre style="overflow:auto; font-size:85%;">
 +
{{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
 +
}}</pre><includeonly>
 +
 
 +
{{#ifeq:{{{noheader|}}}|yes||
 +
{{esoteric}}
 +
</includeonly>

Revision as of 08:52, 29 April 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.

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