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

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.

The template takes no parameters.

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}} or {{Object location}}.

See also