Template:Information

From PlanetNepal

Jump to: navigation, search
Ambox warning orange.png Note: This template is used on a lot of pages. In order not to put too much load on the servers, edits should be kept to a bare minimum. Please discuss proposed changes on the talk page first.
  • Editing a template causes all pages that use the template to be re-rendered. If the template is used often, this can put a lot of load on the servers since it fills up the job queue.
  • Keep in mind that templates that are used on file description pages also show up on other wikis.</span>

English | +/−

Description
Date
Source

Template:Source missing

Author

Template:Author missing

Permission
(Reusing this file)

See below.

Template:Information/lang

[edit] [purge] Template-info.png Template documentation



(this part of the documentation is only available in some languages)

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. Please use template {{Painting}} if the image is of a painting or other two dimensional artwork.

This template is used to provide formatting to the basic information for files (file content, license, authorship information etc.). This template is automatically inserted by the Javascript-aided upload tool too.

For a full usage description of the template, see Commons:First steps/Quality and description.

For representations of two-dimensional artworks please consider using {{Painting}} instead of {{Information}}.

Contents

Usage

{{Information
|description=
|date=
|source=
|author=
|permission=
|other_versions=
|other_fields=
}}

(this part of the documentation is only available in some languages)

Example usage

Example for photograph

For example the source code of the description of photograph File:Piers Sellers spacewalk.jpg is:

{{Information
| description    = {{en|Astronaut [[w:Piers Sellers|Piers Sellers]] during the third spacewalk of STS-121, a demonstration of orbiter heat shield repair techniques.}}
                   {{ne|अंतरिक्ष यात्री [[:fr:Piers Sellers|Piers Sellers]] STS-121 को तेस्रो स्पचेवाल्क गर्दा, गर्मि ढाल मरम्मत को टेक्निक प्रदर्शन}}
| Date           = 2006-07-12
| Source         = [http://www.nasa.gov/news/highlights/index.html NASA News & Events] - http://www.nasa.gov/externalflash/121_gallery/hi-resjpgs/14.jpg, from http://www.nasa.gov/externalflash/121_gallery/index_noaccess.html
| Author         = NASA
| Permission     = {{PD-USGov-NASA}}
| other_versions = 
}}

The code above produces the following information table:


Description
English: Astronaut Piers Sellers during the third spacewalk of STS-121, a demonstration of orbiter heat shield repair techniques.
English: अंतरिक्ष यात्री Piers Sellers STS-121 को तेस्रो स्पचेवाल्क गर्दा, गर्मि ढाल मरम्मत को टेक्निक प्रदर्शन
Date

12 July 2006

Source

Template:Parse source

Author

NASA

Permission
(Reusing this file)

Template:PD-USGov-NASA

Example other_fields

Example using the other_fields parameter to display a credit line :

{{Information
| Description  = description
| Source       = {{Own work}}
| Author       = John Doe
| Date         = 2008-06-09
| other_fields = {{Credit line |Author = © John Doe | Other = Wikimedia Commons |License = CC-BY-3.0 & GDFL}}
}}

will produce:


Description

description

Date

9 June 2008

Source

Template:Parse source

Author

John Doe

Permission
(Reusing this file)

See below.

Attribution
(required by the license)
© John Doe / Wikimedia Commons / CC-BY-3.0 & GDFL

Recommendations

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

Parameters

Parameter name Description (this part of the documentation is only available in some languages) Default value required or optional?

description description of the image (or other file) (using multilingual templates like {{ en | }}) empty required
date date of creation by one of the next ways:
  • using {{date}} or {{other date}}
  • in ISO 8601 format ("YYYY-MM-DD", or "YYYY-MM", or "YYYY", e.g. "2006-01-15" for "15 January 2006")

If needed, the date have to be furnished with some specifying text (e. g. „date of taken“ or „date of creation“, „date of the first publication“, „date of modification“ etc.). If you use such text specification or more dates, the ISO format is unusable and the date template is needed.

empty required
source information about where the file is from (own files should be tagged with {{own}}); if the file is derivated work, the original work(s) should be designated empty optional
author original author of the file; where appropriate, use {{Creator:Name Surname}} with {{Creator}}. If the work is derivated, the author of the original (e. g. depicted or retouched) work should be mentioned as well. empty required
permission license information, eventually other usage limitations and warnings blank field presented as „see-below“ text optional
other_versions links to files with very similar content or derivated files; use<gallery></gallery>. empty optional
other_fields additional table fields (in [escaped] wiki syntax) empty optional

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:

Localization

+/-

This template is localized through {{Autotranslate}}. The layout of the template can be found under Template:Information/layout.

To add your language to the list of languages supported by this template, please copy the code of Template:Information/en (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang from en (or whatever language you are translating) to the language code of your language.

<inputbox> type=create preload=Template:Information/en default=Template:Information/<Lang> </inputbox>

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 {{Photographer}} (soon also {{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}}.

Personal tools