Template:Information/doc
Uses Lua: |
سیاساس | این الگو از الگوسبک استفاده میکند: |
__EXPECTED_UNCONNECTED_PAGE__
en
The date of a photograph must be when the original photograph was created, and not the date of upload, nor the date of scanning or digitizing. If the photographic image has been modified please give author, date and license for each modification. Please use template {{Artwork}} or {{Art photo}} if the image is of a painting, sculpture or other artwork and {{Book}} if the image is a part of a complete set of page scans of a book (or in the case of DjVu and PDF, one file may comprise all the pages).
This template is used to provide formatting to the basic information for files (description, source, author, etc.), and it is automatically inserted by the upload tools. All the field names are not case sensitive. The template is able to access information in Structured Data on Commons (SDC), so if proper SDC data is used some or even all the fields can be ommited.
For a full usage description of the template, see Commons:First steps/Quality and description.
The template automatically sets the following categories: Category:Author matching Creator template, Creator template not used when appropriate
Usage
<poem>{{Information
|description = |date =
}}</poem>
Template parameters
پارامتر | توضیحات | پیشفرض | وضعیت | |
---|---|---|---|---|
description Description | Description | Description of the image or other media file. The content of the description should provide brief (if possible) but complete information about the image. It should:
The description format should use:
When the name of the file is enough descriptive that it could be used in the file description without alteration, the short notation {{F|F}} can be used (with or without additional text) e.g. | SDC's captions followed by {{Description missing}} | ضروری |
date Date | Date of creation, when the original source (such as photograph of 3-D scene, digital file, or original 2-D artwork, or SVG drawing) was created. Possible formats:
| empty | اختیاری | |
other fields Other fields other_fields Other_fields | Other fields | Additional table fields added on the bottom of the template. You have to use {{Information field}}/{{InFi}} or a specialized template (e.g. {{Credit line}}, {{Image generation}}, {{Taken with ...}}, {{Created with code}}, {{Tincture}}, {{Hdbg}}, {{Tbc}}, {{Flickr Tags}}) to populate this field. | empty | اختیاری |
other fields 1 Other fields 1 other_fields_1 Other_fields_1 | Other fields 1 | Additional table fields added between Description and Date rows. You have to use {{Information field}}/{{InFi}} or a specialized template (e.g. {{Credit line}}, {{Image generation}}, {{Taken with ...}}, {{Created with code}}, {{Tincture}}, {{Hdbg}}, {{Tbc}}, {{Flickr Tags}}) to populate this field. | empty | اختیاری |
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
Relies on:
Template:ISOdate, Template:Parse source, Module:TemplatePar
References: <references/>
Localization
This template is localized by utilizing MediaWiki namespace messages. These can be translated at translatewiki.net (current translations).
TemplateData
This template is used to provide formatting to the basic information for files (description, source, author, etc.). For a full usage description of the template, see Commons:First steps/Quality and description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Description | description Description | Description of the image or media file, including subject and location
| String | required |
Date of creation | date Date | When the original source was created
| Date | suggested |
Source | source Source | Where the file is from. Your own files should be tagged with {{own}}.
| String | required |
Author | author Author | Original author of the file; where appropriate, use {{Creator:Name Surname}}.
| Line | required |
Permission | permission Permission | License and other usage limitations and warnings | Content | suggested |
Other versions | other versions other_versions Other versions Other_versions | Links to files with very similar content or derived files | File | optional |
Other fields | other fields other_fields Other_fields Other fields | Additional table fields added on the bottom of the template | File | optional |
Other fields 1 | other fields 1 other_fields_1 Other_fields_1 Other fields 1 | Additional table fields added between Description and Date rows | File | optional |
lang | lang Lang | no description | Unknown | deprecated |
demo | demo Demo | no description | Unknown | deprecated |
Example usage
Example for photograph
For example the source code of the description of photograph File:Piers Sellers spacewalk.jpg is:
{{Information | Description = {{de|Astronaut [[:de:Piers John Sellers|Piers Sellers]] bei einem Außenbordeinsatz während der Space-Shuttle-Mission [[:de:STS-121|STS-121]], bei dem er Reparaturtechniken für den Hitzeschutzschild der Raumfähre testet. Der Außenbordeinsatz dauerte 7 Stunden und 11 Minuten.}} {{en|Astronaut [[w:Piers Sellers|Piers Sellers]] during the third spacewalk of STS-121, a demonstration of orbiter heat shield repair techniques.}} {{fr|L'astronaute [[:fr:Piers Sellers|Piers Sellers]] durant sa troisième sortie dans l'espace au cours du vol STS-121, une démonstration des techniques de réparation du bouclier thermique.}} {{it|L'astronauta [[:it:Piers Sellers|]] durante la terza camminata nello spazio nel corso della missione STS-121 mentre esegue un test di riparazione delle mattonelle rinforzate carbonio-carbonio dello Shuttle.}} {{nds|De Astronaut [[Piers Sellers]] de drüdde Kehr, dat he mit’n Ruumantog in’n apen Weltruum togang weer. Sellers wiest Reparaturtechniken för den Hittschild von’n Orbiter.}} {{ru|Астронавт [[:ru:Селлерс, Пирс Джон|Пирс Селлерс]] во время третьего выхода в открытый космос (STS-121) при ремонте орбитального теплового экрана.}} {{fi|Astronautti [[:fi:Piers Sellers|Piers Sellers]] avaruussukkulalento STS-121:n kolmannella avaruuskävelyllä. Avaruuskävelyn tehtävänä oli kokeilla sukkulan lämpökilven korjaustekniikoita.}} {{ja|STS-121の3回目の船外活動中の宇宙飛行士[[w:ja:ピアーズ・セラーズ|ピアーズ・セラーズ]]、オービターの熱シールド修理技術のデモンストレーション。}} | 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, astronaut [[w:Michael E. Fossum|Michael Edward Fossum]] | Permission = | Other versions = }}
en
Lua error in Module:DateI18n at line 114: attempt to index local 'tab' (a boolean value).
Example other_fields
Example using the other fields parameter to display a credit line:
{{Information | Description = Description | Date = 2008-06-09 | Source = {{own}} | Author = John Doe | Other fields = {{Credit line |Author = © John Doe | Other = Wikimedia Commons |License = CC-BY-3.0 & GFDL}} }}
will produce:
Lua error in Module:DateI18n at line 114: attempt to index local 'tab' (a boolean value).
Recommendations
For many media it is desirable to use a geocoding template in addition to the Information template.
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 Commons:Machine-readable data.
See also
- Commons:Infobox templates; for a more complete overview of provided templates see the Category:Infobox templates
- {{Artwork}} for specialized infobox template used for artworks
- {{Book}} for specialized infobox template used for book page scans
- {{Information field}} and {{Credit line}}
- {{Translation table}} and {{Mld}} for category descriptions
- {{Photograph}} for photographs held by museums, archives, and other GLAM institutions
- {{Art photo}} for photographs of artworks with more fields for photographer metadata
- {{Map}} for maps
- {{Musical work}} for music files