Template:Infobox aircraft: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
m (add rating)
mNo edit summary
Line 4: Line 4:
{{#if:{{{rating|<noinclude>x</noinclude>}}}|
{{#if:{{{rating|<noinclude>x</noinclude>}}}|
! colspan="7" {{!}} <center>
! colspan="7" {{!}} <center>
{{#if:{{{rating|<noinclude>0</noinclude>}}}|[[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]]}}
{{#if:{{{rating|0}}}|[[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]]}}
{{#if:{{{rating|<noinclude>1</noinclude>}}}|[[Image:Star_yellow.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]]}}
{{#if:{{{rating|<noinclude>x</noinclude>|1}}}|[[Image:Star_yellow.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]]}}
{{#if:{{{rating|<noinclude>2</noinclude>}}}|[[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]]}}
{{#if:{{{rating|<noinclude>x</noinclude>|2}}}|[[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]]}}
{{#if:{{{rating|<noinclude>3</noinclude>}}}|[[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]]}}
{{#if:{{{rating|<noinclude>x</noinclude>|3}}}|[[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_grey.gif]] [[Image:Star_grey.gif]]}}
{{#if:{{{rating|<noinclude>4</noinclude>}}}|[[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_grey.gif]]}}
{{#if:{{{rating|<noinclude>4</noinclude>}}}|[[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_grey.gif]]}}
{{#if:{{{rating|<noinclude>5</noinclude>}}}|[[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]]}}
{{#if:{{{rating|<noinclude>5</noinclude>}}}|[[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]] [[Image:Star_yellow.gif]]}}

Revision as of 16:16, 29 May 2009

{{{name}}}

File:Star grey.gif File:Star grey.gif File:Star grey.gif File:Star grey.gif File:Star grey.gif File:Star yellow.gif File:Star grey.gif File:Star grey.gif File:Star grey.gif File:Star grey.gif File:Star yellow.gif File:Star yellow.gif File:Star grey.gif File:Star grey.gif File:Star grey.gif File:Star yellow.gif File:Star yellow.gif File:Star yellow.gif File:Star grey.gif File:Star grey.gif File:Star yellow.gif File:Star yellow.gif File:Star yellow.gif File:Star yellow.gif File:Star grey.gif File:Star yellow.gif File:Star yellow.gif File:Star yellow.gif File:Star yellow.gif File:Star yellow.gif

[[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 =
}}