Template:Infobox aircraft: Difference between revisions

m
no edit summary
m (Reverted edits by Gijs (talk) to last revision by Alexis)
mNo edit summary
Line 11: Line 11:
|-
|-
{{#if:{{{livery|}}}|
{{#if:{{{livery|}}}|
{{!}} {{!}}  Livery
{{!}} {{!}}  Liveries
{{!}} {{!}} {{{livery|}}} }}
{{!}} {{!}} {{{livery|}}} }}
{{#if:{{{liverydbid|}}}|
[http://liveries.flightgear.org/aircraft.php?id={{{liverydbid|}}}&display=2 Livery database] }}
|-
|-
{{#if:{{{authors|}}}|
{{#if:{{{authors|}}}|
Line 32: Line 34:
{{!}} style="background-color: #0f7a71; color: white; font-size: larger;" {{!}} Status
{{!}} style="background-color: #0f7a71; color: white; font-size: larger;" {{!}} Status
{{#if:{{{status|}}}|
{{#if:{{{status|}}}|
{{!}} {{!}} {{{status}}} <includeonly>|
{{!}} {{!}} {{{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 | }} }} }} }} }}</includeonly> }}
{{!}} {{!}} {{#if: {{{status-fdm|}}} | {{#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|}}}|
{{#if:{{{status-fdm|}}}|
{{!}} {{!}}  FDM
{{!}} {{!}}  FDM
{{!}} {{!}} {{{status-fdm}}} }}
{{!}} {{!}} [[File:stars-{{{status-fdm}}}.png]] }}
|-
|-
{{#if:{{{status-systems|}}}|
{{#if:{{{status-systems|}}}|
{{!}} {{!}}  Systems
{{!}} {{!}}  Systems
{{!}} {{!}} {{{status-systems}}} }}
{{!}} {{!}} [[File:stars-{{{status-systems}}}.png]] }}
|-
|-
{{#if:{{{status-cockpit|}}}|
{{#if:{{{status-cockpit|}}}|
{{!}} {{!}}  Cockpit
{{!}} {{!}}  Cockpit
{{!}} {{!}} {{{status-cockpit}}} }}
{{!}} {{!}} [[File:stars-{{{status-cockpit}}}.png]] }}
|-
|-
{{#if:{{{status-model|}}}|
{{#if:{{{status-model|}}}|
{{!}} {{!}}  Model
{{!}} {{!}}  Model
{{!}} {{!}} {{{status-model}}} }}
{{!}} {{!}} [[File:stars-{{{status-model}}}.png]] }}
|-
|-
{{!}} colspan="2" style="text-align: center;" {{!}} <w4g_ratingbar style="stars"/>
{{!}} colspan="2" style="text-align: center;" {{!}} <w4g_ratingbar style="stars"/>
Line 59: Line 61:
{{!}} colspan="2" style="text-align: center;" {{!}} '''[{{{development}}} Development]'''  }}
{{!}} colspan="2" style="text-align: center;" {{!}} '''[{{{development}}} Development]'''  }}
|}
|}
<includeonly>{{#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>
<noinclude>
Line 70: Line 74:
|type =
|type =
|livery =
|livery =
|liverydbid =
|authors =
|authors =
|status =
|status =
Line 86: Line 91:
|status-model =
|status-model =
</pre>
</pre>
[[fr:Template:Infobox Aircraft]]


</noinclude>
</noinclude>
[[fr:Template:Infobox Aircraft]]