Difference between revisions of "Template:Infobox aircraft"

From FlightGear wiki
Jump to navigation Jump to search
m (Livery database link, fix image2 size)
Line 3: Line 3:
|image    = {{#if:{{{image|}}}|[[Image:{{{image|}}}{{!}}270px{{!}}{{{alt{{!}}}}]]}}
|image    = {{#if:{{{image|}}}|[[Image:{{{image|}}}{{!}}270px{{!}}{{{alt{{!}}}}]]}}
|caption  = {{{alt}}}
|caption  = {{{alt}}}
|image2  = {{#if:{{{image2|}}}|[[Image:{{{image2|}}}{{!}}270px{!}{{{alt2{{!}}}}]]}}
|image2  = {{#if:{{{image2|}}}|[[Image:{{{image2|}}}{{!}}270px{{!}}{{{alt2{{!}}}}]]}}
|caption2 = {{{alt2}}}
|caption2 = {{{alt2}}}
|label1  = Type
|label1  = Type
Line 23: Line 23:
|label9  = Model
|label9  = Model
|data9    = {{#if:{{{status-model|}}}|[[File:stars-{{{status-model}}}.png]]}}
|data9    = {{#if:{{{status-model|}}}|[[File:stars-{{{status-model}}}.png]]}}
|data10  = {{#if:{{{development|}}}|'''[{{{development}}} Development repository]'''}}
|data10  = {{#if:{{{development|}}}|[{{{development}}} Development repository]}}
|data11  = {{#if:{{{download|}}}|'''[{{{download}}} Download]'''}}
|data11  = {{#if:{{{download|}}}|[{{{download}}} Download]}}
|data12  = {{#if:{{{liverydbid|}}}|[http://liveries.flightgear.org/aircraft.php?id={{{liverydbid|}}}&display=2 Livery database]}}

Revision as of 13:40, 3 June 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 		=

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