Modèle:Information/doc : Différence entre versions
(~simplification de la doc) |
(~simplification de la doc) |
||
Ligne 9 : | Ligne 9 : | ||
* In general description should provide information to support all subject categories of the file. | * In general description should provide information to support all subject categories of the file. | ||
* In case of group pictures or other images where image details might warrant separate description please use [[Commons:Image annotations|image annotations]], but remember that those annotations might not be visible on Wikipedias which did not adopt the gadget to display them.<br />Description '''format''' should use: | * In case of group pictures or other images where image details might warrant separate description please use [[Commons:Image annotations|image annotations]], but remember that those annotations might not be visible on Wikipedias which did not adopt the gadget to display them.<br />Description '''format''' should use: | ||
− | |||
* {{W|Wikilinks}} to Wikipedia articles. This helps with disambiguation and allows shorter format. | * {{W|Wikilinks}} to Wikipedia articles. This helps with disambiguation and allows shorter format. | ||
|1d-td-en = Description of the image or other media file. | |1d-td-en = Description of the image or other media file. |
Version actuelle datée du 18 janvier 2016 à 14:18
This is a documentation subpage for . It contains usage information, categories, interlanguage links and other content that is not part of the original modèle page. |
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 {{Artwork}} 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 (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.
The template automatically sets the following categories: Category:Author matching Creator template, Creator template not used when appropriate
Sommaire
Usage
<poem>{{Information
|date = |source = |description = |author = |permission = |other versions =
}}</poem>
⧼templatedata-doc-params⧽
Parameter | Description | Default | Status | |
---|---|---|---|---|
date Date | Date of creation | Date of creation, when the original source (such as photograph of 3-D scene, digital file, or original 2-D artwork) was created. Possible formats:
| empty | required |
other fields 1 Other fields 1 other_fields_1 Other_fields_1 | Other fields | Additional table fields added between Description and Date rows. You have to use {{Information field}} or a specialized template such as {{Credit line}} and {{Image generation}} to populate this field. | empty | optional |
source Source | Source | Information about where the file is from (own files should be tagged with {{own}}); if the file is based on other files then the original files should also be uploaded (if possible) and referenced. Possible content:
| {{Source missing}} | required |
description Description | Description | Description of the image or other media file. Content of the description should provide brief (if possible) but complete information about the image. It should:
| {{Description missing}} | required |
author Author | Author | Original author of the file; where appropriate, use {{Creator:Name Surname}}. If the work is derived from or depicts works by someone other than the author, the author of the original work should also be mentioned. For example, for a photograph of a sculpture, make a mention of both the sculptor and the photographer. This field should not be used to specify the scanner, finder or uploader of the image; they are not the author. | {{Author missing}} | required |
permission Permission | Permission | License and other usage limitations and warnings. Due to the size of many license templates they are often placed in a separate section below {{information}} template. In such a case please leave this field blank. The license is related primarily to the file itself. If need to state a license of the depicted (or other source) work, include it additionally with appropriate comment. If needed, use relevant FoP templates. You can use {{Artwork}} instead of {{Information}} for simple copies of artworks. | empty | optional |
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}} or a specialized template such as {{Credit line}} and {{Image generation}} to populate this field. | empty | optional |
other versions Other versions other_versions Other_versions | Other versions | Links to files with very similar content or derived files; use thumbnails or Gallery tags <gallery> </gallery>.
{{F}} enables to show also small icons of these files. | empty | optional |
</templatedata>
Template data | |
---|---|
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard. Existing template documentation Newly created template documentation and imports Wikipedia's help about TemplateData • Commons-specific information | |
Attribution (imposé par la licence) | |
Attribution (imposé par la licence) | |
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
Localization
This template is localized by utilizing MediaWiki namespace messages. These can be translated at translatewiki.net (current translations).
Example usage
Example for photograph
For example the source code of the description of photograph File:Piers Sellers spacewalk.jpg is:
{{Information |Description=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. |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 |Date=2006-07-12 |Author=NASA, astronaut [[w:Michael E. Fossum|Michael Edward Fossum]] |Permission= |other versions= }}
The code hereinbefore produces the following information table:
Description |
L'astronaute 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. |
Date | |
Source | 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 |
Auteur | NASA, astronaut Michael Edward Fossum |
Example other_fields
Example using the other fields parameter to display a credit line:
{{Information | Description = Description | Source = {{own}} | Author = John Doe | Date = 2008-06-09 | Other fields = {{Credit line |Author = © John Doe | Other = Wikimedia Commons |License = CC-BY-3.0 & GFDL}} }}
will produce:
Description |
Description |
Date | |
Source | Travail personnel |
Auteur | John Doe |
Attribution (imposé par la licence) |
© John Doe / Wikimedia Commons / |
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
- {{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