Template:Infobox aircraft: Difference between revisions

Adding section headers and updating ready icon usage
m (Move livery database link to the links section)
(Adding section headers and updating ready icon usage)
Line 77: Line 77:
{{!}} colspan="2" style="text-align: center;" {{!}} '''[{{{development}}} Development]'''  }}
{{!}} colspan="2" style="text-align: center;" {{!}} '''[{{{development}}} Development]'''  }}
|}{{#if: {{{status-fdm|}}} | [[Category:Aircraft status: {{#ifexpr: {{#expr: {{{status-fdm|}}}+{{{status-systems|}}}+{{{status-cockpit|}}}+{{{status-model|}}} }} > 17 | Advanced production | {{#ifexpr: {{#expr: {{{status-fdm|}}}+{{{status-systems|}}}+{{{status-cockpit|}}}+{{{status-model|}}} }} > 15 | Production | {{#ifexpr: {{#expr: {{{status-fdm|}}}+{{{status-systems|}}}+{{{status-cockpit|}}}+{{{status-model|}}} }} > 11 | Early production | {{#ifexpr: {{#expr: {{{status-fdm|}}}+{{{status-systems|}}}+{{{status-cockpit|}}}+{{{status-model|}}} }} > 8 | Beta | {{#ifexpr: {{#expr: {{{status-fdm|}}}+{{{status-systems|}}}+{{{status-cockpit|}}}+{{{status-model|}}} }} < 9 | Alpha | }} }} }} }} }}]] | }}
|}{{#if: {{{status-fdm|}}} | [[Category:Aircraft status: {{#ifexpr: {{#expr: {{{status-fdm|}}}+{{{status-systems|}}}+{{{status-cockpit|}}}+{{{status-model|}}} }} > 17 | Advanced production | {{#ifexpr: {{#expr: {{{status-fdm|}}}+{{{status-systems|}}}+{{{status-cockpit|}}}+{{{status-model|}}} }} > 15 | Production | {{#ifexpr: {{#expr: {{{status-fdm|}}}+{{{status-systems|}}}+{{{status-cockpit|}}}+{{{status-model|}}} }} > 11 | Early production | {{#ifexpr: {{#expr: {{{status-fdm|}}}+{{{status-systems|}}}+{{{status-cockpit|}}}+{{{status-model|}}} }} > 8 | Beta | {{#ifexpr: {{#expr: {{{status-fdm|}}}+{{{status-systems|}}}+{{{status-cockpit|}}}+{{{status-model|}}} }} < 9 | Alpha | }} }} }} }} }}]] | }}
{{#if: {{{image}}} | | [[Category:Image requested]]}}</includeonly><noinclude>{{Informative template|1=
{{#if: {{{image}}} | | [[Category:Image requested]]}}</includeonly><!--
 
--><noinclude>{{Informative template|1=
__NOTOC__
== Goal ==
== Goal ==
This infobox is used to summarize an aircraft's key points.
This infobox is used to summarize an aircraft's key points.
Line 101: Line 104:
}}
}}
</pre>
</pre>
=== Adding a second image ===
Optionally a second image can be added via:
Optionally a second image can be added via:
<pre>
<pre>
Line 106: Line 111:
|alt2 =
|alt2 =
</pre>
</pre>
=== Aircraft status ===
Instead of a custom "status" text, you can also use the available [[Formalizing Aircraft Status|official status system]]. The overall status is auto-calculated and will be displayed. Remove the <tt><nowiki>|status =</nowiki></tt> line if you use the official system and add the following lines, each with a rating on a scale of 0 to 5. See [[Formalizing Aircraft Status]] for instructions on how to rate your aircraft.
Instead of a custom "status" text, you can also use the available [[Formalizing Aircraft Status|official status system]]. The overall status is auto-calculated and will be displayed. Remove the <tt><nowiki>|status =</nowiki></tt> line if you use the official system and add the following lines, each with a rating on a scale of 0 to 5. See [[Formalizing Aircraft Status]] for instructions on how to rate your aircraft.
<pre>
<pre>
Line 113: Line 120:
|status-model =
|status-model =
</pre>
</pre>
Several icons are available to indicate certain capabilities of the aircraft. You can add up to five icons to one aircraft. Seperate them with slashes.
 
=== Ready icons ===
Several icons are available to indicate certain capabilities of the aircraft. You can add up to five icons to one aircraft. Separate them with slashes.
<pre>
<pre>
|ready = aerotow/aircraftmonth/airrefuel/bombable/spacetrip/thermal/dualcontrol
|ready = aerotow/aircraftmonth/airrefuel/bombable/spacetrip/thermal/dualcontrol
</pre>
</pre>
Using <tt>airrefuel</tt>, <tt>bombable</tt>, <tt>spacetrip</tt>, <tt>dualcontrol</tt> will add the page to the categories [[:Category:Air refueling ready|Air refueling ready]], [[:Category:Bombable aircraft|Bombable aircraft]], [[:Category:Aerospace|Aerospace]] and [[:Category:Dual control aircraft|Dual control aircraft]] respectively.
}}
}}