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
(Undo revision 77382 by Red Leader (talk))
m (Fix white space)
Line 44: Line 44:
 
{{Ready|{{#titleparts: /{{{ready|}}} | 1 | 12 }}}}
 
{{Ready|{{#titleparts: /{{{ready|}}} | 1 | 12 }}}}
 
}}
 
}}
</includeonly>
+
</includeonly><noinclude>
 
+
<noinclude>
+
 
{{Informative template|1=
 
{{Informative template|1=
 
__NOTOC__
 
__NOTOC__

Revision as of 14:35, 27 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. They can be in any order. Using airrefuel, bombable, dualcontrol, rembrandt, spacetrip will add the page to the categories Air refueling ready, Bombable aircraft, Dual control aircraft, Rembrandt aircraft and Spacecraft respectively. There full list is:

|ready = aerotow/aircraftmonth/airrefuel/bombable/dualcontrol/rembrandt/spacetrip/thermal/canvas/checklist/routemanager/tutorials