Template:Infobox aircraft: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Shuffle lines, special "status" subsection) |
||
Line 18: | Line 18: | ||
{{!}} {{!}} {{{authors|}}} }} | {{!}} {{!}} {{{authors|}}} }} | ||
|- | |- | ||
{{!}} {{!}} Status | {{#if:{{{version|}}}| | ||
{{!}} {{!}} Version | |||
{{!}} {{!}} {{{version}}} }} | |||
|- | |||
{{#if:{{{fdm|}}}| | |||
{{!}} {{!}} [[FDM]] | |||
{{!}} {{!}} {{{fdm|}}} }} | |||
|- | |||
{{#if:{{{fgname|}}}| | |||
{{!}} {{!}} --aircraft | |||
{{!}} style="font-family: 'Courier New'" {{!}} {{{fgname}}} }} | |||
|- | |||
! colspan="6" style="text-align: center; background-color: #0f7a71; color: white; font-size: larger;" {{!}} Status | |||
|- | |||
{{#if:{{{status|}}}| | {{#if:{{{status|}}}| | ||
{{!}} {{!}} {{{status}}} <includeonly>| | {{!}} colspan="2" style="text-align: center;" {{!}} {{{status}}} <includeonly>| | ||
{{!}} {{!}} {{#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> }} | {{!}} colspan="2" style="text-align: center;" {{!}} {{#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|}}}| | ||
Line 38: | Line 51: | ||
{{!}} {{!}} Model | {{!}} {{!}} Model | ||
{{!}} {{!}} {{{status-model}}} }} | {{!}} {{!}} {{{status-model}}} }} | ||
|- | |- | ||
{{!}} colspan="2" style="text-align: center;" {{!}} <w4g_ratingbar style="stars"/> | {{!}} colspan="2" style="text-align: center;" {{!}} <w4g_ratingbar style="stars"/> |
Revision as of 11:46, 19 July 2011
{{{name}}} | |||||
---|---|---|---|---|---|
Status | |||||
<w4g_ratingbar style="stars"/> |
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 = |authors = |status = |version = |fdm = |fgname = |download = |development = }}