Template:Infobox aircraft: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Implement changes to fix Ready Icons)
m (Change Caution to Note)
Line 107: Line 107:
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.
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 <tt>airrefuel</tt>, <tt>bombable</tt>, <tt>dualcontrol</tt>, <tt>rembrandt</tt>, <tt>spacetrip</tt> will add the page to the categories [[:Category:Air refueling ready|Air refueling ready]], [[:Category:Bombable aircraft|Bombable aircraft]], [[:Category:Dual control aircraft|Dual control aircraft]], [[:Category:Rembrandt aircraft|Rembrandt aircraft]] and [[:Category:Aerospace|Aerospace]] respectively.
Using <tt>airrefuel</tt>, <tt>bombable</tt>, <tt>dualcontrol</tt>, <tt>rembrandt</tt>, <tt>spacetrip</tt> will add the page to the categories [[:Category:Air refueling ready|Air refueling ready]], [[:Category:Bombable aircraft|Bombable aircraft]], [[:Category:Dual control aircraft|Dual control aircraft]], [[:Category:Rembrandt aircraft|Rembrandt aircraft]] and [[:Category:Aerospace|Aerospace]] respectively.
{{caution|You can only add 4 ready icons.  This will be changed in the future}}
{{note|You can only add 4 ready icons.  This will be changed in the future}}
<pre>
<pre>
|ready = aerotow/aircraftmonth/airrefuel/bombable/dualcontrol/rembrandt/spacetrip/thermal
|ready = aerotow/aircraftmonth/airrefuel/bombable/dualcontrol/rembrandt/spacetrip/thermal

Revision as of 20:19, 26 October 2014

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

Add the following piece of code at the top of the article. Empty fields will not be shown. Check articles using this template to see how everything works and should look.

{{infobox aircraft
| name           = 
| image          = 
| alt            = 
| image2         = 
| alt2           = 
| type           = 
| liverydbid     = 
| authors        = 
| fdm            = 
| fgname         = 

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

| status         = 

| development    = 
| download       = 
| ready          =  
}}

All parameters are optional.

Basic data

name
Name of the aircraft
image
Screenshot of the aircraft without a File: or Image: prefix
alt
Caption for the screenshot
image2
Additional screenshot without a File: or Image: prefix, preferably a cockpit screenshot
alt2
Caption for the second screenshot
type
Type of aircraft
liverydbid
Livery database id of the aircraft
authors
List of authors of the aircraft
fdm
FDM of the aircraft
fgname
The name of the aircraft to use when launching FlightGear from the command line
development
Link to development repository
download
Download link
ready
Adds icons to display certain capabilities of the aircraft

Aircraft status

Instead of a custom "status" text, you can use the aircraft rating system. The overall status is auto-calculated and will be displayed. If you use the aircraft rating system, remove the |status = line.

See Aircraft rating system for instructions on how to rate your aircraft.

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, dualcontrol, rembrandt, spacetrip will add the page to the categories Air refueling ready, Bombable aircraft, Dual control aircraft, Rembrandt aircraft and Aerospace respectively.

Note  You can only add 4 ready icons. This will be changed in the future
|ready = aerotow/aircraftmonth/airrefuel/bombable/dualcontrol/rembrandt/spacetrip/thermal