Bahaimedia
Bahaimedia
Menu
About
Contact
Help
Random Image
Recent changes
In other projects
Tools
What links here
Related changes
Special pages
Printable version
Permanent link
Page information
Template
Discussion
View history
Talk
Contributions
Create account
Log in
Navigation
About
Contact
Help
Random Image
Recent changes
In other projects
Get involved
Join the project
Media statistics
Latest Files
Upload Files
Tools
What links here
Related changes
Special pages
Printable version
Permanent link
Page information

Template:Information/doc

< Template:Information
Jump to:navigation, search

Template:TemplateBox

Contents

  • 1 Example usage
    • 1.1 Example for photograph
    • 1.2 Example other_fields
    • 1.3 Recommendations
  • 2 Microformat
  • 3 See also

Example usage[edit]

Example for photograph[edit]

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

Template:Pre2

The code hereinbefore produces the following information table:

DescriptionInformation/doc
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.

Template:It Template:Nds Template:Ru Template:Fi

Date 12 July 2006
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
Author NASA, astronaut Michael Edward Fossum

Example other_fields[edit]

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:

Template:Credit line
DescriptionInformation/doc

Description

Date 9 June 2008
Source Own work
Author John Doe

Recommendations[edit]

For many media it is desirable to use a geocoding template in addition to the Information template.

Microformat[edit]

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[edit]

  • 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
Retrieved from "https://bahai.media/index.php?title=Template:Information/doc&oldid=45192"
Category:
  • Infobox templates: based on Information template
This page was last edited on 26 March 2019, at 00:55.
Content is available under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License unless otherwise noted.
Privacy policy
About Bahaimedia
Disclaimers
Powered by MediaWiki