Difference between revisions of "Template:Infobox aircraft"

From FlightGear wiki
Jump to: navigation, search
(Show "Image requested" when there is no image specified.)
Line 1: Line 1:
|title    = {{{name|}}}
|title    = {{{name|}}}
|image    = {{#if:{{{image|}}}|[[Image:{{{image|}}}{{!}}270px{{!}}{{{alt{{!}}}}]]}}
|image    = {{#if:{{{image|}}}|[[Image:{{{image|}}}{{!}}270px{{!}}{{{alt{{!}}}}]]|[[Special:UploadWizard|Image requested]]}}
|caption  = {{{alt|}}}
|caption  = {{{alt|}}}
|image2  = {{#if:{{{image2|}}}|[[Image:{{{image2|}}}{{!}}270px{{!}}{{{alt2{{!}}}}]]}}
|image2  = {{#if:{{{image2|}}}|[[Image:{{{image2|}}}{{!}}270px{{!}}{{{alt2{{!}}}}]]}}

Revision as of 11:51, 19 August 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 			=
|liverydbid		=
|authors 		=
|status 		=
|fdm 			=
|fgname 		=
|download 		=
|development 		=

Adding a second image

Optionally a second image can be added via:

|image2			=
|alt2			=

Aircraft status

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		=

Ready icons

Several icons are available to indicate certain capabilities of the aircraft. You can add up to five icons to one aircraft. Separate them with slashes.

Using airrefuel, bombable, spacetrip, dualcontrol will add the page to the categories Air refueling ready, Bombable aircraft, Aerospace and Dual control aircraft respectively.

|ready			= aerotow/aircraftmonth/airrefuel/bombable/spacetrip/thermal/dualcontrol