Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Difference between revisions of "Template:Infobox aircraft"

From FlightGear wiki
Jump to: navigation, search
m (add rating)
m
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 11: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 =
}}