Template:Infobox aircraft: Difference between revisions
Jump to navigation
Jump to search
m (Remove empty lines) |
m (Use documentation template) |
||
Line 1: | Line 1: | ||
{| style="background: white; width: 260px; font-size: 90%; text-align: left; border: 1px silver solid; border-collapse: collapse; margin-left:1em; float: right;" cellpadding="3" border="1" | <includeonly>{| style="background: white; width: 260px; font-size: 90%; text-align: left; border: 1px silver solid; border-collapse: collapse; margin-left:1em; float: right;" cellpadding="3" border="1" | ||
! colspan="2" style="text-align: center; background-color: #0f7a71; color: white; font-size: larger;" | {{{name}}} | ! colspan="2" style="text-align: center; background-color: #0f7a71; color: white; font-size: larger;" | {{{name}}} | ||
|- | |- | ||
Line 61: | Line 61: | ||
{{#if:{{{development|}}}| | {{#if:{{{development|}}}| | ||
{{!}} 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: {{{image}}} | | [[Category:Image requested]]}}</includeonly><noinclude> | {{#if: {{{image}}} | | [[Category:Image requested]]}}</includeonly><noinclude>{{Informative template|1= | ||
== Goal == | |||
This infobox is used to summarize an aircraft's key points. | |||
== Usage == | |||
To use this infobox, simply add the following piece of code at the top of your article. You do not have to fill in all the forms. If one is empty, it won't be shown. Just add as much information as you can find. Check other articles to see how everything works and should look. | To use this infobox, simply add the following piece of code at the top of your article. You do not have to fill in all the forms. If one is empty, it won't be shown. Just add as much information as you can find. Check other articles to see how everything works and should look. | ||
Line 89: | Line 93: | ||
|status-model = | |status-model = | ||
</pre> | </pre> | ||
}} | |||
[[fr:Template:Infobox Aircraft]] | [[fr:Template:Infobox Aircraft]] | ||
[[Category:Infoboxes|Aircraft]] | [[Category:Infoboxes|Aircraft]] | ||
</noinclude> | </noinclude> |
Revision as of 15:51, 25 February 2012
The following template description is not displayed when the template is inserted in an article.
Goal
This infobox is used to summarize an aircraft's key points.
Usage
To use this infobox, simply add the following piece of code at the top of your article. You do not have to fill in all the forms. If one is empty, it won't be shown. Just add as much information as you can find. Check other articles to see how everything works and should look.
{{infobox Aircraft |name = |image = |alt = |type = |livery = |liverydbid = |authors = |status = |version = |fdm = |fgname = |download = |development = }}
Instead of a custom "status" text, you can also use the available official status system. The overall status is auto-calculated and will be displayed. Remove the