Difference between revisions of "Template:Infobox aircraft"

From FlightGear wiki
Jump to: navigation, search
m
m
Line 2: Line 2:
 
! colspan="7" style="text-align: center; background-color: #0f7a71; color: white; font-size: larger;" | {{{name}}}
 
! colspan="7" style="text-align: center; background-color: #0f7a71; color: white; font-size: larger;" | {{{name}}}
 
|-
 
|-
 
+
{{#if:{{{ranking|<noinclude>x</noinclude>}}}|
{{#ifeq: {{{ranking}}} | 1 | Yes | No }}
+
! colspan="7" {{!}} <center>
 
+
{{#ifeq: {{{ranking}}} | 0 | [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] }}
|-
+
{{#ifeq: {{{ranking}}} | 1 | [[Image:Star_yellow.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] }}
 
+
{{#ifeq: {{{ranking}}} | 2 | [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] }}
 
+
{{#ifeq: {{{ranking}}} | 3 | [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] }}
{{#ifeq:{{{ranking}}}|1|
+
{{#ifeq: {{{ranking}}} | 4 | [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_grey.gif]] }}
! colspan="7" {{!}} <center>[[Image:Star_yellow.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]]</center>| }}
+
{{#ifeq: {{{ranking}}} | 5 | [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] }}
|-
+
</center>|}}
{{#ifeq:{{{ranking|2|
+
! colspan="7" {{!}} <center>[[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]]</center>|<noinclude>x</noinclude>}}} |}}
+
 
|-
 
|-
 
{{#if:{{{image|<noinclude>x</noinclude>}}}|
 
{{#if:{{{image|<noinclude>x</noinclude>}}}|

Revision as of 04:59, 30 May 2009

{{{name}}}




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


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 =
|rating =
|image =
|type =
|livery =
|authors =
|status =
|version =
|fdm =
|fgname =
|download =
}}