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 "... ready" images to the infobox.)
Line 58: Line 58:
{{!}} {{!}} [[File:stars-{{{status-model}}}.png]] }}
{{!}} {{!}} [[File:stars-{{{status-model}}}.png]] }}
{{!}} colspan="2" style="text-align: center;" {{!}}
{{!}} colspan="2" style="text-align: center;" {{!}}
{{#if:{{{aerotow|}}}| [[File:Aerotowready.png]] }}
[[File:{{#titleparts: {{{ready|}}} | 1 }}.png]]
{{#if:{{{bombable|}}}| [[File:BombableReady.png ]] }}
[[File:{{#titleparts: {{{ready|}}} | 1 | 2 }}.png]]
{{#if:{{{dualcontrol|}}}| [[File:Dualcontrolready2.png]] }}
[[File:{{#titleparts: {{{ready|}}} | 1 | 3 }}.png]]
{{#if:{{{spacetrip|}}}| [[File:Spacetripready.png ]] }}
[[File:{{#titleparts: {{{ready|}}} | 1 | 4 }}.png]]
{{#if:{{{thermal|}}}| [[File:Thermalready.png]] }}
{{!}} colspan="2" style="text-align: center;" {{!}} <w4g_ratingbar style="stars"/>
{{!}} colspan="2" style="text-align: center;" {{!}} <w4g_ratingbar style="stars"/>

Revision as of 12:28, 19 March 2012

The following template description is not displayed when the template is inserted in an article.


This infobox is used to summarize an aircraft's key points.


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 		=
|liverydbid		=
|authors 		=
|status 		=
|version 		=
|fdm 			=
|fgname 		=
|download 		=
|development 		=

Optionally a second image can be added via:

|image2			=
|alt2			=

Instead of a custom "status" text, you can also use the available official status system. The overall status is auto-calculated and will be displayed. Remove the |status = line if you use the official system and add the following lines, each with a rating on a scale of 0 to 5. See Formalizing Aircraft Status for instructions on how to rate your aircraft.

|status-fdm		=
|status-systems		=
|status-cockpit		=
|status-model		=