Шаблон:Information/doc
Шаблон:TemplateBox
Содержание |
Example usage
Example for photograph
For example the source code of the description of photograph File:Piers Sellers spacewalk.jpg is:
Шаблон:Pre2
The code hereinbefore produces the following information table:
<wm-license-information-description> |
[[:de: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.|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.]] [[:en:Astronaut Piers Sellers during the third spacewalk of STS-121, a demonstration of orbiter heat shield repair techniques.|Astronaut Piers Sellers during the third spacewalk of STS-121, a demonstration of orbiter heat shield repair techniques.]] Шаблон:Fr Шаблон:It Шаблон:Nds Шаблон:Ru Шаблон:Fi |
<wm-license-information-date> | Шаблон:ISOdate |
<wm-license-information-source> | Шаблон:Parse source |
<wm-license-information-author> | Шаблон:Information/author processing |
<wm-license-information-permission> ([[<wm-license-information-permission-reusing-link>|<wm-license-information-permission-reusing-text>]]) |
Шаблон:PD-USGov-NASA |
{{#invoke:TemplatePar|check
|opt= description= Description= date= Date= source= Source= author= Author= permission= Permission= other_versions= Other_versions= other versions= Other versions= other_fields= Other_fields= other fields= Other fields= other_fields_1= Other_fields_1= other fields 1= Other fields 1= demo= 1= |cat= Pages using Information template with incorrect parameter |template= Template:Information }}
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:
<wm-license-information-description> |
Description |
<wm-license-information-date> | Шаблон:ISOdate |
<wm-license-information-source> | Шаблон:Parse source |
<wm-license-information-author> | Шаблон:Information/author processing |
{{#invoke:TemplatePar|check
|opt= description= Description= date= Date= source= Source= author= Author= permission= Permission= other_versions= Other_versions= other versions= Other versions= other_fields= Other_fields= other fields= Other fields= other_fields_1= Other_fields_1= other fields 1= Other fields 1= demo= 1= |cat= Pages using Information template with incorrect parameter |template= Template:Information }}
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}}, {{Location dec}} or {{Object location}}.
See also Commons:Machine-readable data.
See also
- Commons:Infoboxes
- {{Artwork}} for specialized infobox template used for artworks
- {{Book}} for specialized infobox template used for book page scans
- {{Information field}} and {{Credit line}}