Difference between revisions of "Template:Aircontent"

From blackwiki
Jump to navigation Jump to search
blackwiki>Rlandmann
(Yes, but placing "See also" at top breaks other formatting... we're weeding out the problematic nested templates)
m (127 revisions imported)
 
(25 intermediate revisions by 15 users not shown)
Line 1: Line 1:
<noinclude>{{esoteric}}</noinclude>
+
{{#if:{{{see also|}}}|{{{see also}}} }}<nowiki />
{{#if:{{{see also|}}}
+
{{#if:{{{related|}}}|'''Related development'''
|{{{see also}}}<br><br>
+
{{{related}}} }}<nowiki />
|<p style="display: none;"></p>
+
{{#if:{{{similar aircraft|}}}|'''Aircraft of comparable role, configuration, and era'''
}}
+
{{{similar aircraft}}} }}<nowiki />
{{#if:{{{related|}}}
+
{{#if:{{{similar engines|}}}|'''Comparable engines'''
|<big>'''Related development'''</big><br>
+
{{{similar engines}}} }}<nowiki />
{{{related}}}<br><br>
+
{{#if:{{{lists|}}}|'''Related lists'''
|<p style="display: none;"></p>
+
{{{lists}}} }}<nowiki /><noinclude>{{documentation}}</noinclude>
}}
 
{{#if:{{{similar aircraft|}}}
 
|<big>'''Comparable aircraft'''</big><br>
 
{{{similar aircraft}}}<br><br>
 
|<p style="display: none;"></p>
 
}}
 
{{#if:{{{lists|}}}
 
|<big>'''Related lists'''</big><br>
 
{{{lists}}}<br><br>
 
|<p style="display: none;"></p>
 
}}
 
<noinclude>[[Category:Aviation navigational boxes|{{PAGENAME}}]][[Category:Templates using ParserFunctions|{{PAGENAME}}]]</noinclude>
 

Latest revision as of 13:33, 18 October 2020

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