Template:Infobox aircraft: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
m (Seperate rating categories)
m (fix typo)
Line 46: Line 46:
! colspan="6" {{!}} <center>{{#ifeq: {{{ratingexterior}}} | 0 | [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] }}{{#ifeq: {{{ratingexterior}}} | 1 | [[Image:Star_yellow.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] }}{{#ifeq: {{{ratingexterior}}} | 2 | [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] }}{{#ifeq: {{{ratingexterior}}} | 3 | [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] }}{{#ifeq: {{{ratingexterior}}} | 4 | [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_grey.gif]] }}{{#ifeq: {{{ratingexterior}}} | 5 | [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] }}</center>|}}
! colspan="6" {{!}} <center>{{#ifeq: {{{ratingexterior}}} | 0 | [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] }}{{#ifeq: {{{ratingexterior}}} | 1 | [[Image:Star_yellow.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] }}{{#ifeq: {{{ratingexterior}}} | 2 | [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] }}{{#ifeq: {{{ratingexterior}}} | 3 | [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] }}{{#ifeq: {{{ratingexterior}}} | 4 | [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_grey.gif]] }}{{#ifeq: {{{ratingexterior}}} | 5 | [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] }}</center>|}}
|-
|-
{{#if:{{{ratingdcockpit|<noinclude>x</noinclude>}}}|
{{#if:{{{ratingcockpit|<noinclude>x</noinclude>}}}|
{{!}} colspan="2"  {{!}}  Cockpit
{{!}} colspan="2"  {{!}}  Cockpit
! colspan="6" {{!}} <center>{{#ifeq: {{{ratingcockpit}}} | 0 | [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] }}{{#ifeq: {{{ratingcockpit}}} | 1 | [[Image:Star_yellow.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] }}{{#ifeq: {{{ratingcockpit}}} | 2 | [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] }}{{#ifeq: {{{ratingcockpit}}} | 3 | [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] }}{{#ifeq: {{{ratingcockpit}}} | 4 | [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_grey.gif]] }}{{#ifeq: {{{ratingcockpit}}} | 5 | [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] }}</center>|}}
! colspan="6" {{!}} <center>{{#ifeq: {{{ratingcockpit}}} | 0 | [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] }}{{#ifeq: {{{ratingcockpit}}} | 1 | [[Image:Star_yellow.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] }}{{#ifeq: {{{ratingcockpit}}} | 2 | [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] }}{{#ifeq: {{{ratingcockpit}}} | 3 | [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] }}{{#ifeq: {{{ratingcockpit}}} | 4 | [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_grey.gif]] }}{{#ifeq: {{{ratingcockpit}}} | 5 | [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] }}</center>|}}

Revision as of 17:01, 30 May 2009

{{{name}}}
[[Image:|270px|]]
Type
Livery
Author(s)
Status {{{status}}}
Version {{{version}}}
FDM
--aircraft {{{fgname}}}
Ratings
FDM
Exterior
Cockpit
Sounds


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 =
|type =
|livery =
|authors =
|status =
|version =
|fdm =
|fgname =
|download =
|ratingfdm =
|ratingexterior =
|ratingcockpit =
|ratingsounds =
}}