Template:File information: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(That is not really required)
(Update to MediaWiki)
Line 1: Line 1:
<includeonly><div class="hproduct">
<includeonly><div class="hproduct">
<table class="toccolours vevent" style="width: 100%;" cellpadding="4">
<table class="toccolours vevent mw-content-{{Dir|{{int:lang}}}}" style="width: 100%; direction: {{Dir|{{int:lang}}}};" cellpadding="4">


<!-- Description -->
<!-- Description -->
<tr style="vertical-align: top">
<tr style="vertical-align: top">
<td id="fileinfotpl_desc" style="background: #efefef; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Description</td>
<td id="fileinfotpl_desc" class="fileinfo-paramfield">{{int:wm-license-information-description}}<span class="summary fn" style="display:none">{{PAGENAME}}</span><!-- required for hCalendar and hProduct microformat; though hMedia would be more appropriate --></td>
<td><span class="description">{{ #if: {{{description|{{{Description|}}} }}} | {{{description|{{{Description|}}} }}} | {{File description missing}} }}</span></td>
<td class="description">
{{ #if: {{{description|{{{Description|}}} }}} | {{{description|{{{Description|}}} }}} | {{Description missing}} }}
</td>
</tr>
</tr>


Line 13: Line 15:
<!-- Date -->
<!-- Date -->
<tr style="vertical-align: top">
<tr style="vertical-align: top">
<td id="fileinfotpl_date" style="background: #efefef; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Date</td>
<td id="fileinfotpl_date" class="fileinfo-paramfield">{{int:wm-license-information-date}}</td>
<td>{{ISOdate|{{{date|{{{Date|}}} }}} }}</td>
<td>{{ISOdate|{{{date|{{{Date|}}} }}} }}</td>
</tr>
</tr>
Line 19: Line 21:
<!-- Source -->
<!-- Source -->
<tr style="vertical-align: top">
<tr style="vertical-align: top">
<td id="fileinfotpl_src" style="background: #efefef; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Source</td>
<td id="fileinfotpl_src" class="fileinfo-paramfield">{{int:wm-license-information-source}}</td>
<td>{{ #if: {{{source|{{{Source|}}} }}} | {{{source|{{{Source|}}} }}} | {{File source missing}} }}</td>
<td>{{ #if: {{{source|{{{Source|}}} }}} | {{Parse source|{{{source|{{{Source|}}} }}} }} | {{Source missing}} }}</td>
</tr>
</tr>


<!-- Author -->
<!-- Author -->
<tr style="vertical-align: top">
<tr style="vertical-align: top">
<td id="fileinfotpl_aut" style="background: #efefef; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Author</td>
<td id="fileinfotpl_aut" class="fileinfo-paramfield">{{int:wm-license-information-author}}</td>
<td>{{ #if: {{{author|{{{Author|}}} }}} | {{{author|{{{Author|}}} }}} | {{File author missing}} }}</td>
<td>{{ #if: {{{author|{{{Author|}}} }}} | {{Information/author processing|author={{{author|{{{Author|}}} }}}}} | {{Author missing}} }}</td>
</tr>
</tr>
<!-- Permission -->
{{#if:{{{permission|{{{Permission|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
<tr style="vertical-align: top">
<td id="fileinfotpl_perm" class="fileinfo-paramfield">{{int:wm-license-information-permission}}<br /><small>([[{{int:wm-license-information-permission-reusing-link}}|{{int:wm-license-information-permission-reusing-text}}]])</small></td>
<td>
{{{permission|{{{Permission|}}} }}}
</td>
</tr>
}}


<!-- Other versions -->
<!-- Other versions -->
Line 36: Line 48:
| #default =  
| #default =  
<tr style="vertical-align: top">
<tr style="vertical-align: top">
<td id="fileinfotpl_ver" style="background: #efefef; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Other versions</td>
<td id="fileinfotpl_ver" class="fileinfo-paramfield">{{int:wm-license-information-other-versions}}</td>
<td>
<td>
{{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}}
{{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}}

Revision as of 19:05, 12 June 2014

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

Please give full information for the date, source and author fields. The date of a photograph must be when the original photograph was created, and not the date of upload, nor the date of any scan or other derivative action. If the photographic image has been modified please give author, date and license for each modification.

Goal

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

Usage

The minimum of required parameters:

{{File information
|Description    = 
|Source         = 
|Date           = 
|Author         = 
}}

or for all fields

=={{int:filedesc}}==
{{File information
|description    = {{en|1=Description}}
|date           = 
|source         = 
|author         = 
|permission     = 
|other_versions = 
|other_fields   = 
}}
Parameter name Description Default value
description Description of the image or other media file. It should provide brief (if possible) but complete information about the image. It should:
  • Identify subject like aircraft, dialogs etc.
  • Identify location (if relevant), like: city, country, airport, etc.
  • In general description should provide information to support all subject categories of the file.
empty required
date Date of creation, when the original source (such as photograph of 3-D scene, digital file, or original 2-D artwork) was created. The preferred format is "2006-01-15" for "15 January 2006". Dates following this format are processed by . The following formats are recognized:
  • YYYY
  • YYYY-MM
  • YYYY-MM-DD
  • YYYY-MM-DD hh:mm
  • YYYY-MM-DD hh:mm:ss
empty required
Source Information about where the file is from (own files should be tagged with {{own}}). Possible content:
  • {{own}} for works uploaded by the author
  • URL where the file was found on the web
empty required
author Original author of the file; where appropriate. This field should not be used to specify the scanner, finder or uploader of the image; they are not (always) the author. empty required
other_versions Links to files with very similar content or derived files; use thumbnails or gallery tags <gallery> </gallery>. empty optional

Example

Example taken from File:Boeing e-3a crosswind landing.jpg

{{File information
|Description = NATO [[E-3 Sentry|Boeing E-3A]] AWACS crosswind landing.
|Source      = http://commons.wikimedia.org/wiki/File:Boeing_E-3A_crosswind_landing.jpg
|Date        = 2007-06
|Author      = Arcturus
}}