Vorlage:Information/doc
{{#invoke:Lua banner|main}} {{#invoke:Languages|autolang|base=TemplateBox/i18n |useargs=both |templateData={{#invoke:TemplateBox|templatedata}} |JSONFM={{#invoke:TemplateBox|templatedata|formatting=pretty}} |paramTable={{#invoke:TemplateBox|paramtable}} |usageSample={{#invoke:TemplateBox|usagesample}} |argCount={{#invoke:TemplateBox|argcount}} |desc={{#invoke:TemplateBox|description}}
|templateDataInfo=
|i18n-subpage=Template:Information/i18n |usergroup=all |name=Information }}
TemplateData
<templatedata> { "description": { "en": "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.", "fr": "Ce modèle permet de fournir les informations de base spécifique aux fichiers (description, auteur, source etc.). Pour une aide détaillée, se rendre sur la page Commons:First_steps/Quality_and_description/fr" }, "format": "Vorlage:\n\n", "params": { "description": { "aliases": [ "Description" ], "label": { "en": "Description", "fr": "Description" }, "description": { "en": "Description of the image or media file, including subject and location", "fr": "Description du fichier, notamment le/les sujet(s) exposé(s) et l'emplacement." }, "example": "Photo of a penguin in Antarctica", "type": "string", "default": "{{#invoke:Template translation|renderTranslatedTemplate|template=Template:Description missing|noshift=1|uselang=en}}", "required": true }, "date": { "aliases": [ "Date" ], "label": { "en": "Date of creation", "fr": "Date de création" }, "description": { "en": "When the original source was created", "fr": "Date où le fichier fut créé, par exemple quand la photo a été prise." }, "example": "2001-12-31", "suggested": true, "type": "date" }, "source": { "aliases": [ "Source" ], "label": { "en": "Source", "fr": "Source" }, "description": { "en": "Where the file is from. Your own files should be tagged with ⧼Wm-license-own-work⧽.", "fr": "Endroit d'où provient le fichier. Si vous l'avez vous-même créé (travail personnel), utilisez ⧼Wm-license-own-work⧽." },
"default": "
",
"required": true, "type": "string" }, "author": { "aliases": [ "Author" ], "label": { "en": "Author", "fr": "Auteur" }, "description": { "en": "Original author of the file; where appropriate, use Vorlage:Creator:Name Surname.", "fr": "Personne ou institution à l'origine du fichier." },
"default": "
",
"required": true, "type": "line" }, "permission": { "aliases": [ "Permission" ], "label": { "en": "Permission", "fr": "Permission" }, "description": { "en": "License and other usage limitations and warnings", "fr": "Licence et autres restrictions d'utilisation. Utilisez les modèles appropriés." }, "type": "content" }, "other versions": { "aliases": [ "other_versions" ], "label": { "en": "Other versions", "fr": "Autre version du fichier" }, "description": "Links to files with very similar content or derived files", "type": "wiki-file-name" }, "other fields": { "aliases": [ "other_fields", "Other_fields", "Other fields" ], "label": { "en": "Other fields", "fr": "Autre commentaire" }, "description": "Additional table fields added on the bottom of the template", "type": "wiki-file-name" }, "other fields 1": { "aliases": [ "other_fields_1", "Other_fields_1", "Other fields 1" ], "label": { "en": "Other fields 1" }, "description": "Additional table fields added between Description and Date rows", "type": "wiki-file-name" } }, "paramOrder": [ "description", "date", "source", "author", "permission", "other versions", "other fields", "other fields 1" ] } </templatedata>
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.}}
|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=
}}
The code hereinbefore produces the following information table:
| ⧼wm-license-information-description⧽ |
{{#invoke:Description|description |text_lang = de |text = Astronaut Piers Sellers bei einem Außenbordeinsatz während der Space-Shuttle-Mission STS-121, bei dem er Reparaturtechniken für den Hitzeschutzschild der Raumfähre testet. Der Außenbordeinsatz dauerte 7 Stunden und 11 Minuten. |hover = |ext = |lang_name = |inline = }} {{#invoke:Description|description |text_lang = en |text = Astronaut Piers Sellers during the third spacewalk of STS-121, a demonstration of orbiter heat shield repair techniques. |hover = |ext = |lang_name = |inline = }} {{#invoke:Description|description |text_lang = fr |text = 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. |hover = |ext = |lang_name = |inline = }} {{#invoke:Description|description |text_lang = it |text = L'astronauta 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. |hover = |ext = |lang_name = |inline = }} {{#invoke:Description|description |text_lang = nds |text = 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. |hover = |ext = |lang_name = |inline = }} {{#invoke:Description|description |text_lang = ru |text = Астронавт Пирс Селлерс во время третьего выхода в открытый космос (STS-121) при ремонте орбитального теплового экрана. |hover = |ext = |lang_name = |inline = }} {{#invoke:Description|description |text_lang = fi |text = Astronautti Piers Sellers avaruussukkulalento STS-121:n kolmannella avaruuskävelyllä. Avaruuskävelyn tehtävänä oli kokeilla sukkulan lämpökilven korjaustekniikoita. |hover = |ext = |lang_name = |inline = }} |
| ⧼wm-license-information-date⧽ | |
| ⧼wm-license-information-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 |
| ⧼wm-license-information-author⧽ | NASA, astronaut Michael Edward Fossum |
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:
| ⧼wm-license-information-description⧽ |
Description |
| ⧼wm-license-information-date⧽ | |
| ⧼wm-license-information-source⧽ | ⧼Wm-license-own-work⧽ |
| ⧼wm-license-information-author⧽ | John Doe |
| ⧼wm-license-cc-attribution⧽ (required by the license) | © 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; 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