User:Hhm8/Template:Infobox aircraft image/doc

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

This template is used to provide formatting to the basic information for aircraft related files (file content, license, authorship information etc.).

Usage

{{Infobox aircraft image
 |description =
 |aircraft =
 |aircraftid =
 |aircraftop =
 |aircraftact =
 |imagetype =
 |imageloc =
 |imagedate =
 |imageauthor =
 |imagesource =
 |permission =
 |other_versions =
 |other_fields =
 |nocat =
}}

Example usage

E.g. the source code of the description of File:Finnair Embraer 170 (OH-LEI).jpg:

{{Infobox aircraft image
| description    = 
{{en|1=Finnair Embraer 170 landing to Vilnius airport}}
{{fi|1=Finnairin Embraer 170 laskussa Vilnan lentoasemalle}}
| aircraft       = [[EMBRAER E-Jets|Embraer ERJ 170-100STD]]
| aircraftid     = OH-LEI
| aircraftop     = [[Finnair]]
| aircraftact    = final approach
| imagetype      = photograph
| imageloc       = 
{{en|1=Vilnius Airport (VNO/EYVI), Vilnius, Lithuania}}
{{fi|1=Vilnan lentoasema (VNO/EYVI), Vilna, Liettua}}
| imagedate      = 2007-03-29
| imageauthor    = [[User:arz|arz]]
| imagesource    = {{Own}}
| permission     = 
| other_versions = 
}}

The following information table is displayed by the code above:

Photographer
Location
InfoField
English: Vilnius Airport (VNO/EYVI), Vilnius, Lithuania
Suomi: Vilnan lentoasema (VNO/EYVI), Vilna, Liettua
Aircraft type
InfoField
Embraer ERJ 170-100STD
Operator
InfoField
Finnair
Registration
InfoField
OH-LEI
Activity
InfoField
final approach
Type
InfoField
photograph
Description
English: Finnair Embraer 170 landing to Vilnius airport
Suomi: Finnairin Embraer 170 laskussa Vilnan lentoasemalle
Date 29 March 2007
Source Own work

For many media it is desirable to use a geocoding template in addition to the Information template.

Template parameters

ParameterDescriptionDefaultStatus
descriptiondescription of the image (using multilingual templates like {{en}})emptyrequired
aircraftaircraft typeemptyoptional
aircraftidaircraft registration or other identificationemptyoptional
aircraftopname of the operator (i.e. airline)emptyoptional
aircraftactaircraft activity (e.g. takeoff, landing, ground operations)emptyoptional
imagetypeimage type (e.g. photograph, drawing)emptyoptional
imagelocimage location (e.g. name of the airport)emptyoptional
imagedatedate, preferably using {{Date}}, or at least in ISO 8601 format ("YYYY-MM-DD", or "YYYY-MM", or "YYYY")emptyoptional
imageauthororiginal author of the file; use {{Creator}} where appropriate.emptyrequired
imagesourceinformation about where the file is from (own files can be tagged with {{Own}})emptyrequired
permissionlicense informationSee below.optional
other_versionslinks to files with very similar contentemptyoptional
other_fieldsadditional table fields (in [escaped] wiki syntax)emptyoptional
nocatwhether auto-categorization (adding the image to categories based on the given template parameters) should be suppressedfalseoptional

Additional information

The template is intended to be used in the following namespaces: the File namespace

The template is intended to be used by the following user groups: all users

Localization

To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)

Microformat

This template also emits an hCalendar microformat marking the creation of the image as an event. To do this, it requires the {{Date}} template, and takes the file name as the "summary" property. Optionally, it can include the {{Creator}} as an attendee and an hCard microformat, and use the contents of {{Description}} as the hCalendar's "description" property. Coordinates may be included by use of {{Location}}, {{Location dec}} or {{Object location}}.

See also