Template:Infobox aircraft: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
m (Ready icons)
mNo edit summary
Line 60: Line 60:
{{#if:{{{ready|}}}|
{{#if:{{{ready|}}}|
{{!}} colspan="2" style="text-align: center;" {{!}}
{{!}} colspan="2" style="text-align: center;" {{!}}
{{Ready|/{{#titleparts: {{{ready|}}} | 1 }}}}
{{Ready|{{#titleparts: /{{{ready|}}} | 1 }}}}
{{Ready|/{{#titleparts: {{{ready|}}} | 1 | 2 }}}}
{{Ready|{{#titleparts: /{{{ready|}}} | 1 | 2 }}}}
{{Ready|/{{#titleparts: {{{ready|}}} | 1 | 3 }}}}
{{Ready|{{#titleparts: /{{{ready|}}} | 1 | 3 }}}}
{{Ready|/{{#titleparts: {{{ready|}}} | 1 | 4 }}}}
{{Ready|{{#titleparts: /{{{ready|}}} | 1 | 4 }}}}
{{Ready|/{{#titleparts: {{{ready|}}} | 1 | 5 }}}}
{{Ready|{{#titleparts: /{{{ready|}}} | 1 | 5 }}}}
}}
}}
|-
|-

Revision as of 17:46, 19 March 2012

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

Goal

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

Usage

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		=

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

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