Template:Infobox aircraft: Difference between revisions

m
Reverted edits by Gijs (talk) to last revision by Alexis
m (Switch livery link to thumbs)
m (Reverted edits by Gijs (talk) to last revision by Alexis)
Line 10: Line 10:
{{!}} {{!}} {{{type|}}} }}
{{!}} {{!}} {{{type|}}} }}
|-
|-
{{#if:{{{livery|}}}OR{{{liverydbid|}}}|
{{#if:{{{livery|}}}|
{{!}} {{!}}  Liveries
{{!}} {{!}}  Livery
{{!}} {{!}} {{{livery|}}} }}
{{!}} {{!}} {{{livery|}}} }}
{{#if:{{{liverydbid|}}}|
[http://liveries.flightgear.org/aircraft.php?id={{{liverydbid|}}} Livery database] }}
|-
|-
{{#if:{{{authors|}}}|
{{#if:{{{authors|}}}|
Line 34: Line 32:
{{!}} 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}}} |
{{!}} {{!}} {{{status}}} <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 | }} }} }} }} }} | }} }}
{{!}} {{!}} {{#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|}}}|
{{#if:{{{status-fdm|}}}|
{{!}} {{!}}  FDM
{{!}} {{!}}  FDM
{{!}} {{!}} [[File:stars-{{{status-fdm}}}.png]] }}
{{!}} {{!}} {{{status-fdm}}} }}
|-
|-
{{#if:{{{status-systems|}}}|
{{#if:{{{status-systems|}}}|
{{!}} {{!}}  Systems
{{!}} {{!}}  Systems
{{!}} {{!}} [[File:stars-{{{status-systems}}}.png]] }}
{{!}} {{!}} {{{status-systems}}} }}
|-
|-
{{#if:{{{status-cockpit|}}}|
{{#if:{{{status-cockpit|}}}|
{{!}} {{!}}  Cockpit
{{!}} {{!}}  Cockpit
{{!}} {{!}} [[File:stars-{{{status-cockpit}}}.png]] }}
{{!}} {{!}} {{{status-cockpit}}} }}
|-
|-
{{#if:{{{status-model|}}}|
{{#if:{{{status-model|}}}|
{{!}} {{!}}  Model
{{!}} {{!}}  Model
{{!}} {{!}} [[File:stars-{{{status-model}}}.png]] }}
{{!}} {{!}} {{{status-model}}} }}
|-
|-
{{!}} colspan="2" style="text-align: center;" {{!}} <w4g_ratingbar style="stars"/>
{{!}} colspan="2" style="text-align: center;" {{!}} <w4g_ratingbar style="stars"/>
Line 61: Line 59:
{{!}} 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 74: Line 70:
|type =
|type =
|livery =
|livery =
|liverydbid =
|authors =
|authors =
|status =
|status =
Line 91: Line 86:
|status-model =
|status-model =
</pre>
</pre>
</noinclude>


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