Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Information: Difference between revisions

Template page
Deploy Lua version of the template
layout?
Line 4: Line 4:
  | pageid = M{{PAGEID}}
  | pageid = M{{PAGEID}}
  | demo  = {{{demo|<noinclude>1</noinclude>}}}
  | demo  = {{{demo|<noinclude>1</noinclude>}}}
}}<!--
}}<!--=== Parameter maintenance ===============================
=== Parameter maintenance ===============================
-->{{#invoke:TemplatePar|check
-->{{#invoke:TemplatePar|check
|opt=  
|opt=  

Revision as of 23:13, 15 November 2019

Description
Source
Author
Other versions
Template documentation[ view · edit · history · purge ]
This documentation is transcluded from Template:Information/doc.

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.

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

Usage

{{Information
 |description    =
 |date           =
 |source         =
 |author         =
 |permission     =
 |other versions =
}}

Geocoding templates
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, takes the file name as the "summary" property, and can use the contents of {{Description}} as the hCalendar's "description" property. Coordinates may be included by use of {{Location}} or {{Object location}}.

Template parameters

ParameterDescriptionDefaultStatus
description
Description
DescriptionDescription of the image or other media file

The content of the description should provide brief (if possible) but complete information about the file's contents. It should identify:

  • subjects like notable people (use the {{Depicted person}} template), animals, objects, cars, weapons, etc. Image annotations may help with images such as group pictures where different details might warrant separate descriptions, but those annotations might not be visible on Wikipedias which did not adopt the gadget to display them.
  • if applicable and relevant, the location (city, country, building name or address, etc.) by text.
    Note that location coordinates are not directly included as separate field in the "Information" template. Template {{Location}} (for camera location and heading, preferred) and/or {{Object location}} (for the depicted objects) should be used. Template {{Location}} should be placed directly above or below {{Information}}.
    Note: some contributors prefer to include location template(s) into the "Description" field of {{Information}} template in order to group all location information together—this solution is fully serviceable but objections are in point of graphic design not ideal adjusted for such use. See this discussion and also this one.

In general, the description should provide enough information to support the file's categorization (excluding technical categories like those about file type or size).

The description format should use language templates like {{En}} or {{De}} to specify the language of each description. It may use internal or interwiki links to Wikipedia articles, Commons galleries or Commons categories (which helps disambiguating and keeping concise).

When the name of the file is descriptive enough to be used directly as its description, the short notation {{F|F}} can be used (with or without additional text, e.g. |description={{en|{{F|F}} }}).
{{Description missing}}required
date
Date
Date of creationDate 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:
  • ISO 8601 is the preferred format, e.g. "2006-01-15" for "15 January 2006". Dates following this format are processed by {{ISOdate}}. The following formats are recognized:
    • YYYY
    • YYYY-MM
    • YYYY-MM-DD
    • YYYY-MM-DD hh:mm[1]
    • YYYY-MM-DD hh:mm:ss[1]
  • Use {{Other date}} for less precise dates, like: circa…, after…, spring of…, between…, etc.
  • It is possible to use {{Date}} template. For example "date=2008-06-09" is equivalent to "date={{date|2008|6|9}}", but ISO 8601 format is preferred.
    In many cases multiple dates and/or extra explanations are required:
  • For photos, we have special templates {{Taken on}} and {{Taken in}} to indicate when the photograph was taken and to distinguish it from the creation date of the depicted work, or from the creation date of the derivative work (modified or cropped photo, collage etc.). Those templates use ISO format (e. g. {{Taken on|YYYY-MM-DD hh:mm}} or {{Taken in|YYYY}}).
  • If the date is missing, but the digital file has EXIF data, then the {{According to EXIF data}} template can be added (usually done by a bot). The templates use the ISO format (e. g. {{According to EXIF data|YYYY-MM-DD}}).
  • If the creation date of a file moved from other project is unknown, {{Original upload date}} can be used — this template should be also used (in addition) if the first publication date (outside Commons) is relevant in relation to copyright. This template also uses the ISO format.
  • If the creation date of a file (not moved from other project) is unknown, {{Upload date}} can be used. This template also uses the ISO format.
  • If the file is a modified or derivative work, then both the date of the original (source) work and the date of the last version (derivative work) should be stated with appropriate comments or notes.
  • If the date has to be furnished with some specifying text, not covered by one of the above templates, (e. g. "date of creation", "date of the first publication", "date of modification" etc.) then dates have to be specified using {{ISOdate}} (i.e. {{ISOdate|2009-08-18}} (date of creation)) or {{Date}} (i.e. {{date|2008|6|9}} (date of modification)) templates.
  • If the file is not a simple copy of the depicted work, the date or year of the creation of the depicted work should be stated rather in the "description" field.
emptysuggested
source
Source
SourceInformation about where the file is from; if the file is based on other files then the original files should also be uploaded (if possible) and referenced. Possible content:
  • {{Own}} for works uploaded by the author
  • {{Own based}} for works based on other files already on Commons. The parameters of this template specify the names of the files. Example: {{own based|name of first file.jpg|name of second file.svg}}
  • {{Own using}} for works created using other files already on Commons. The parameters of this template specify the names of the files. Example: {{own using|name of first file.jpg|name of second file.svg}}
  • {{Self-photographed}} for photos created by the author
  • {{Private correspondence}} for previously unpublished works uploaded at the behest of a third party who wishes to remain confidential (such works must be connected with a Volunteer Response Team ticket and the {{subst:PP}} message box should be added to the file after an email with a permission statement has been sent to VRTS)
  • URL where the file was found on the web, i.e. its url or its web address
  • When it is derived from other files, {{Derived from}} with a list of those files
  • Book reference (using {{Scan}} and {{Cite book}} templates) for images scanned from a book. If image was scanned by the uploader that should be mentioned too: {{Own scan}}
  • {{Transferred from}} for works transferred from Wikipedia
{{Source missing}}required
author
Author
AuthorOriginal author[3] of the file. 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; for vectorizing, use the template {{AutVec}}. This field should not be used to specify the uploader of a file who merely scanned a preexisting image or found the file, since neither uploading nor scanning make that person the author. Possible content:
  • {{Original uploader}} To indicate the original author who originally uploaded the work to a different Wikimedia site.
{{Author missing}}required
permission
Permission
PermissionLicense 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, e.g. the == {{int:license-header}} ==. 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}} or {{Art photo}} instead of {{Information}} for simple copies of artworks.
emptyoptional
other versions
Other versions
other_versions
Other_versions
Other versionsLinks to files with very similar content or derived files; use thumbnails with {{F}} or gallery tags, e.g. {{G}}. If appropriate, {{Derivative versions}} is useful. See also: Other versions templates.emptyoptional
other fields
Other fields
other_fields
Other_fields
Other fieldsAdditional table fields added on the bottom of the template. You have to use {{Information field}}/{{InFi}} (see #Example_other_fields) or a specialized template (e.g. {{Credit line}}, {{Image generation}}, {{Taken with ...}}, {{Created with code}}, {{Tincture}}, {{Hdbg}}, {{Tbc}}, {{Flickr Tags}},{{International label}}) to populate this field.emptyoptional
other fields 1
Other fields 1
other_fields_1
Other_fields_1
Other fields 1emptyoptional
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

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
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.


Wikipedia's help about TemplateDataCommons-specific information

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

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Authorauthor Author

Original author of the file; link the author's name where appropriate.

Default
{{Author missing}}
Linerequired
Date of creationdate Date

When the original source was created.

Linesuggested
Descriptiondescription Description

Description of the image or media file, including its subject (and location, when applicable and relevant).

Default
{{Description missing}}
Stringrequired
Other fieldsother fields Other fields other_fields Other_fields

Additional table fields added on the bottom of the template.

Stringoptional
Other fields 1other fields 1 Other fields 1 other_fields_1 Other_fields_1

Additional table fields added between Description and Date rows.

Stringoptional
Other versionsother versions Other versions other_versions Other_versions

Links to files with very similar content or derived files.

Stringoptional
Permissionpermission Permission

License and other usage limitations and warnings.

Stringoptional
Sourcesource Source

Where the file is from. Your own files should be tagged with {{own}}.

Default
{{Source missing}}
Linerequired

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

See also

Localization

This template is localized by utilizing MediaWiki namespace messages. These can be translated at translatewiki.net (current translations).

Examples

photograph

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

{{Information
 | Description =
{{de|Astronaut [[:w:de:Piers John Sellers|Piers Sellers]] bei einem Außenbordeinsatz während der Space-Shuttle-Mission [[:w: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 [[:w: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 [[:w:it:Piers Sellers|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|Астронавт [[:w:ru:Селлерс, Пирс Джон|Пирс Селлерс]] во время третьего выхода в открытый космос (STS-121) при ремонте орбитального теплового экрана.}}
{{fi|Astronautti [[:w: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 =
}}

The code hereinbefore produces the following information table:

Description
Deutsch: 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.
English: Astronaut Piers Sellers during the third spacewalk of STS-121, a demonstration of orbiter heat shield repair techniques.
Français: 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.
Italiano: 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.
Plattdüütsch: 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.
Русский: Астронавт Пирс Селлерс во время третьего выхода в открытый космос (STS-121) при ремонте орбитального теплового экрана.
Suomi: Astronautti Piers Sellers avaruussukkulalento STS-121:n kolmannella avaruuskävelyllä. Avaruuskävelyn tehtävänä oli kokeilla sukkulan lämpökilven korjaustekniikoita.
日本語: STS-121の3回目の船外活動中の宇宙飛行士ピアーズ・セラーズ、オービターの熱シールド修理技術のデモンストレーション。
Date
Source NASA News & Eventshttp://www.nasa.gov/externalflash/121_gallery/hi-resjpgs/14.jpg, from http://www.nasa.gov/externalflash/121_gallery/index_noaccess.html
Author NASA, astronaut Michael Edward Fossum


Example other_fields

Example using the other fields parameter to display a credit line:

{{Information
 | Description = Description
 | Date = 2018-06-09
 | Source = {{own}}
 | Author = John Doe
 | Other fields = {{Credit line |Author = © John Doe | Other = Wikimedia Commons |License = CC-BY-4.0 & GFDL}}
}}

will produce:

Description Description
Date
Source Own work
Author John Doe
Attribution
(required by the license)
InfoField
© John Doe / Wikimedia Commons / 
© John Doe / Wikimedia Commons
  1. 1.0 1.1 Date should be a date, preferred without any timestamping
  2. 2.0 2.1 Datum sollte ein Datum sein, vorzugsweise ohne Zeitstempel
  3. Author should be a link, but without the link to a user talk space
  4. Autor sollte ein Link sein, aber ohne den Link zu einer Benutzer-Diskussionsseite
Cookies help us deliver our services. By using our services, you agree to our use of cookies.