Difference between revisions of "Template:Aircontent"

From blackwiki
Jump to navigation Jump to search
blackwiki>The Bushranger
(change header)
blackwiki>Thumperward
(fix the whitespace issues here properly)
Line 1: Line 1:
{{#if:{{{see also<includeonly>|</includeonly>}}}
+
{{#if:{{{see also|}}}|{{{see also}}} }}<nowiki />
|{{{see also}}}<br/>
+
{{#if:{{{related|}}}|;Related development
|<p style="display: none;"></p>
+
{{{related}}} }}<nowiki />
}}
+
{{#if:{{{similar aircraft|}}}|;Aircraft of comparable role, configuration and era
{{#if:{{{related<includeonly>|</includeonly>}}}
+
{{{similar aircraft}}} }}<nowiki />
|;Related development
+
{{#if:{{{similar engines|}}}|;Comparable engines
{{{related}}}<br>
+
{{{similar engines}}} }}<nowiki />
|<p style="display: none;"></p>
+
{{#if:{{{lists|}}}|;Related lists
}}
+
{{{lists}}} }}<nowiki /><noinclude>{{documentation}}</noinclude>
{{#if:{{{similar aircraft<includeonly>|</includeonly>}}}
 
|;Aircraft of comparable role, configuration and era
 
{{{similar aircraft}}}<br/>
 
|<p style="display: none;"></p>
 
}}
 
{{#if:{{{similar engines<includeonly>|</includeonly>}}}
 
|;Comparable engines
 
{{{similar engines}}}<br/>
 
|<p style="display: none;"></p>
 
}}
 
{{#if:{{{lists<includeonly>|</includeonly>}}}
 
|;Related lists
 
{{{lists}}}<br/>
 
|<p style="display: none;"></p>
 
}}<noinclude>
 
{{documentation}}
 
</noinclude>
 

Revision as of 19:16, 3 September 2012

Template documentation[view] [edit] [history] [purge]

Usage

==See also==
{{aircontent
<!-- other related articles that have not already linked and do not fit the specific entries below: -->
|see also=

<!-- "Related development", developed into or from this design: -->
|related=

<!-- "Aircraft of comparable role, configuration and era" as this design: -->
|similar aircraft=

<!-- "Comparable engines", similar to this design: -->
|similar engines=

<!-- "Related lists", relevant lists where this design appears -->
|lists=

<!-- See [[WP:Air/PC]] for more explanation of these fields. -->
}}

make sure to include ==See also==, as this allows editors to directly edit the parameters.-eric 00:47, 29 July 2005 (UTC)

Leave the <!-- --> sections to avoid interpretation conflicts thereafter.--Marc Lacoste (talk) 07:25, 28 June 2017 (UTC)

Example

Example usage for the MiG-29 article:

==See also==
{{aircontent
|see also=
<!-- first, the related articles that do not fit the specific entries: -->
* [[Fourth generation jet fighter]]
<!-- designs which were developed into or from this aircraft: -->
|related=
* [[Mikoyan MiG-29M]]
* [[Mikoyan MiG-35]]
<!-- aircraft that are of similar role, era, and capability as this design: -->
|similar aircraft=
* [[F/A-18 Hornet]]
* [[F-16 Fighting Falcon]]
* [[Dassault Mirage 2000]]
<!-- relevant lists that this aircraft appears in: -->
|lists=
* [[List of military aircraft of the Soviet Union and the CIS]]
* [[List of fighter aircraft]]
<!-- See [[WP:Air/PC]] for more explanation of these fields. -->
}}

This is rendered as:

See also

Related development
Aircraft of comparable role, configuration and era

Related lists